|
| |
|
|
wiss22
Posts: 10 From: irwin, pa USA Status: offline
|
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
Posts: 70 From: None Status: offline
|
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
Posts: 10 From: irwin, pa USA Status: offline
|
RE: pop-up windows - 4/9/2001 16:40:00
thank you for your help and timely response!!
|
|
|
|
wiss22
Posts: 10 From: irwin, pa USA Status: offline
|
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
Posts: 7533 From: North Carolina, USA Status: offline
|
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
Posts: 10 From: irwin, pa USA Status: offline
|
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
Posts: 10 From: irwin, pa USA Status: offline
|
RE: pop-up windows - 4/11/2001 14:35:00
anyone? anyone? bueller? bueller?thanks, carrie
|
|
|
|
AnaMorph0s|s
Posts: 70 From: None Status: offline
|
RE: pop-up windows - 4/15/2001 20:46:00
Which browser do you use? Netscape wont support the Java Script I gave you.------------------
|
|
|
|
wiss22
Posts: 10 From: irwin, pa USA Status: offline
|
RE: pop-up windows - 4/16/2001 20:23:00
thank you shirley!
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|