The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Hover effect on Affiliate marquee

View previous topic View next topic Go down

Solved Hover effect on Affiliate marquee

Post by TruthSayer on August 10th 2011, 2:05 am

Would you please provide me with the code to make the affiliate banners that are scrolling in my affiliates widget to slow down and go slightly opaque when someone hovers over one of them?

Also, please tell me where/how to put it in?

Thanks for your help!

TruthSayer
Forumember

Female Posts : 184
Reputation : 21
Language : English, ALS, Med-speech, Pig Latin ^_^
Location : Wouldn't you like to know... O.o

http://www.anubisscripts.forummotion.com

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by Nera. on August 10th 2011, 9:26 am

Hi Truth,

Try this.

Code:
<marquee behavior="scroll" direction="left" scrollamount="1">

<span class=baneri><a href="http://rpgcollection.proboards27.com/" target="_blank"><img src="http://dravu.com/RPGC3/Main/minibanner1.gif" alt="RPGCollection" border="0" height="31" width="88" style="opacity:0.4;filter:alpha(opacity=40)"
onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"
onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40"></a>

<a href="http://rpgcollection.proboards27.com/" target="_blank"><img src="http://img.photobucket.com/albums/v231/ShinLi/RPG%20Life/RPGDirectoryMiniBanner2.gif"  alt="RPG-D"  style="opacity:0.4;filter:alpha(opacity=40)"
onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"
onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40"></a></baneri>




</marquee>

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by TruthSayer on August 11th 2011, 12:38 am

Looks good for the fade on mouseover, thanks Nera!

Is there a way to get the scroll to slow down on mouseover, but runs normal speed with mouseout?

Thanks!

TruthSayer
Forumember

Female Posts : 184
Reputation : 21
Language : English, ALS, Med-speech, Pig Latin ^_^
Location : Wouldn't you like to know... O.o

http://www.anubisscripts.forummotion.com

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by kirk on August 11th 2011, 4:44 am

@TruthSayer wrote:Looks good for the fade on mouseover, thanks Nera!

Is there a way to get the scroll to slow down on mouseover, but runs normal speed with mouseout?

Thanks!

yeah there is whole rundown with many different options on adjusting marquee here somewhere.
It's been a while so i may have to dig.. i will try a search fist but still may be a bit of digging..

I think it's in tips and tricks.. so you go and try a search first. then if you cant find it i will go locate it for you.. i am only asking you to check first because i am in the middle of a few things at once,

hey Nera nice code,
good job babs Very good

Oh truth now i think about it, i am not sure if there is a speed option on the mouse over but know there is stop option when moused over..

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by TruthSayer on August 11th 2011, 4:57 am

I'll try looking for the marquee options again (I tried before I posted this, but couldn't find anything).

And stopped would be fine, if nothing else can be found!

TruthSayer
Forumember

Female Posts : 184
Reputation : 21
Language : English, ALS, Med-speech, Pig Latin ^_^
Location : Wouldn't you like to know... O.o

http://www.anubisscripts.forummotion.com

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by kirk on August 11th 2011, 5:33 am

@TruthSayer wrote:I'll try looking for the marquee options again (I tried before I posted this, but couldn't find anything).

And stopped would be fine, if nothing else can be found!

well i snaged the stop on mouse from one of my pop-out music scroll list

what direction are you going left?

Code:

<marquee direction="left" onmouseover="this.stop()"onmouseout="this.start()"scrollamount="4">


content here


</marquee>


Last edited by kirk on August 11th 2011, 5:50 am; edited 1 time in total

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by TruthSayer on August 11th 2011, 5:50 am

Yep, going left. And this works perfectly. Thanks for your help, Kirk and Nera. You two are awesome.

Please mark as solved.

TruthSayer
Forumember

Female Posts : 184
Reputation : 21
Language : English, ALS, Med-speech, Pig Latin ^_^
Location : Wouldn't you like to know... O.o

http://www.anubisscripts.forummotion.com

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by kirk on August 11th 2011, 5:54 am

your welcome.

I may still be able to find the speed thing you want or just customize to get it.

and i think the scroll amount might be for your over all speed.. i forget i will change some numbers and see what happens.. it's been so long since i seen these i forgot how to set them up.. but nothing cant figure out again Smile

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by Nera. on August 11th 2011, 9:42 am

scrollamount might be for your over all speed..
It is.

@TruthSayer wrote:

Please mark as solved.

Solved > Locked

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum