0

i really need help..

i want to have a realistic bus seating reservation like in some airline reservation we have today... not just like using ordinary tables with rows and columns...

i dont know how and where to start..

please help..

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by Graphix
0

First of all: seats are usually displayed as squares. It so happens to be that table cells are also squars. Thats why it's so easy to use a table to show seats.

If you want a more realistic map of a bus, you will first need to make a ground plan of the seats, in which the seat-numbers are put. Then you are able to just simply create a select input into your form which has the seat numbers that are available as options, and put the image of the seats below the input.

A small example:

<table>
<tr>
<td>
Please select a seat, the seat numbers are shown in the groundplan below:<br />
<select name="seat">
<option value="1A">1A</option>
<option value="1B">1B</option>
<option value="1C">1C</option>
</select><br />
 (the seats that are already taken will not be shown in the dropdown list)
</td>
<td>
<img src="bus_groundplan.jpg" alt="Groundplan" border="0" />
</td>
</tr>
</table>

! G

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.