Results 1 to 3 of 3

Thread: Using CSS div around conveyor belt

  1. #1
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Using CSS div around conveyor belt

    1) Script Title: Conveyor Belt slideshow script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.htm

    3) Describe problem:

    Hi,

    I'd like to put a border around this slideshow, maybe even some rounded corners using CSS.. However, whenever I attempt to use any rounded corner scripts (http://www.html.it/articoli/niftycube/index.html or http://modxcms.com/simple-rounded-co...ss-boxes.html), they seem to be ignored.

    While I know there isn't any support for the rounded corner scripts. I thought someone might be able to point me in the right direction.. Perhaps the way this script is written, you can't style the div that holds the script?

    Thanks
    David

  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

    There may be other problems but it may be just an onload conflict, it is at least that. For example, Nifty Corners Cube has:

    Code:
    <script type="text/javascript">
    window.onload=function(){
    Nifty("div#box","big");
    }
    </script>
    And, Conveyor Belt has:

    Code:
    window.onload=fillup
    Get rid of:

    Code:
    <script type="text/javascript">
    window.onload=function(){
    Nifty("div#box","big");
    }
    </script>
    and change:

    Code:
    window.onload=fillup
    to:

    Code:
    window.onload=function(){
    Nifty("div#box","big");
    fillup();
    }
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John,

    Thanks for that.. Big help!! I've gotten it to work locally, and am still working with getting it to work remotely on the site (I'm using Zen Cart).. There's something still not working correctly, remotely...?? Anyways.. Thanks a ton!

    Mabye by the time you read this, I'll have it worked out (http://showball.com/new_site).. The rounded box is going in the header, to house the filmstrip..

    Thanks
    David

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
  •