Menu
I am working on updating my gallery pages on my webiste. i currently have 88 pages to display my photos. I want to cut it down to just 11 pages (300 pics per gallery, approx 27 pics per page). I have the code that displays the pics in a .js file. I know it can be done but not sure how, On the main gallery page i want to set a variable to the corrosponding gallery, (ie: if gallery 1 is chosen then the variable is set to 1, if gallery 8 is chosen then the variable is set to 8). Then I need to pass this variable to the first page of the photogallery htm file. How is this done? Thanks for your help.
JB….
<html><head><title>A URL parser sent by a form to this page. Khalid Ali</title></head><body><div align='center'>Following are the values submitted by user to this page.<br><table style='font-family:sans-serif;font-size:10pt;border:solid 1pt Gray;width:400pt;'><tr><td width="35%"><b>Form Field Name<b/></td><td width="65%"><b>Value entered by user</b></td></tr><tr><td>name</td><td></td></tr><tr><td>address</td><td></td></tr><tr><td>city</td><td></td></tr><tr><td>country</td><td></td></tr></table></div></body></html>[/QUOTE]
[i]Originally posted by jbetts1967 [/i]
[B]if at all possible using forms is not the way i want to go......... [/B][/QUOTE]
However, you'll find the JavaScript in the second and third pages that is performing the actual work [/QUOTE]
[i]Originally posted by khalidali63 [/i]
[B]The link I gave you uses the URL to pass the one pges values to another.
I thought you might get the idea,I guess not.
to pass a variable to another page or to the same page for that matter you use this syntax.
var someVar = "this is some value"
window.location.href = window.location.href+"?"+someVar ;
This will pass this variable value to itself.You will see this in location bar.
window.location.href = "nextPage.html?"+someVar ;
This will pass it to the next page.
cheers
Khalid [/B][/QUOTE]
[i]Originally posted by Dave Clark [/i]
[B]The following demonstration also uses a sending FORM, but the FORM is immaterial --
it is the URL query string that is the important part. In this demonstration, however,
you'll find the JavaScript in the second and third pages that is performing the actual work:
http://www.DaveClarkConsulting.com/research/send_from.html
[b]Dave[/b] [/B][/QUOTE]
To send the parameters to the same file, I don't think you need to give the file name in the form to where the parameters are to be submitted, but just submit, now how can I submit the form when the list changes? [/QUOTE]
0.1.9 — BETA 5.12