| View previous topic :: View next topic |
| Author |
Message |
rtd2004
Joined: 30 Jul 2004
Posts: 1
|
| Posted: Fri Jul 30, 2004 10:43 am Window on top |
|
|
I have a table of thumbnailed pictures, when you click on one I have a seperate window to display the larger pic. The problem I'm having is after the first thumb clicked loads any other thumb clicked loads but the window that display the larger pic goes under the main thumbnail page. I don't know what the heck the deal is.
Here goes the code, some of it, for the thumbnail page.
<tr>
<td><a href="images/big/gh/ghpic01.jpg" target="pics" onClick="window.open('picshow.html', 'pics', config='height=350, width=350, scrollbars=1')"><img src="images/small/ghpic01sm.jpg" border="0"></a></td>
<td><a href="images/big/gh/ghpic02.jpg" target="pics" onClick="window.open('picshow.html', 'pics', config='height=350, width=350, scrollbars=1')"><img src="images/small/ghpic02sm.jpg" border="0"></a></td>
<td><a href="images/big/gh/ghpic03.jpg" target="pics" onClick="window.open('picshow.html', 'pics', config='height=350, width=350, scrollbars=1')"><img src="images/small/ghpic03sm.jpg" border="0"></a></td>
<td><a href="images/big/gh/ghpic04.jpg" target="pics" onClick="window.open('picshow.html', 'pics', config='height=350, width=350, scrollbars=1')"><img src="images/small/ghpic04sm.jpg" border="0"></a></td>
</tr> |
|
|
mjpliv
Joined: 11 May 2004
Posts: 402
Location: Nova Scotia
|
| Posted: Fri Jul 30, 2004 12:25 pm |
|
|
That is a windows function, not an HTML function. As soon as you click the thumbnail page it becomes the "active" window. The image page is already open so it stays in the background. Someone may know of an "onload" script that will switch the image window to be the "active" one everytime it loads a new image.
Another option would be to use inline frames. Have a look through this page -
http://www.htmlcodetutorial.com/frames/_IFRAME.html |
|
|
| |
|
|
|