NetTalk Central

Author Topic: How to add a tiker tape ?  (Read 4012 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
How to add a tiker tape ?
« 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to add a tiker tape ?
« Reply #1 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

RayA

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • My Web Site
    • Email
Re: How to add a tiker tape ?
« Reply #2 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.

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: How to add a tiker tape ?
« Reply #3 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
Rene Simons
NT14.14