This is tied into this thread:
http://www.tfproject.org/tfp/showthread.php?t=76973
I have a gallery I'm trying to build located here:
http://www.arch13.com/index.php?id=g...d2=test/popgal
The page with two tables is included through id=gallery. The php script on the left side is then included through id2=test/popgal and builds the thumbnail table.
Right now it pops up images using this code:
Code:
<a href="#" onClick="popupgalimage('imgs/<?php echo $file;?>', <?php echo "$width";?>, <?php echo "$height";?>); return false" class="popimage"><? echo "<img src='imgs/thumbs/$file' class='popimage'></a></td>"."\n";
I want to make it display the image on the righ side of the page is instead of poping up an image. How can I change the onClick behaviour to do this? Is this fairly easy, or am I asking for a huge project here?
I'm also looking at how to do it using php is the referenced thread, but if I understand theFez correctly, I can only do it in php by adding another id variable to the url and refreshing the page, which doesn't seem like it would come off as proffesional.
Any help, suggestions, etc are greatly appreciated.