theniteowl
Programmer
Hi All,
I am trying to preload images that used in a div controlled by a style sheet.
In other words I use this:
.TabSelLft {
background-image : url('/tabimages/tabsellft.gif');
height : 22px;
width : 4px;
}
I use a span tag with the above class name.
I want to have the images preloaded though and from what I can tell the stylesheet will reload the images every time.
I know for a rollover effect I can preload the images and then just alter the src but is it possible to have the stylesheet use a preloaded image?
Stamp out, eliminate and abolish redundancy!
I am trying to preload images that used in a div controlled by a style sheet.
In other words I use this:
.TabSelLft {
background-image : url('/tabimages/tabsellft.gif');
height : 22px;
width : 4px;
}
I use a span tag with the above class name.
I want to have the images preloaded though and from what I can tell the stylesheet will reload the images every time.
I know for a rollover effect I can preload the images and then just alter the src but is it possible to have the stylesheet use a preloaded image?
Stamp out, eliminate and abolish redundancy!