Submit Your Article Forum Rules

Results 1 to 2 of 2

Thread: Prepopulating drop down menus using URL

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    1

    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

  2. #2
    Senior Member
    Join Date
    May 2004
    Posts
    199
    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..

Similar Threads

  1. Drop Down Roll-over Navigation Menus And Seo
    By Kate 555 in forum Google Discussion Forum
    Replies: 2
    Last Post: 02-05-2007, 06:44 AM
  2. Google and Drop-down Menus
    By vano in forum Google Discussion Forum
    Replies: 3
    Last Post: 02-23-2006, 01:33 AM
  3. Search Engine Spiders and Drop Down Menus
    By nashville in forum Search Engine Optimization Forum
    Replies: 3
    Last Post: 02-15-2006, 08:05 PM
  4. Drop in SERP and drop in traffic, asking for ideas
    By AlexDP in forum Google Discussion Forum
    Replies: 0
    Last Post: 09-09-2004, 05:04 PM
  5. Are Drop-Down Menus Accessible?
    By Webnauts in forum Accessibility and Usability Forum
    Replies: 6
    Last Post: 12-08-2003, 09:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •