The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Hover effect on Affiliate marquee

3 posters

Go down

Solved Hover effect on Affiliate marquee

Post by TruthSayer Wed 10 Aug - 2:05

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
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. Wed 10 Aug - 9:26

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.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by TruthSayer Thu 11 Aug - 0:38

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
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 Thu 11 Aug - 4:44

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
kirk
Forumaster

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

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by TruthSayer Thu 11 Aug - 4:57

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
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 Thu 11 Aug - 5:33

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 Thu 11 Aug - 5:50; edited 1 time in total
kirk
kirk
Forumaster

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

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by TruthSayer Thu 11 Aug - 5:50

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

Please mark as solved.
TruthSayer
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 Thu 11 Aug - 5:54

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
kirk
Forumaster

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

Back to top Go down

Solved Re: Hover effect on Affiliate marquee

Post by Nera. Thu 11 Aug - 9:42

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

TruthSayer wrote:

Please mark as solved.

Solved > Locked
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Back to top

- Similar topics

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