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.

Mouse over code in widget no longer working

4 posters

Go down

Mouse over code in widget no longer working Empty Mouse over code in widget no longer working

Post by DustyBones March 16th 2014, 5:06 pm

I have an affiliates widget on my site that is coded to stop scrolling when I hover my cursor over it (mouse over).
I just noticed that it no longer works, it just keeps scrolling when I put my cursor on it. It was working fine and I haven't added any affiliates or made any changes.
Has the coding for forumotion forums changed to where I need to code it different?
Code:

 <marquee behavior="scroll" direction="up" scrollamount="2" onmouseover="this.stop();" onmouseout="this.start();"></marquee>
<div style="" align="center">
   ---- FORUMS AFFILIATE BUTTONS CODING GOES HERE ----
</div><marquee behavior="scroll" direction="up" scrollamount="2" onmouseover="this.stop();" onmouseout="this.start();"></marquee>
<div style="text-align:center" align="center">
   
</div>
Thanks for any help anyone might be able to give me..
DustyBones
DustyBones
Active Poster

Male Posts : 1234
Reputation : 528
Language : English
Location : Washington, USA

http://raps-graphics.forumotion.com/

Back to top Go down

Mouse over code in widget no longer working Empty Re: Mouse over code in widget no longer working

Post by TheCrow March 16th 2014, 5:12 pm

Hello,

I tried it with both Firefox and Chrome Browsers and works fine to me.

If you want, you could try cleaning your browsers cashe and check it again.

Good Luck,
Marios.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6897
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Mouse over code in widget no longer working Empty Re: Mouse over code in widget no longer working

Post by DustyBones March 16th 2014, 5:21 pm

Marios94 wrote:Hello,

I tried it with both Firefox and Chrome Browsers and works fine to me.

If you want, you could try cleaning your browsers cashe and check it again.

Good Luck,
Marios.
Thanks Marios,
I cleared the cache, nothing changed. If it works for you I must have a coding conflict somewhere. That answered that.. Thanks again..
DustyBones
DustyBones
Active Poster

Male Posts : 1234
Reputation : 528
Language : English
Location : Washington, USA

http://raps-graphics.forumotion.com/

Back to top Go down

Mouse over code in widget no longer working Empty Re: Mouse over code in widget no longer working

Post by TheCrow March 16th 2014, 5:23 pm

It seems that you have something wrong up there in the code. Can you paste me the whole code please? Because if it is just that it has somethings that are not necessary and maybe that is why it doesn't work for you.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6897
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Mouse over code in widget no longer working Empty Re: Mouse over code in widget no longer working

Post by Pizza Boi March 16th 2014, 5:27 pm

Hi Very Happy

Well, I didn't see anything wrong with your console that would relate to your problem and it works fine with me like what Marios said. Try checking your own error console by checking it in Inspect Element and since you're the one who coded it, you're able to identify which has errors easier than we can Smile .

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Mouse over code in widget no longer working Empty Re: Mouse over code in widget no longer working

Post by Ange Tuteur March 16th 2014, 7:16 pm

Hello DustyBones,

I have in fact noticed that things using marquee are not working correct. To be more specific the recent topics scrolling will not stop on mouseover; it throws the following errors :

document.getElementById(...).stop is not a function
document.getElementById(...).start is not a function

for your code :
this.stop is not a function
this.start is not a function

this may be an issue related to Firefox 27, it was around the time I noticed it I believe.

try this :
I have patched it with some jQuery.
Code:
<marquee behavior="scroll" direction="up" scrollamount="2" onmouseover="$(this).attr('scrollamount','0');" onmouseout="$(this).attr('scrollamount','2');">
<div style="" align="center">
 <img src="http://i1042.photobucket.com/albums/b430/RapsGraphics/forumotionbutton3.png" /><img src="http://i1042.photobucket.com/albums/b430/RapsGraphics/forumotionsupport.png" />
</div></marquee>
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top


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