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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Window Question unsolved? 1

Status
Not open for further replies.

caffreygirl

Technical User
Jan 28, 2003
16
GB
I've been following these window questions with interest.... The site I am creating has links from thumbnail images to blow up versions... Linked to _blank... but I don't seem to get how to get my _blank page to stay to the screen size I'm setting.... Want to be able to see main page behind with only just the right amount of room for the _blank.

Please enlighten me and thankyou for your help
 
dont set to blank

for you link make it like so

<a href=&quot;javascript:;&quot;>click here for zoom</a>

then select your text &quot;click here for zoom&quot; and add the popup window behavior [soapbox]
sleep is good
 
Sorry for being so stupid but don't understand where I insert this code is it in the target box??? Sorry new to this:mad:

I am creating new pages for each image blow up and each image is 283px 369px it's just I want the link to open in new window that it just size of blow up image

Thanx in advance
 
highlight click here to zoom after you put javascript:; in the link and then go to behaviors>open browser window

then just pick your page to open and the dimensions [soapbox]
sleep is good
 
Caffreygirl,

Try using this code:

<a href=&quot;newWindowURL&quot;
onClick=&quot;window.open('filename.html','nameofWindow','width=800,height=600,menubar,status,scrollbars,resizable,toolbar,location=no');return false&quot;>this will open new window</a>

substitute the name of file with your own filename and substitute the width and height numbers with what you want.
Hope this works for you.
 
that will browse your site to the page as well as open a browser use javascript:; for the href= [soapbox]
sleep is good
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top