Page 1 of 1
how to do like this?
Posted: Thu Dec 23, 2004 10:57 am
by kanchan
can anybody help me how to do like this...
in index.php page i have the thumbnail of one pic and on clicking that thumbnail the full image opens in next page like image.php?id=something
and now can u tell me the code how to do like this????
Posted: Thu Dec 23, 2004 11:41 am
by snicolas
this will open a new window....
<a href="#" onClick="MyWindow=window.open('images.php?id=<?php echo yourID?>&lang=en','Chat','toolbar=yes,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=550,height=400'); return false;">
Posted: Thu Dec 23, 2004 11:48 am
by kanchan
and how to echo ID then....
Posted: Thu Dec 23, 2004 11:49 am
by kanchan
snicolas wrote:this will open a new window....
<a href="#" onClick="MyWindow=window.open('images.php?id=<?php echo yourID?>&lang=en','Chat','toolbar=yes,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=550,height=400'); return false;">
and then how does that images.php can recognise its own id????????
Posted: Thu Dec 23, 2004 11:57 am
by timvw