944,087 Members | Top Members by Rank

Ad:
Nov 9th, 2007
0

Javascript- On selection appear image..

Expand Post »
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..
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
tryphy is offline Offline
79 posts
since Oct 2007
Nov 9th, 2007
0

Re: Javascript- On selection appear image..

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.
Reputation Points: 85
Solved Threads: 64
Practically a Master Poster
sillyboy is offline Offline
686 posts
since Mar 2007
Nov 9th, 2007
0

Re: Javascript- On selection appear image..

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...
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
tryphy is offline Offline
79 posts
since Oct 2007
Nov 10th, 2007
0

Re: Javascript- On selection appear image..

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?
Reputation Points: 85
Solved Threads: 64
Practically a Master Poster
sillyboy is offline Offline
686 posts
since Mar 2007
Nov 11th, 2007
0

Re: Javascript- On selection appear image..

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..
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
tryphy is offline Offline
79 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: preloading image (white page between) problem
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Simple JavavScript needs email validation





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC