Results 1 to 2 of 2

Thread: Help with :: Cross Browser marquee

  1. #1
    Join Date
    Nov 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with :: Cross Browser marquee

    1) Script Title: :: Cross Browser marquee

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm

    3) Describe problem: Hi there. Can someone please assist me with getting this marquee to sit in the centre of the page rather than to the left? Also, how di I change the font type and size? I understand a little bit about coding, but bot enough I'm afraid to fix these issues. Any assistance will be greatly appreciated. Tambo

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Instead of that, use this: http://www.dynamicdrive.com/dynamici...wler/index.htm. To change font, align, and size, in the following code when you call the crawler add the highlighted:
    Code:
    marqueeInit({
    	uniqueid: 'mycrawler',
    	style: {
    		'padding': '5px',
    		'width': '450px',
    		'background': 'lightyellow',
    		'border': '1px solid #CC3300',
    		'size': '20pt',
    		'text-align': 'center',
    		'font-family': 'arial'
    	},
    	inc: 8, //speed - pixel increment for each iteration of this marquee's movement
    	mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
    	moveatleast: 4,
    	neutral: 150,
    	savedirection: true
    });
    Please tell me if you do not understand, good luck!
    Jeremy | jfein.net

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
  •