Web problemo Created 19 years ago2005-04-14 06:24:50 UTC by 96a2107 96a2107

Created 19 years ago2005-04-14 06:24:50 UTC by 96a2107 96a2107

Posted 19 years ago2005-04-14 06:24:50 UTC Post #103876
What i need to do is click on an image which is a link to a bigger image, when the bigger image pops up i want some text to be displayed next too it, is there a simple way of doing this, anyone?
Posted 19 years ago2005-04-14 08:50:44 UTC Post #103894
Tons of ways. Simplest is to have the thumbnail jus' open a popup of an actual page instead of linking to the image. Otherwise, obviously, by PHP, ASP, whatever.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-04-14 13:32:32 UTC Post #103960
JavaScript is the answer. I used to use a script for this ages ago, but lost it. You CAN make it open an image in a new window by putting the target argument as _blank in the href tag, but you get the navigation bar, and the bookmark bar and anything appearing like that. With JavaScript you can remove toolbars from a window. Just google for javascript tutorials and learn it yerself.
m0p m0pIllogical.
Posted 19 years ago2005-04-14 13:49:44 UTC Post #103966
Yeah, well, obviously Javascript's the way.

Mr. 96, would you like to rephrase the question?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-04-17 09:21:12 UTC Post #104462
well i know how to open in a blank window, the problem is i need to display text in that new window corralating to the picture, and its a really bad idea having a new page for every picture. It would be so handy if there was a native function like the 'alt' on pictures, but displays the 'alt' text below the picture when it links to the actuall size image.

To make what im doing more understandable... err:

ohh look a little thumbnail i wonder what the caption for that is click aha look at that a picture with a caption below it, fasinating!
Posted 19 years ago2005-04-17 09:26:25 UTC Post #104464
I'd say have it all done in nice tables in PHP or ASP, and have the page generated with the right image and text.
Seventh-Monkey Seventh-MonkeyPretty nifty
You must be logged in to post a response.