| | |
|
|
|
Keeping a pop-up window on top that is a .jpg link |
| message from Sven N. on 16 Jul 2004 |
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
|
| Murray *TMM* replied to Sven N. on 16 Jul 2004 |
You can't if you are just opening an image.
|
| programmergeek replied to Sven N. on 16 Jul 2004 |
Can't do it you could use the onblur object and set focus but it is not reliable and not cross browser compatable.
|
| Murray *TMM* replied to programmergeek on 16 Jul 2004 |
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.
|
|
Archived message: Keeping a pop-up window on top that is a .jpg link (Macromedia Dreamweaver Web Design)