Re: Href syntax

by "Hilma" <Hilma(at)hilma.freeserve.co.uk>

 Date:  Sat, 13 Apr 2002 10:02:21 +0100
 To:  "Hilma" <Hilma(at)hilma.freeserve.co.uk>,
<hwg-basics(at)hwg.org>
 References:  nrc hilma
  todo: View Thread, Original
Got it- i've been pointed at onClick which does the job - 

<a href="#RockeryB" onClick="Toggle('Rockery');"> Rockery Stones</a>

When trying to execute 2 statments, i didn;t think to use a 3rd instead! 

h.


----- Original Message ----- 
From: "Hilma" <Hilma(at)hilma.freeserve.co.uk>
To: <hwg-basics(at)hwg.org>
Sent: Saturday, April 13, 2002 9:03 AM
Subject: Href syntax


> I hope someone can help on this one - 
> 
> I know i can use an href to jump to a place in my html page using an ID: 
> 
> <a href="#GraniteT"> Rockery </a>
> 
> And i know i can use an href to execute some JavaScript: 
> 
> <a href="javascript:Toggle('Granite')"> Rockery </a>
> 
> But what i want to do, is jump *and* execute.
> 
> Is this possible; and if so, how?!
> 
> many thanks -
> hilma.
> --x-----
> 
> 

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA