hi,

okey here's what i'm trying to do..
i'm making a gallery .. when u roll over on the thumbnail -which is actually a text image- the big photo swaps to a 50% opacity image and when u click it swaps to the same photo with 100% opacity
so what's the proplem ?
the proplem is in the "restore image on mouse out" option .. i wanted to restore image on mouse out for the "mouseover" behavior but not the "onClick" behaviour .. which doesn't seem to work .. cuz that option workeS for them both togeather -if i uncheck one the other goes unchecked automatically- so is there a way to set each of them individually ?

Recommended Answers

All 2 Replies

yes code manually or use a jquery plugin like galeria

hi danny,
that's the code i have now

<img src="images/logos_gallery_08.jpg" alt="" width="66" height="38" onClick="MM_swapImage('main','','logos_gallery_image/image2.png',1)" onMouseOver="MM_swapImage('main','','logos_gallery_image/roll over2.png',1)" onMouseOut="MM_swapImgRestore()">

but unfortunately i couldn't figure out a way to do it in coding either.. "onMouseOut" applies to both behaviours..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.