|
Posted by shror on 02/26/07 17:26
On Feb 25, 11:59 pm, "C." <colin.mckin...@gmail.com> wrote:
> On 25 Feb, 20:10, "shror" <shahi...@gmail.com> wrote:
>
>
>
>
>
>
>
> > i have designed an image gallery of about 20 pictures and they are
> > shown in thumb nail views and for viewing the largeer version of the
> > images i have added a radio button and a push button, so that the user
> > choose the picture using the radio button and click on the push button
> > to open the larger version picture in another window, but my problem
> > is that i know how to pass the selection to the second page but the
> > problem is how to pass the selected picture not selected value.
>
> > the first html page code is:
>
> > <form method="POST" action="gallery.php">
> > <input type="radio" value="V1" name="nature">
> > <p><input type="radio" value="V1" name="nature"></p>
> > <p><input type="radio" value="V1" name="nature">
> > </form>
>
> You need to use different values but the same name. But really, you've
> made interaction with the site a lot more complex than it needs to be
> - why not just link directly to the larger version of the image - one
> click instead of click, scroll, click. Even if you want to do this
> with a POST (from the code you've published it should be a GET) it's
> just a matter of assigning a value to a hidden field and submitting
> the form using javascript.
>
> C.- Hide quoted text -
>
> - Show quoted text -
Thanks also for your answer Colin,
The problem is that i will be using the picture that will be chose
from the thumbnails as a larger version in the gallery.php page and
will then add some information about the picture in this second page.
so i need to get the information according to the picture choice.
Thanks so much for any help
shror
www.s7els7.com
www.beachtoursegypt.com
www.mobidp.com
Navigation:
[Reply to this message]
|