Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-17-2005, 07:10 PM
WebProWorld New Member
 

Join Date: Mar 2005
Posts: 1
imported_j_h RepRank 0
Default Prepopulating drop down menus using URL

I am currently working on a website:

http://www.pocketdialuk.com/justdial.htm

This page contains an Iframe from which a country can be selected to display its corresponding rate and access number.

Is it possible to create a URL that will direct customers to this page with a particular country preselected?

e.g. where clicking on a link like this: http://www.pocketdialuk.com/justdial.htm?italy

could cause the Iframe on the landing page to be prepopulated with italy as its selection for instance?

How is this best done?

Would really appreciate some help.

Cheers,

Sophie
Reply With Quote
  #2 (permalink)  
Old 03-23-2005, 04:05 AM
WebProWorld Pro
 

Join Date: May 2004
Location: Austin, TX
Posts: 199
steve0 RepRank 0
Default

Without seeing the stuff that generates the rates..
(or looking to closely at the pages' source.. )

You could load the countries in an array..
Walk the array to create a <select> or some other list thingy..

Then..
when Arraycountry==URLcountry echo 'SELECTED'
or the pass the country id.. or whatever the trigger is for the rates..

exact coding will depend on the language used..
__________________
Hardcore Programming Solutions and Coffee Drinker
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , , , ,



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0