HighDots Forums  

Keeping a pop-up window on top that is a .jpg link

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Keeping a pop-up window on top that is a .jpg link in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sven N.
 
Posts: n/a

Default Keeping a pop-up window on top that is a .jpg link - 07-16-2004 , 11:58 AM






This question regards a site where the client will update the content using
Contibute, so I am trying to keep things simple for them.

I have three thumbnails on the page with links to a pop-up windows using the
Open Browser Window Behaviour. The pop-up windows are only links to larger size
images, so the URL is something like "../images/bigger-image.jpg", NOT
"../images/bigger-image.html". That way they don't have to create a new pop-up
page for each image they add.

The problem now is how do I pass on something that focuses the pop-up window,
so that it stays on top. Remember, I can't put anything like:

<!--
if (window.focus) {
self.focus();
}
//-->

into the HTML of the pop-up window, because I am not linking to a HTML
document, but just an image.

Any suggestions?

Thanks a lot

- Sven


Reply With Quote
  #2  
Old   
programmergeek
 
Posts: n/a

Default Re: Keeping a pop-up window on top that is a .jpg link - 07-16-2004 , 12:02 PM






Can't do it you could use the onblur object and set focus but it is not reliable and not cross browser compatable.

Reply With Quote
  #3  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Keeping a pop-up window on top that is a .jpg link - 07-16-2004 , 12:14 PM



That's wrong. The link is opening a jpg image. There would be no place to
put code when it's just a linked image.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"programmergeek" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Can't do it you could use the onblur object and set focus but it is not
reliable and not cross browser compatable.




Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Keeping a pop-up window on top that is a .jpg link - 07-16-2004 , 12:15 PM



You can't if you are just opening an image.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Sven N." <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
This question regards a site where the client will update the content
using
Contibute, so I am trying to keep things simple for them.

I have three thumbnails on the page with links to a pop-up windows using
the
Open Browser Window Behaviour. The pop-up windows are only links to larger
size
images, so the URL is something like "../images/bigger-image.jpg", NOT
"../images/bigger-image.html". That way they don't have to create a new
pop-up
page for each image they add.

The problem now is how do I pass on something that focuses the pop-up
window,
so that it stays on top. Remember, I can't put anything like:

!--
if (window.focus) {
self.focus();
}
//--

into the HTML of the pop-up window, because I am not linking to a HTML
document, but just an image.

Any suggestions?

Thanks a lot

- Sven




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.