Thanks guys - came to the same conclusion shortly after posting the question.
Thanks Paul On Aug 6, 7:52 pm, "Richard D. Worth" <rdwo...@gmail.com> wrote: > Use > window.location > = "index.php?whichPage=slider&whichAct=0&subPage=mixnmingle"; > - Richard > > On Thu, Aug 6, 2009 at 2:35 PM, paul.mac > <paul.mcma...@uuconstruct.co.uk>wrote: > > > > > I want to add a click function to an image to laod a new page > > > Tried this but it doesn't work > > > $("#i4").click(function(){ > > $(document).attr("href","index.php? > > whichPage=slider&whichAct=0&subPage=mixnmingle"); > > }); > > > The whichAct variable in the query string gets changed, which is why > > it isn't just a static <a hef="...">...</a> > > > Any suggestions? > > > Thanks > > > Paul