Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New Window

Status
Not open for further replies.

terrydoughty

Technical User
Aug 31, 2000
145
GB
I have set up web pages with thumbnails of pictures which when clicked display the original full size image in a new window. This works on my lap top (Windows 98) but not on my desk top PC (Windows 95).
Is this due to Windows 95 or is it a problem with my desk top.
Both use IE4 orIE5
[sig][/sig]
 
Are you using the "new window" command ?
EX: <a href=&quot;your URL/images/pic1.jpg&quot; target=&quot;new window&quot;>
Also: File/tools/internet options/advanced tab/Reuse windows for launching shortcuts. Might have an impact on your desktop's behavior. I haven't tested this however.
Hope this helps. [sig]<p>RaTTuS<br>I cna ytpe 300 wrods pre mniuet.[/sig]
 
I have tried changing the targe to &quot;New Window&quot; but to no effect. I assume it must be a problem on the desk top PC.
Could someone check it on Windows 95 and let me know? [sig][/sig]
 
Actually, the target should be listed as target=&quot;_blank&quot; this will force a new window.

You can further specify the size of the new window as shown below:

<script language=&quot;JavaScript&quot;>
<!--
function openWin( windowURL, windowName, windowFeatures ) {
return window.open( windowURL, windowName, windowFeatures ) ;
}
// -->
</script>
This script should be placed between your head tags - on the link it would look like below:

<a href=&quot;JavaScript: newWindow = openWin( 'pagename.html', '1', 'width=610,height=680,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=0' ); newWindow.focus()&quot;><img src=&quot;your picture.gif or jpg&quot; width=107 height=14 alt=&quot;&quot; border=&quot;0&quot;></a>

in the anchor tag, the pagename.html would be the name of your html page with the larger image in it (i.e., picture1.html) and the <img src=&quot;your picture.gif or jpg> would be changed with your picture name. The remainder of the code in the anchor tag sizes the popup window.

Hope this helps [sig][/sig]
 
I have tried using target as &quot;_blank&quot; and also &quot;new window&quot; - in both cases nothing happens on clicking on the image on my desk top PC (Windows 95) but brings up a new window on my lap top (Windows 98)

I am becoming more convinced that there must be a problem with my desk top

Can someone check it out on a PC with Windows 95 and let me know if the enlarged image comes up in a new window.

Thanks to those who have answered so far. [sig][/sig]
 
Seems to work fine on my system, must be something with your desktop system. Have you tried it on other computers like at the local public library. They don't tend to run the most up to date systems and you should be able to test it there. Everything looks fine on my end. [sig][/sig]
 
Thanks for trying it out. It must be my desk top PC that is at fault. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top