OnPage Load display one sentence - hide others
Posted
by Paul
on Stack Overflow
See other posts from Stack Overflow
or by Paul
Published on 2010-06-06T20:50:23Z
Indexed on
2010/06/06
20:52 UTC
Read the original article
Hit count: 440
JavaScript
|jQuery
Hi
I have created http://techavid.com/design/test3.html and when you load the page you see there are 3 images. The sun image is focused(in color), while the others are greyed out until clicked. That is how it should be for the images.
Under each image you see a sentence 1st: Sun, 2nd: Airplane & 3rd: Nano, but when page loads you see all three sentences. How to make it so when page loads the first sentence underneath the active image (sun) shows only and the others do not show, they only show when clicked (though that works just need to figure out onpage load only show "1st: Sun")?
thanks :)
paul J.
© Stack Overflow or respective owner