G
Graham Duddridge
Hope this is the right forum for this question - I found it by chance -
plus I'm a novice with HTML:
I have created an HTML page using the StarOffice editor containing
thumbnails where each thumbnail is a link to a new page.
As the page is one frame in a three frame layout (the framed page layout
was not created in SO) I have manually edited the SO editor output to
include the following code (in the A HREF tag, to push the new link into
the current frame): TARGET="mainpage", mainpage being the name of the
frame. No problem. All links worked fine.
However, one of the thumbnails is not a link but instead is a pop-up
window using a simple JavaScript (stolen from a book - function written
in HEAD and called from BODY). Now, the following events occur:
1. Click on each of the link thumbnails: New link opens in current
window. Correct.
2. Click on thumbnail without link: Pop-up window opens. Correct.
3. Go back on click on any of the thumbnails in step 1: New link
opens in new window. Not correct!
If anyone has seen / heard something similar and there's a simple HTML
rule I've broken somewhere I'd be very interested to know.
Regards
Graham
plus I'm a novice with HTML:
I have created an HTML page using the StarOffice editor containing
thumbnails where each thumbnail is a link to a new page.
As the page is one frame in a three frame layout (the framed page layout
was not created in SO) I have manually edited the SO editor output to
include the following code (in the A HREF tag, to push the new link into
the current frame): TARGET="mainpage", mainpage being the name of the
frame. No problem. All links worked fine.
However, one of the thumbnails is not a link but instead is a pop-up
window using a simple JavaScript (stolen from a book - function written
in HEAD and called from BODY). Now, the following events occur:
1. Click on each of the link thumbnails: New link opens in current
window. Correct.
2. Click on thumbnail without link: Pop-up window opens. Correct.
3. Go back on click on any of the thumbnails in step 1: New link
opens in new window. Not correct!
If anyone has seen / heard something similar and there's a simple HTML
rule I've broken somewhere I'd be very interested to know.
Regards
Graham