Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 08-03-2005, 11:08 PM   #1
Baseband Member
 
earthboundrocks's Avatar
 
Join Date: Jan 2005
Posts: 27
Talking On Click Javascript...

Does anyone have a Javascript that, when you click, an images goes to another?
Just wanna know, may use it.

Thanks,
Earthbound Rrocckkss
__________________

__________________
"Knowledge comes when knowing that you know nothing..."
I've taken an IQ test, and it read: Your testee Brian Scholl has shown great knowledge in this test. His score was: 237.
Scale: 0-45: Legal Retardation, 46-90: Below Average, 91-105: Average, 106-130: Above Average, 131-160: Gifted, 161-175: Genius, 176-190: High Genius, 191-200: Higher Genius, 201+: Genius of unmeasurable length.
earthboundrocks is offline   Reply With Quote
Old 08-04-2005, 12:33 AM   #2
Baseband Member
 
earthboundrocks's Avatar
 
Join Date: Jan 2005
Posts: 27
Default Re: On Click Javascript...

Erm, hello?
__________________

__________________
"Knowledge comes when knowing that you know nothing..."
I've taken an IQ test, and it read: Your testee Brian Scholl has shown great knowledge in this test. His score was: 237.
Scale: 0-45: Legal Retardation, 46-90: Below Average, 91-105: Average, 106-130: Above Average, 131-160: Gifted, 161-175: Genius, 176-190: High Genius, 191-200: Higher Genius, 201+: Genius of unmeasurable length.
earthboundrocks is offline   Reply With Quote
Old 08-04-2005, 12:14 PM   #3
Baseband Member
 
earthboundrocks's Avatar
 
Join Date: Jan 2005
Posts: 27
Default Re: On Click Javascript...

Anyone?
__________________
"Knowledge comes when knowing that you know nothing..."
I've taken an IQ test, and it read: Your testee Brian Scholl has shown great knowledge in this test. His score was: 237.
Scale: 0-45: Legal Retardation, 46-90: Below Average, 91-105: Average, 106-130: Above Average, 131-160: Gifted, 161-175: Genius, 176-190: High Genius, 191-200: Higher Genius, 201+: Genius of unmeasurable length.
earthboundrocks is offline   Reply With Quote
Old 08-04-2005, 06:58 PM   #4
Guru
 
Lord Kalthorn's Avatar
 
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn
Default

onclick="imageid.src='the new picture url';" should do it. I think... just off the top of my head really. Although this will only change one picture to another, and you'd have to have another button to change it back.
__________________
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote
Old 08-04-2005, 10:10 PM   #5
Baseband Member
 
earthboundrocks's Avatar
 
Join Date: Jan 2005
Posts: 27
Default Re: On Click Javascript...

Quote:
Originally Posted by Lord Kalthorn
onclick="imageid.src='the new picture url';" should do it. I think... just off the top of my head really. Although this will only change one picture to another, and you'd have to have another button to change it back.
Thanks, but I meant, along the lines of, clicking on a linked image, and it turns into a different image as the page loads... Just wondering.
__________________
"Knowledge comes when knowing that you know nothing..."
I've taken an IQ test, and it read: Your testee Brian Scholl has shown great knowledge in this test. His score was: 237.
Scale: 0-45: Legal Retardation, 46-90: Below Average, 91-105: Average, 106-130: Above Average, 131-160: Gifted, 161-175: Genius, 176-190: High Genius, 191-200: Higher Genius, 201+: Genius of unmeasurable length.
earthboundrocks is offline   Reply With Quote
Old 08-05-2005, 03:50 PM   #6
Guru
 
Lord Kalthorn's Avatar
 
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn
Default

Not sure what you mean... as the Page Loads?

Do you mean like a Box, with a button at the corner, where you can Show and Hide the Contents?
__________________
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote
Old 08-07-2005, 04:14 PM   #7
Baseband Member
 
earthboundrocks's Avatar
 
Join Date: Jan 2005
Posts: 27
Default Re: On Click Javascript...

Quote:
Originally Posted by Lord Kalthorn
Not sure what you mean... as the Page Loads?

Do you mean like a Box, with a button at the corner, where you can Show and Hide the Contents?
No, I mean, when you click on the image, it goes to another, as if a button, being pressed, and when unclicked, it changes back to the image before.
__________________

__________________
"Knowledge comes when knowing that you know nothing..."
I've taken an IQ test, and it read: Your testee Brian Scholl has shown great knowledge in this test. His score was: 237.
Scale: 0-45: Legal Retardation, 46-90: Below Average, 91-105: Average, 106-130: Above Average, 131-160: Gifted, 161-175: Genius, 176-190: High Genius, 191-200: Higher Genius, 201+: Genius of unmeasurable length.
earthboundrocks is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:02 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0