HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Conditional testing parameter passed in url
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> General HTML
View previous topic :: View next topic  
Author Message
ronb107



Joined: 12 Oct 2009
Posts: 1

Posted: Mon Oct 12, 2009 9:27 am     Conditional testing parameter passed in url  

I have two programs.

Program A has an iFrame; Program B is what is getting iFramed. This all works properly.

What I need now is to pass a parameter to Program A that will pass this parameter to Program B.

Program B will do the following:
o if the parameter is blank (no parameter passed), then Program B works normally (no redirection or branching), and simply opens the called page.
o if the Parameter has a value, then Program B will branch/redirect to the proper page. That is, if the parameter is value="Auto", then Program B will call the Auto.html page.

Note that this conditional code will reside in the default page of Program B (which displays if no parameter is passed)

To get an idea, here is the url for Program A: http://cheapatvtirescenter.com/Recommended_Sites.html

If I use the following, then I would like to be on the Auto page (just as if I had selected Auto from the default page): http://cheapatvtirescenter.com/Recommended_Sites.html?Auto

Can you help?

Thanks
Ron
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> General HTML
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group