Quote:
Originally Posted by theFez
sure, you could just modify the anchor tags from calling a jscript popup to calling $PHP_SELF with a modified query string. so add to your query string some key that relates to your full size image, then use the $_GET array to give you the value. Then test to see if a value has been set, if so, load the image in the left col. It would probably make sense to have some sort of default image if nothing has been selected.
Note though, in order to do this server side you would need to reload the page every time you wanted to change it. It could be slicker to load an array of all the full size images (in background, after page has loaded) then use javascript to swap them out in the left column without reloading the page.
|
Java is something I've never even attempted before.
How would I go about modifying the script via PHP to call $PHP_SELF into an adjacent column in a table?
When I try to have the php code block bridge the table it breaks the table layout and align's the page to the right instead of center. I'm guessing I could use php else to load the first image in the table if no image has been called.
I'm not really sure how to code the <img> tage in the right column to be dynamic and aquire the variable from the left hand table.
The site runs on ?id=xxx dynamic calls. How would I add the variable to the url without breaking that system?
I'm at a total lose as to how to code the right hand column to accept a dynamic variable and display that image. I'm going to look into $PHP_SELF to try and discern how that call can be used to call the images from the gallery table code block.
Thank you for your patience so far theFez
(java seems like such an awsome idea, as it requires no url variable and less change to the gallery table code, but that's way beyond anything I've ever known

)