Re: [jQuery] Show/hide div based on URL parameter

2010-02-17 Thread dikker
Thank you Andrei! Nice and simple, very well! Andrei Eftimie wrote: > > >$(function(){ >if (document.location.href.indexOf('showdiv=yes') > 0) > $("#display").show(); >}); > > > On Sat, Feb 13, 2010 at 5:37 PM, dikker wrote: >> >> Hi guys, >> >> Am a beginner

Re: [jQuery] Show/hide div based on URL parameter

2010-02-14 Thread Andrei Eftimie
$(function(){ if (document.location.href.indexOf('showdiv=yes') > 0) $("#display").show(); }); On Sat, Feb 13, 2010 at 5:37 PM, dikker wrote: > > Hi guys, > > Am a beginner with Jquery and what i want is as follows. > I have a div that should be hidden on default, b