Javascript- On selection appear image..

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Oct 2007
Posts: 19
Reputation: tryphy is an unknown quantity at this point 
Solved Threads: 0
tryphy's Avatar
tryphy tryphy is offline Offline
Newbie Poster

Javascript- On selection appear image..

 
0
  #1
Nov 9th, 2007
Hi all,
I have 2 option button, lets say A and B, When A is Chosen, B must get deactivated.
And also when A is Chosen an image appears above the option button...
I am not that good in Javascript..
The choise of selection can be anything either option button, or link or just a button..
How can it be done ?
Thanks for your help...

Regards
Tryphy..
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 686
Reputation: sillyboy is on a distinguished road 
Solved Threads: 61
sillyboy's Avatar
sillyboy sillyboy is offline Offline
Practically a Master Poster

Re: Javascript- On selection appear image..

 
0
  #2
Nov 9th, 2007
Ok, so it is a good idea to try some javascript tutorials to get the hang of it first. Javascript can be a pain to debug from my experiences. A few things that you may find helpful to help with your tasks:
- onclick() *event
- visibility or display *attribute
- disabled *attribute

If you need more help post some code, and somebody can have a further look.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 19
Reputation: tryphy is an unknown quantity at this point 
Solved Threads: 0
tryphy's Avatar
tryphy tryphy is offline Offline
Newbie Poster

Re: Javascript- On selection appear image..

 
0
  #3
Nov 9th, 2007
Hey...
thnaks for the comments...
I am working through it....

I also hav another doubt of click and drag image....
its like i have and image , when its drag and dropped in a table, it must get snapped to it...
How do i snap the images to the table..?
Ur help will be much appreciated..
thanks...
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 686
Reputation: sillyboy is on a distinguished road 
Solved Threads: 61
sillyboy's Avatar
sillyboy sillyboy is offline Offline
Practically a Master Poster

Re: Javascript- On selection appear image..

 
0
  #4
Nov 10th, 2007
I am not entirely sure what you mean by the drag / drop of the image. Is this while you are designing the page or do you actually have a feature on the website to allow drag / dropping?
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 19
Reputation: tryphy is an unknown quantity at this point 
Solved Threads: 0
tryphy's Avatar
tryphy tryphy is offline Offline
Newbie Poster

Re: Javascript- On selection appear image..

 
0
  #5
Nov 11th, 2007
HI,
Its not in the website...
its for a game..
Drag and drop the elements in the table...once this is done and press enter, any the particular action take place...
eg: drag and image to a table , once the image is fixed and enter or submit is clicked, another image displays by the side..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC