PDA

View Full Version : Div Search.


J_mo
08-21-2009, 11:37 AM
Hi,

Is it possible to make a search bar that searches for div ids and displays them on a page? If so how?

Any help would be benificial.

Cheers
Phil

Corrosive
08-21-2009, 12:45 PM
Could you explain a little more please?

J_mo
08-21-2009, 12:57 PM
Well...

Part of a website that I am designing will have news pages. The titles & Dates and brief description of each story will line up on then news title page (each being a div with it's own id). Obviously as time goes by more and more news will be added.

Could I create a search bar that could search the info contained in each div and display them on a page in relevance?

Corrosive
08-21-2009, 02:50 PM
Yes, but you'll need to have a database (SQL) driven website and to create a php search facility. Can I suggest you look at Wordpress rather than re-inventing the wheel.

J_mo
08-21-2009, 02:58 PM
Thanks I'll checkit out.
Phil