开发者

How to put visibility: visible on this slideshow script?

I asked a question related to this one previously but I need to know how to put "visibility: visible;" for this type of slideshow:

http://www.efectorelativo.net/laboratory/viewer/

We're using "Sample 5."

I placed "visibility: hidden;" for the class "box5."

What I like to happen is for the slideshow's visibility to be initially hidden. Then when the javascript is finally loaded, that's the only time the photos/text would be shown.

The reason for this is that when the page is still loading, the group of images and text we used for the slideshow kind of overlaps and is quite ugly (it only shows for about 3 seconds before the javascript is finally loaded to show only开发者_开发百科 1 group of image and text at a time).

How do I insert the "visibility: visible;" inside the jQuery script? This is the direct link to the script:

http://www.efectorelativo.net/laboratory/viewer/_class.viewer.packed.js


this should work:

$(function(){ $('#ID').css('visibility','visible'); });

or

$('#ID').css({visibility:'visible'});

if you don't know the ID of the element you want to make visible, use a different jquery selector.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜