Welcome to Gaia! ::

My Design :: Web and Graphic Design [HTML CSS PHP]

Back to Guilds

XHTML, CSS, jQuery, Javascript, PHP, mySQL, MORE! 

Tags: design, graphics, html, jquery, javascript 

Reply My Design
I need help

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

drugdealerguy666

PostPosted: Mon Apr 09, 2007 10:45 pm


im working on this thing so when i mouse over on a picture it shows a diferent picture, but i can get it to work, when i mouse over it selects every picture, what do i do.



cool
type="text/javascript">
function mouseOver()
{
document.b1.src ="pic2.bmp"
document.b2.src ="img2.bmp"
document.b3.src ="picture2.bmp"
document.b4.src ="image2.bmp"
document.b5.src ="magic2.bmp"
document.b6.src ="cool2.bmp"
}
function mouseOut()
{
document.b1.src ="pic.bmp"
document.b2.src ="img.bmp"
document.b3.src ="picture.bmp"
document.b4.src ="image.bmp"
document.b5.src ="magic.bmp"
document.b6.src ="cool.bmp"
}





























PostPosted: Tue Apr 10, 2007 4:31 am


Best thing I can do with just CSS. I do not know javascript.
http://twodayslate.com/test/imghover.html

Do you want the mouseover to select a random image?

My Documents
Captain


drugdealerguy666

PostPosted: Tue Apr 10, 2007 8:50 am


My Documents
Best thing I can do with just CSS. I do not know javascript.
http://twodayslate.com/test/imghover.html

Do you want the mouseover to select a random image?
no I want the mouse over to change each different image
PostPosted: Tue Apr 10, 2007 12:43 pm


majelikon
My Documents
Best thing I can do with just CSS. I do not know javascript.
http://twodayslate.com/test/imghover.html

Do you want the mouseover to select a random image?
no I want the mouse over to change each different image
Try a combo of css and javascipt.

Shadow in the dark
Crew


My Documents
Captain

PostPosted: Tue Apr 10, 2007 2:29 pm


Well, I do not know javascript but my guess is it would involve a sting (which it looks like you are trying to do).

http://www.howtocreate.co.uk/tutorials/jsexamples/testingRoll.html
PostPosted: Tue Apr 10, 2007 2:46 pm


do you want ALL the images to change at once? or only the hovered over one?

JamesD31

Reply
My Design

 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum