|
From: itinko on 8 Feb 2006 12:57 I have a div whose only purpose is to display the logo image using background-image... I would like to make this clickable to return to the home page and have a cursor change when mousing over. I tried: <div id="logoHolder" onclick="window.location.href='../default.aspx'; return false;"></div> but nothing happens when I click. Can anyone suggest a way to do this properly or direct me to a sample/discussion? Thanks much!
From: itinko on 8 Feb 2006 12:59 never mind! turns out I had updated from template but failed to save an open page I was testing with so was testing an outdated page. Sheesh! Sorry!
From: Michael Fesser on 8 Feb 2006 13:34 ..oO(itinko) >I have a div whose only purpose is to display the logo image using >background-image... I would like to make this clickable to return to the home >page and have a cursor change when mousing over. > I tried: > <div id="logoHolder" onclick="window.location.href='../default.aspx'; return >false;"></div> > but nothing happens when I click. Better: <a href="/"><img src="logo.jpg" alt="homepage"></a> Micha
|
Pages: 1 Prev: Advantage/Disadvantage to SSI? Next: Changing Text Link Size and Color |