|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I would like to pass a parametr from SITE1 to SITE2
SITE1 <a href=SITE2.html><img src="Img1.gif"></a> . . . . . . . . . <a href=SITE2.html><img src="Img9.gif"></a> SITE2 <a href= (If press SITE1Img1 Go SITE3 Else Go SITE4) . . . . . . . . . . . . . . . . . <a href= (If press SITE1Img9 Go SITE9 Else Go SITE4) Can i do this without CGI ? |
|
#2
|
||||
|
||||
|
you can pass a variable in the URL ie:
<a href="blah.html?yourvar=9"><img src etc - and in blah.html the var yourvar will be automatically set to 9 or whatever. You can then do an if else on 'yourvar'. Multiples can be set as follows, <a href="blah.html?yourvar=9&anothervar=hello&thisone=boo">etc. Simon ------------------ Simon Wheeler FirePages -DHTML/PHP/MySQL |
|
#3
|
|||
|
|||
|
Thanks for your help
But variable will be processed on side of server, rather then client. Interesting, I has visitted beside 10 conferences, 20 persons have assigned the similar question. 200 persons have answerred "how send variable", nobody did not answer "HOW PROCESS VARIABLE ON SIDE of CLIENT" !!! Best Regards Valeri |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Pass parametr from SITE1 to SITE2 ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|