Log in

View Full Version : Makeing a search bar like that



baddotz
02-18-2010, 07:12 PM
hi can i know how do i make the search bar and check in check out listbox and the advanced search like them?

http://www.visasignaturehotels.com/

what is their input box so big in size ? how do i make that
Textbox with calender input- i know how to make the calender but how to make the calender box inside the box?
the adults and children - the arrows is it an image ? if not how do i make that ? with jquery ?

and the advanced search too

can anyone give me some advise ?

djr33
02-19-2010, 05:03 AM
1. inputs can be styled using width and other css properties. give it a style or class and go from there.
2. the calendar is much more complex. That's using either ajax (live from the server) or just a javascript calendar generated by a serverside language originally. This is complex in many ways, so I would suggest looking for an existing script that is available.
The image is just a style, so you can make it have a background image like any other element.
3. I'm not sure about the arrows. I haven't looked at the code too closely. It's either an image or another style available to select menus.


These are very different questions (aside from being about forms), so I'd just suggest looking up "css form input html" and seeing what you find.