0
How do you make a link where...
Started by
clarky3429
, Jan 24 2006 10:55 PM
10 replies to this topic
#1
Posted 24 January 2006 - 10:55 PM
you click the link and the picture (in this case a graph) will open in another window, but the window will only be the size of the picture. how is this done??
tx
tx
#2
Posted 24 January 2006 - 11:03 PM
Javascript or no?
#3
Posted 24 January 2006 - 11:16 PM
i suppose it doesnt matter if it is, but it would be better if it was just HTML or DHTML for something that simple
#4
Posted 24 January 2006 - 11:21 PM
well I happened to whip this up I hope it works
<A HREF="http://www.x64bit.net" TARGET="_new">Link name/picture</A>
BUT on the page your getting to load, i.e. the picture place this code in
<body onLoad="window.resizeTo(500,400)">
of course the only problem is, you are going to need to know the picture size... I hope this helps O.o
<A HREF="http://www.x64bit.net" TARGET="_new">Link name/picture</A>
BUT on the page your getting to load, i.e. the picture place this code in
<body onLoad="window.resizeTo(500,400)">
of course the only problem is, you are going to need to know the picture size... I hope this helps O.o
#5
Posted 24 January 2006 - 11:32 PM
thanks for that ill try it out
#6
Posted 24 January 2006 - 11:36 PM
No problem glad I could help!
#7
Posted 25 January 2006 - 07:18 AM
that worked fine, thankyou
#8
Posted 25 January 2006 - 01:43 PM
Shadow's da man!
#9
Posted 25 January 2006 - 03:29 PM
ha w00t I'm good
#10
Posted 25 January 2006 - 08:33 PM
lol, i made it on my front page under the news in the scrolling writing, it brings up a graph of todays weather and updates itself every 10 minutes (my friend did the code PHP)
#11
Posted 26 January 2006 - 05:44 PM
cool deal. I whipped that up at work and taught my boss HTML at the same time LOL
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users