Resizing Popup window to fit an image, PLZ HELP!!! |
Resizing Popup window to fit an image, PLZ HELP!!! |
Mar 11 2005, 04:42 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 57 Joined: Feb 2004 Member No: 4,752 |
I have been trying to find a script to resize a popup window to fit an image. I have an iFrame layout so I need the code to allow people to access my links inside the popup window.
I have found a few website wit tutorials but they are VERY confusing!! If any of u know the script i would appricaite your help. Or if you know a link to a non-confusing tutorial site on this I would love it. THANK |
|
|
|
![]() |
Mar 14 2005, 09:37 AM
Post
#2
|
|
![]() Alisha ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,341 Joined: Mar 2004 Member No: 9,880 |
k got another code
should work this time CODE <script TYPE="text/javascript">
<!-- function popup(mylink, windowname) { if (! window.focus)return true; var href; if (typeof(mylink) == 'string') href=mylink; else href=mylink.href; window.open(href, windowname, 'width=400,height=200,scrollbars=yes'); return false; } //--> </SCRIPT> <A HREF="URL OF SITE" onClick="return popup(this, 'notes')">IMG OR TEXT</A> |
|
|
|
Dreamy_illusions Resizing Popup window to fit an image Mar 11 2005, 04:42 PM
shawty_redd <a href='javascript:newWindow(... Mar 13 2005, 04:05 PM
Dreamy_illusions THANKZ a mil for the code...but it doesnt work
wh... Mar 13 2005, 06:16 PM
[2]Nekked er... you didnt do a very good job of explaining t... Mar 22 2005, 10:30 PM![]() ![]() |