Hi Tobbe Thank you very much. It works okay.
Janet Torbjorn Tornkvist wrote: > Janet Weber wrote: > >> Hi Tobbe >> >> I tried that but could not add a transparent background color to the >> code. Ii came up with errors. And adding it in the css doesn't work >> either the program just ignores it, >> > > I made a quick hack: > > http://noneg.tornkvist.org:8080/search.yaws?action=keyword&key=barcelona > > Click on the link: Bildspel > at the top. > > The modified code is here: > > http://noneg.tornkvist.org:8080/js/imagebox.js > > Cheers, Tobbe > > >> I think the developer should have thought that not all webpages use a >> white background. >> The way it displays it just looks crappy.... >> >> Janet >> >> Torbjorn Tornkvist wrote: >> >>> Janet Weber wrote: >>> >>> >>>> Hi >>>> >>>> The loading animation for imagebox doesn't display properly. The >>>> animation has a white box behind the loading.gif animation and I would >>>> like to know how to change that white box to black or transparent? >>>> >>>> >>> It is the container div that holds the loading.gif that has a white >>> background. Unfortunately, you just can't set it to be transparant >>> since the white background also functions as the white border around >>> the image that you load into the very same container. >>> >>> A possible solution would be to begin with a transparant background >>> where the loading.gif start to run. When the image is loaded, change to >>> a white background, then change back to transparent when the loading.gif >>> is shown, etc.... >>> >>> Cheers, Tobbe >>> >>> >>> _______________________________________________ >>> jQuery mailing list >>> discuss@jquery.com >>> http://jquery.com/discuss/ >>> >>> >>> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> jQuery mailing list >> discuss@jquery.com >> http://jquery.com/discuss/ >> > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/