helplease
- Started
- Last post
- 11 Responses
- optic_vacum
hey all,
i'm wondering on something.i want to make a long horizontal table (say 1 row and 5 columns) of all thumbnails. and would like it if you click the thumbnails, that it would replace the image in the table with a larger image but still stay on the same page with all the other thumbs.
any ideas.......does that even make sense?
- Duck0
trigger a javascript function that sets the width to a larger size.
document.getElementById("image... = 300px;
let me see if I can build an example page...
- Duck0
ok built one, unfortunatly our firewall is forbiding FTP so I can't upload it...
*looks for a way out.
- optic_vacum0
an example page would be very helpfull and very much appreciated.
hmmmm could you email it to me? or just post the code and i could rebuild it?
thanks so much for this by the way.
- Duck0
Well it worked exactly like I said... If your still interested I'll email you the source.
- mitsu0
here, just call my function in your images onclick event
(ie. onclick='fnAdjustSize(this, 15)')
with 15 being the standard width of the image in pixels.
function fnAdjustSize(obj, W)
{
obj.width=(obj.width==W)?obj.wid...
}
- Duck0
check your mail optic.
mitsu has it as well just in a different way.
- mitsu0
here's an example: view source
- optic_vacum0
thanks so much you guys, this helps so much, was exactly what i was looking for
thanks again
- IloveQBN0
hey optic, nice site. Do you still live in halifax?? killer snow storm there isn't it?
Snowing hard in Toronto, but stopped about an hour ago! Thank god
- optic_vacum0
same to you piper, actually i moved a couple of months ago (should change that....)
i moved to the rockies, i'm living in banff at the moment.
- IloveQBN0
banff even nicer!