NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on July 05, 2012, 01:54:47 PM

Title: How to add a tiker tape ?
Post by: Alberto on July 05, 2012, 01:54:47 PM
I need to use a tiker tape control to show news.
Any way to do this?
Thanks
Title: Re: How to add a tiker tape ?
Post by: Bruce on July 05, 2012, 10:11:22 PM
there's no marquee control in NetTalk at the moment, but there are plenty of scrolling html examples on the web if you google for it.

cheers
Bruce
Title: Re: How to add a tiker tape ?
Post by: RayA on July 07, 2012, 11:53:54 PM
In addition to hmtl there are some really cool jave scripts that do that with some cool page effects.  I have used a few of them and setup it to where the admin can click them off or on and change the values also. Very easy to add to your web app without spending a lot of time

Ray Abadie

Lafayette, La.
Title: Re: How to add a tiker tape ?
Post by: Rene Simons on July 08, 2012, 12:29:59 PM
Hi,

In the body part of my indexPage I have placed a tag, <!-- Net:Marquee -->, which refers to a procedure called Marquee :-)

For my client I created a file which contains texts and the date periods when to publish them as a marquee.
They own a business which is rather season depenend. Valentines day, Mothers day, Easter, Christmas, Spring, whatever.
For every period oof the year there is a text to "marquee"

The code in the procedure, besides retrieving the right text is

    packet = '<div id="wb_Marquee1" style="background-color:#FFFFFF;z-index:0;" align="left">'
    packet = clip(packet) & ' <marquee direction="left" height="25" scrolldelay="90" scrollamount="6" behavior="'
    packet = clip(packet) & choose(myBehaviour,'Scroll','Slide','Alternate')
    packet = clip(packet) &'" loop="0" style="background-color:#FFFFFF;" id="Marquee1">'
    packet = clip(packet) & '<font style="font-size:15px" color="#000000" face="Arial">'&clip(myText)&'</font></marquee></div>'
    do sendPacket

You have to replace the choose(myBehaviour,... by whatever suits your purpose.
myText contains the text you want to "marquee" .
.
Hope this is what you are looking for.

Kind regards,
Rene Simons