pop-up windows (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


wiss22 -> pop-up windows (4/9/2001 16:20:00)

hi all,

how would i resize the window of a hyperlink? i'm not sure i phrased that right, so i'll 'splain...

i have a page of employee names and i would like to link their pictures (to open in a new window). i can get that far, but the window that opens is as big (or so) as the original. i was just wondering if it was at all possible to resize that window to fit just the picture?

thanks!
carrie





AnaMorph0s|s -> RE: pop-up windows (4/9/2001 16:33:00)

Yep. Funny thing, I just did that operation on my website!

Anyway, I used JavaScript. Insert this in your HTML, and just modify it to your preferance:

<p><a href="javascript:" onclick="window.open('YourPic.jpg','Yourpic','height=270,width=190')"><font face="Arial" size="1">Link Text</font></a></p>





wiss22 -> RE: pop-up windows (4/9/2001 16:40:00)

thank you for your help and timely response!!




wiss22 -> RE: pop-up windows (4/10/2001 23:20:00)

okay, i thought i followed it correctly, but it's not working, and i'm not familiar enough with javascript to know why...

http://www.norvelt.com/heating_emp.htm

if anyone can point out my error, i'd appreciate it.

thanks,
carrie

**note - i only tried it with the name "rich golkosky" -

[This message has been edited by wiss22 (edited 04-10-2001).]





Gil -> RE: pop-up windows (4/10/2001 23:40:00)

You added -> target="_blank"

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Is there another word for synonym?"





wiss22 -> RE: pop-up windows (4/10/2001 13:49:00)

okay, i see. thanks. actually, it was there from when i originally linked the photo. but now that's gone, and i fixed two other minor problems i aw, but it's still not working. at least now the window that pops up is the right size, but then a full-sized browser window is also popping up with javascript: in the address window.

i'm still not sure what i'm doing wrong... i'm getting there, though!

thanks, gil.





wiss22 -> RE: pop-up windows (4/11/2001 14:35:00)

anyone? anyone? bueller? bueller?

thanks,
carrie





AnaMorph0s|s -> RE: pop-up windows (4/15/2001 20:46:00)

Which browser do you use? Netscape wont support the Java Script I gave you.

------------------





Shirley -> RE: pop-up windows (4/15/2001 23:45:00)

http://javascript.internet.com/generators/popup-window.html




wiss22 -> RE: pop-up windows (4/16/2001 20:23:00)

thank you shirley!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625