Results 1 to 2 of 2

Thread: Conveyer Belt Slideshow tip..

  1. #1
    Join Date
    Jun 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Conveyer Belt Slideshow tip..

    Hi,

    New to the board,

    I was wondering if anyone knew if it was possible to add a background image (as opposed to a bg colour) to this script?

    Any help would be grand

    Cheers

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Yes, change this line in the script:
    Code:
    write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
    to:
    Code:
    write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
    Then in the configuration part of the script where it says:
    Code:
    //configure background color:
    slidebgcolor="#EAEAEA"
    you may use ordinary css syntax for the background property, ex:
    Code:
    //configure background color:
    slidebgcolor="#EAEAEA url('some.jpg')"
    For more info on this syntax, check your favorite css reference or:

    Blooberry's CSS - Background
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •