View Single Post
Old 01-07-2005, 01:38 AM   #7 (permalink)
arch13
Loves my girl in thongs
 
arch13's Avatar
 
Location: North of Mexico, South of Canada
Quote:
Originally Posted by theFez
just build your table and set it so you have a single image in the left side and your thumbnails in the right. so you have your tnails in the right side.

in the left side you can do something like this

<img src='<?php if($_GET['id']){echo "/path/to/images/".$_GET['id'].".jpg";}
else{ echo '/path/to/images/default.jpg';} ?>'>

by the way, javascript has nothing to do with java except the name. javascript, ecmascript, jscript are all pretty similar and generally used for client side scripting.
Ok, I understand how to pull say ID3 from the url and have the right table display the correct picture.
So if the url was http://www.arch13.com/index.php?id=g...al&id3=picture, then picture.jpg would be displayed.
What I'm having trouble with is how to change the thumbnail script to give the clicked on image an id3=picturename url. Also, Is is possible to make that "id" auto-incramenting so that "idx" was id4 or id5 if needed?

Sorry if i sound like an idiot, but I don't understand how to make the variable be passed from the thumbnail script in the left side table to the display script in the right table
The actual address is http://www.arch13.com/index.php?id=g...d2=test/popgal
I take it that Java is way harder than php isn't it

Thank you for your patience with me theFez
__________________
Seen on an employer evaluation:

"The wheel is turning but the hamsters dead"
____________________________
Is arch13 really a porn diety ? find out after the film at 11.
-Nanofever
arch13 is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54