Click to See Complete Forum and Search --> : window.open...again!


Taliv
12-10-2003, 11:01 AM
I have:
<a href="#" onClick="window.open('map_large.jpg','',config='height=600,width=576,toolbar=no,menubar=no,status=no,scrollba rs=no,resizable=no'); return false;"> <img src="works/mag_glass.gif" border="0" alt="Click here to enlarge map" WIDTH="18" HEIGHT="24"> </a>

Simple question: How to I "tell" it what to display in the title for the window that opens? Ot remove the title bar completely?

TheBearMay
12-10-2003, 11:39 AM
Try this:

<a href="#" onClick="newWin=window.open('map_large. jpg','',config='height=600,width=576,toolbar=no,
menubar=no,status=no,scrollbars=no,resizable=no');newWin.document.title='Your Title Here'; return false;">
<img src="works/mag_glass.gif" border="0" alt="Click here to enlarge map" WIDTH="18" HEIGHT="24"> </a>