Current status of the Ning Platform is always available on the Ning Status Blog.

FORUM

Text Ticker

I use this Text Ticker - code in a textbox on the front page to inform our members on important updates on the network:

<p>&nbsp;</p>
<p><marquee class="html-wpsites" direction="left" behavior="scroll" scrollamount="4" width="100%">YOUR TEXT HERE</marquee></p>

It works great, as it draws direct attention !

In some cases I would like to make the text clickable with a link. Any suggestions how to do that ?

 

 

 

 

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Email me when people reply –

Replies

        • Hi there!

          This one is a bit more complicated than a solution for one line. Also, it depends if you have more then one text ticker on the page.

          Ok, let's imagine the worst situation when you have more than one text ticker on the page. In such case, it's better to add the id to the code of the ticker. 

          <marquee id="first_ticker" class="html-wpsites" direction="left" behavior="scroll" scrollamount="4" width="100%">YOUR TEXT HERE</marquee>

          Any word could be an id so it depends on you which one to choose, just keep in mind that each id should be unique for the page, other words there shouldn't be 2 elements on the page with the same id.

          Also please note that the code works only if ticker is placed in html box.

          So just put this code into the html box where you ticker is located in HTML mode of course:

          <script>
          var elem, cls, per;
          var htmlbox = function ()
          {
          elem = elem.parentElement;
          cls = elem.getAttribute("class");
          if (cls != null)
          {
          cls=cls.split(" ");
          }else
          {
          cls = "test test";
          cls = cls.split(" ");
          }
          return cls;
          }

          per=false;
          elem = document.getElementById("first_ticker");
          while (per===false)
          {
          htmlbox();
          per=cls.some(function(){for (var i=0; i<=cls.length;i++){if(cls[i]==="section-html"){return true;}}});
          }

          elem.setAttribute("style", "background-color:red;");
          </script>

          I have highlighted the id that you can change if you have more then one ticker on the page, and if you wish to change the background for it as well just replace red with the color code. I have described this in the previous comment.

          Also if you wish to use a picture as a background you can use another style properties, not only background-color.

          Please let me know if there are any issues with the implementation of this code.

          Hope this helps.

          Best regards,

          Ning Team.

           

          • Thanks Kyryl, I got them both working ! :-)

            • You are welcome :-)

              Glad it works.

  • This is fabulous.. looking forward in giving this a try on my site. thanks for the tip. 

  • NC for Hire

    here is another way to do it  Tip: How to Add an Easy to Manage News Ticker

This reply was deleted.

Announcements

 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Anam replied to Steve C's discussion
Comparing Speeds of Ning 2 and Ning 3 Sites
"Hi Anastasia, I sent you a PM. I think your response perhaps indicates that some others are having…"
1 hour ago
Anastasia_Ning_Support replied to Steve C's discussion
Comparing Speeds of Ning 2 and Ning 3 Sites
"Hello Anam! 
I apologize for the inconveniences!
We are currently looking into loading speed compla…"
2 hours ago
chienella peter, Tracy McLaughlin, Sherry Blatchley and 14 more joined Ning Creators Social Network
2 hours ago
Hugh replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"By the way - I'm glad to be able to report that at least the support system has now been mended.
An…"
5 hours ago
Hugh replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"Thanks Anastasia. If it would makes things zip along any quicker, I can happily live without insigh…"
5 hours ago
Helela replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"They are nice.. But for four years I've been off or things going wrong since I've opened my site a…"
10 hours ago
Helela and Ron are now friends
NC for Hire
10 hours ago
Steve C replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"Even though only email support comes with my $60 plan, I call support if I need to and I've never b…"
12 hours ago
Helela replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"And, while I'm at it, my facebook sharing button only shows a great big blurry star on facebook. It…"
13 hours ago
Helela replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"This is what it's been like for me paying sixty dollars a month since I've had my site. I just get…"
13 hours ago
Anam replied to Steve C's discussion
Comparing Speeds of Ning 2 and Ning 3 Sites
"Funny enough I am recently finding loading times on my site and this one (both Ning 3) to be much s…"
yesterday
Anastasia_Ning_Support replied to Anastasia_Ning_Support's discussion
Welcome Landing Page Builder
"Hello!
Unfortunately, our LPB does not have an inbuilt functionality that would allow you to easily…"
Wednesday
More…

Meanwhile, you can check our social media channels