HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 30th, 2000, 07:46 AM
Valeri Valeri is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 3 Valeri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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 ?

Reply With Quote
  #2  
Old May 2nd, 2000, 11:45 AM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
  #3  
Old May 3rd, 2000, 01:47 PM
Valeri Valeri is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 3 Valeri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Pass parametr from SITE1 to SITE2 ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway