PDA

View Full Version : Using CSS div around conveyor belt



dwessell
02-26-2007, 05:48 PM
1) Script Title: Conveyor Belt slideshow script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/leftrightslide.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-corner-css-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

jscheuer1
02-26-2007, 07:58 PM
There may be other problems but it may be just an onload conflict, it is at least that. For example, Nifty Corners Cube has:


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

And, Conveyor Belt has:


window.onload=fillup

Get rid of:


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

and change:


window.onload=fillup

to:


window.onload=function(){
Nifty("div#box","big");
fillup();
}

dwessell
02-26-2007, 09:24 PM
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