Heres my Code: <html>
<head> <title>jQuery</title> <script src="jquery-1.2.6.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $('p#p1').hide(); $('a#paragraphShow').click(function() { $('p#p1').show(); }); }); </script> </head> <body> <a href="" id="paragraphShow">Click to Display paragraph</a> <p id="p1"> Paragraph1 </p> <p id="p2"> Paragraph 2 </p> </body> </html> On Nov 6, 3:37 pm, Althalos <[EMAIL PROTECTED]> wrote: > Example is right here:http://docs.jquery.com/Effects/show > > How are you hiding your div? It should (preferably) be done using css > display:none; ... and then you have to make sure that what you do > doesn't conflict with anything else you might've put on there.. which > we can't know because you didn't post any code.. > > On 6 Nov, 20:54, jquerist <[EMAIL PROTECTED]> wrote: > > > So Im just starting to learn JQuery and im making a simple webpage > > that hides a paragraph when the page opens and then you click a link > > to view that paragraph. However when i run the script, the paragraph > > comes on for a second and then disappears. I searched for a fix and i > > havent found anything yet, so i came here. > > > Im using the newest version of Jquery (1.2.6) > > > Any help would be appreciated. > > > Thanks