Thread: Simple picture loading script
Results 1 to 4 of 4
simple dbase script Forum: DatabasesReplies: 3
Is it possible? loading two different script from one <img ... >?? Forum: CGI Perl ForumReplies: 0
script that prevent user copy picture(also works in xp)? Forum: HTML ForumReplies: 7
04-06-2004, 04:02 PM #1
Simple picture loading script?
I'm looking to accomplish a simple picture loading script. Should be pretty easy, and any help is appreciated, considering I don't even know where to start.
I'm looking to have say 5 links on a page. Just as well, there is 1 picture spot on the page.
These 5 links, when any of them are clicked, load the corresponding picture into the picture box.
Make sense? Nothing is preloaded, just loaded when one of the links is clicked, and then the picture loads into the picture spot.
All help is deeply appreciated!
Thanks in advance!
04-06-2004, 04:12 PM #2
make an image with a name, you can then access it like this -
04-06-2004, 05:25 PM #3
Working great, now I actually came up with a new dilema...
What if I want to link these images to the various higher resolution counterparts?
For instance, image 1, image 2, image 3...
When loaded, the correct HREF tag loads with the image, when any are clicked they go to their correct high res counterpart.
Any more help is greatly appreciated! Thanks!
04-07-2004, 05:38 PM #4
Ah. We will have to take a completely different approach.
Just got in from work, and its already time for bed :S so leave it with me, I'll cook some code up tommorow.