Gossamer Forum
Home : Products : DBMan : Customization :

A little help needed..

Quote Reply
A little help needed..
I never had a response from my original post dated March 13, 2000 07:00 AM.. So IŽd settle for just a text hyperlink from my main page instead of a clickable imagemap.

I want someone to click on a link, for example Europe on my main default page.. then up comes my search page with Europe already there.. they could then type in the country.. so the script would then search using both Europe and the chosen country..

Thanks.. Justin
Quote Reply
Re: A little help needed.. In reply to
Ok... to clarify, you have an HTML page with a picture of the world as an imagemap. Each country is a different clickable link.

When you click on a link, you want to go to a search page, with the country already backfilled... ie., if you click on the picture of europe, the search page will already say "europe".

Am I understanding you correctly?

------------------
----------------------------------------
Lee Leisure
HP Customer Relations Manager
----------------------------------------
* NOTE: This message is intended
for personal purposes only, and does
not imply the position or opinion of
the Hewlett Packard Company.


Quote Reply
Re: A little help needed.. In reply to
Yes... then they can input a country and search both continent (from previous page)and country both together..
Quote Reply
Re: A little help needed.. In reply to
Well, Justin, to me that sounds more like a JavaScript question than a PERL.

It could probably be done in dbman, to bring up a search screen with the info backfilled. But it would be much easier to do it in javascript. Make your search page an HTML file. Reference the following for an example of how to perform a search from an external link:

http://www.gossamer-threads.com/...m12/HTML/002369.html

Basicly, the first page imagemap should write a temporary cookie, and jump to the search.html page. The search.html page would then read the cookie, and fill in the continent info wherever you want.

This way, you also have the option of bypassing the clickable imagemap and going directly to the search page. If the cookie isn't present, the field will simply be left blank.

Ciao!


------------------
----------------------------------------
Lee Leisure
HP Customer Relations Manager
----------------------------------------
* NOTE: This message is intended
for personal purposes only, and does
not imply the position or opinion of
the Hewlett Packard Company.