Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: Search on CD

date posted 1st February 2005 16:07

Is the product code made up from all five codes together (though three of
them look the same for all entries)? You could give each with the
description in an id with the code of the item it contains e.g. and when someone types a code in run
document.getElementById(codeEntered) to select it and use .innerHTML to get
the text content. E.g. (some slightly hacky code snippets that obviously
need dropping into the right locations in the page):

Deck mounted flight deck
safety net assembly (inner frame variant).

Search



function runSearch(){
codeEntered=document.getElementById("search").value;

document.getElementById("resultsDiv").innerHTML=document.getElementById(code
Entered).innerHTML;
}

Which would put the contents of the into resultsDiv.

It would be a bit more complicated to match against parts of the product
code but not impossible. This type of solution also means the search has to
be on the same page as the product list, and also relies on JavaScript and a
DOM enabled browser.

Karl

> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On
> Behalf Of Lindsey Hill
> Sent: 01 February 2005 10:34
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: Re: FN-FORUM: Search on CD
>
> Worth bearing in mind for other stuff but as it works on
> pages rather than specific items I don't think it would work on this.
>
> I can give them the option for the browser search on the page
> but would like to give another option that give the
> appearance of a a 'catalogue search' just from the number
> just on that page, any more ideas?
>
>
> Lindsey Hill



Messages by Day
February 28th 2005
February 27th 2005
February 26th 2005
February 25th 2005
February 24th 2005
February 23rd 2005
February 22nd 2005
February 21st 2005
February 20th 2005
February 19th 2005
February 18th 2005
February 17th 2005
February 16th 2005
February 15th 2005
February 14th 2005
February 13th 2005
February 12th 2005
February 11th 2005
February 10th 2005
February 9th 2005
February 8th 2005
February 7th 2005
February 6th 2005
February 5th 2005
February 4th 2005
February 3rd 2005
February 2nd 2005
February 1st 2005


Messages by Month
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000