
Originally Posted by
mattmac
Is there a way of pre loading the first slide.
In the past I have gone into the js script and line 53 allows you to set hex value of background. Can this be set as an image rather than a colour.
I have a subtle image as part of a background and it looks a bit clumsy while waiting for the first slide to load.
No need to edit the script. And you shouldn't because if you have two pages that use it and want different backgrounds, you need two scripts.
Anyways - say your wrapperid is fadeshow1. Put this or something like it in the head of the page (or put its rules in an existing stylesheet):
Code:
<style type="text/css">
#fadeshow1, #fadeshow1 .gallerylayer {
background: green url(myimage.jpg) !important;
}
</style>
Substitute the wrapperid for fadeshow1, if different. The color and the image may be of your choosing. A path may be specified for the image. If relative, the path will be relative to where this rule is. Like if it's on the page, relative to the page. If it's in an external stylesheet, relative to that stylesheet.
If doing just color, use like:
Code:
<style type="text/css">
#fadeshow1, #fadeshow1 .gallerylayer {
background-color: green!important;
}
</style>
Use whatever color (color name, hex code, etc.) you like.
In both examples the highlighted !important keyword is required to override the scripted styles.
Bookmarks