Results 1 to 5 of 5

Thread: Scrolling title help

  1. #1
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    82
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Scrolling title help

    I'm designing a webpage and I want the title in the header to scroll. What do I have to do? I tried the marquee code, but I can't get it to work...

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    marquee only works in IE, and is, therefore, a bad plan.

    Look on dynamicdrive main for scripts.

  3. #3
    Join Date
    Jul 2005
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    you could probably alter this script http://www.dynamicdrive.com/dynamici...arrowtitle.htm
    to create the effect of scrolling. Do something like
    Code:
    {
          step++
          if (step==7) {step=1}
          if (step==1) {document.title='title'}
          if (step==2) {document.title='itle '}
          if (step==3) {document.title='tle t'}
          if (step==4) {document.title='le ti'}
          if (step==5) {document.title='e tit'}
          if (step==6) {document.title=' titl'}
          setTimeout("anim()",200);
        }
    that would simulate scrolling.

  4. #4
    Join Date
    Mar 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have the following Dynamic Drive cross-browser marquee on my web site and it works in IE, Safari, and Firefox/Mozilla:
    http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm

    The only problem is if you have used other javascript on the page, it might not work. But, there is a work-around for two javascripts on the same page. (I also have Dynamic Drive hvmenus on my home page.) To see both of these in action, go to www.andersonptsa.com and look at View Source page.

    If you need help on the work-around, go to:
    http://www.javascriptkit.com/javatut...taction4.shtml. This will send you in the right direction on what you must add and what you must delete to make both javascripts work.

  5. #5
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    82
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •