Share via


Creating "Scrolling Text" on a SharePoint team site.

Question

Monday, January 4, 2016 3:11 PM

Hello,
I am attempting to create a horizontal scrolling text on a SharePoint team site and need a bit of assistance.  I have done the following:
-Inserted a "Content Editor Web Part" and edited in "Edit HTML Source"
-I am using the following code:
<marquee bgcolor=”#cccccc” loop=”-1″ scrollamount=”2″ width=”100%”>Horizontally Scrolling Marquee</marquee>

What parts am I missing?  I am simply trying to make scrolling text at the top of my site.  Any assistance is very much appreciated.

All replies (5)

Tuesday, January 5, 2016 4:51 AM ✅Answered | 1 vote

Hi Derek,

I noticed that marquee is an obsolete element so compatibility may be an issue. What browser are you using? I was able to edit the source in a Content Editor webpart and your markup does work in Chrome, but not in Edge. Try a different browser and see if that works.

I also tested this javascript piece from Jfiddle in my dev environment and it also works if you want to go that route.


Tuesday, January 5, 2016 10:05 AM ✅Answered | 3 votes

Hi,

I have done a test in my SharePoint 2013 and it works fine:

<marquee width="100%" bgcolor="#cccccc" scrollamount="2" loop="-1">Horizontally Scrolling Marquee</marquee>

Try to add your site into trust site.

Try to use another browser, such IE 10,11.

Add your IE into compatibility view.

Best Regards,

Lisa Chen

TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].


Tuesday, January 5, 2016 4:22 PM

Hello Sonny,

You were correct, it was a browser issue.  I should have tried another from the get go.  Thank you for your Assistance!

-Derek S.


Tuesday, January 5, 2016 4:23 PM

Thank you Lisa,

It was a broswer issue and it did work in IE 11.  I appreciate your response!

-Derek S.


Wednesday, January 6, 2016 5:59 AM

I hope its a Browser issue.Try to use another browser, such IE 10,11.