473,398 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Seat Selection

Hello, This is my first post here!

I'm trying to create a bit of Ajax which will allow people select tables on my picture by clicking on the tables allowing them to table of their choice. I am thinking of using image maps for table selection. I am not sure how to write the ajax in order to have the selected tables change color, indicating that they are taken. Does anyone have any recommendations for the image manipulation. I would rather not create a server side script to edit the image and have the user reload the picture every time they make a selection, I expect most people will change their table selections a few times before selecting the table of their choice.

Thanks a lot,
James
Nov 10 '07 #1
5 3818
gits
5,390 Expert Mod 4TB
hi ...

welcome to TSDN ...

do you have some coding done already, that you could post here? the general idea would be to pass something to the server that identifies the selection the user made onclick on the imagemap ... i think you know how the ajax-call works with a query-string? ... you may use an attribute to store something at the area which is clicked and pass that value wth the ajax-call's query-string ...

kind regards
Nov 11 '07 #2
I am not worried about getting the information into the ajax, but how do I use ajax to alter the image so that when a seat is taken the table's color turns black instead of white.

Thank you!
James
Nov 12 '07 #3
gits
5,390 Expert Mod 4TB
hmm ... i would recommend to experiment with css-divs and some transparent styles to achieve your goal, in case you want to avoid image-replacing ...
Nov 12 '07 #4
Thank you, you more/less answered my question. I was curious if their was a simple technique that I simply missed. Since their is not one, I can do an image replace, but not use a new image for their selection.

Thank you,
James
Nov 13 '07 #5
gits
5,390 Expert Mod 4TB
glad to hear that your are on a track for your problem ... javascript has very, very poor image-handling-abilities ... you may replace the src-attributes or set some style properties, use transitions or something ... but it has no 'real' image-manipulation-abilities ...

post back to the forum anytime you have more questions ...

kind regards
Nov 13 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Ben | last post by:
We have a MSSQL with per seat license of 20. The MSSQL is sitting in the same machine as the asp.net. Does that mean that the the no. of connections and Max Pool Size are limited up to 20 only?...
5
by: STeve | last post by:
Hey guys, I currently have a 100 page word document filled with various "articles". These articles are delimited by the Style of the text (IE. Heading 1 for the various titles) These articles...
0
by: vbnm | last post by:
I have two table of Access 2003 one of them called student and the other one called company. The company table contains company_name and seat_num. The student table contains student_num and...
0
by: 1051109210 | last post by:
im suppose to do a "airplane sitting" program 1 a b c d 2 a b c d 3 a b c d (till 7) den if i ask a user to type in their seats... 1 a b x d
1
by: jenice | last post by:
Good afternoon, I have a web page with about 20 pages and I need to create a bus seat layout creating dynamically with Javascript so every time a make a modification to that seatlayout, I don't...
1
by: NoviceDBA | last post by:
Hi , I am a junior DBA and I have been asked to Install and confingure SQL server 2000 on Win 2003 server, and I would like to create a replica of the existing server, so how do i find the no. of Per...
2
by: thesti | last post by:
hi, i'm asked to create a program in which there's a component like this http://jakkos.110mb.com/images/component.JPG it's like a seat reservation program. in which we are able to...
0
by: raveekumarg | last post by:
hi what is the difference between per seat , per server , per processor and i am new to sql 2000 , pl do explain the same.
3
Slick47
by: Slick47 | last post by:
Hey guys, I've gone one problem (so far) in my program to be able to assign and display seats. When I compile my program I get the error: SeatAssign.java:54: setSeats(char) in SeatAssign cannot...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.