|
Posted by Jonathan N. Little on 02/04/07 04:25
liamo wrote:
> i use dhtml on my anchor links to have the page scroll down to the
> place.
A link with a fragment, example:
<a href="http://www.example.com/sample.html#anchorName">To Anchor</a>
the bit after the '#' is the fragment if found on 'sample.html' a named
anchor:
<a name="anchorName"></a>
or any element with 'id' set to that anchor name:
<p id="anchorName">Lorem ipsum dolor sit amet, consectetuer...
if the above link is clicked then the browser will scroll page to put
such anchor in view. No DHTML required.
> its just javascipt and html , no? should be jhtml..?
As above no JavaScript required, just HTML and the browser will do the
rest. I have no idea what 'JHTML' has to do with anything, Java also is
not required.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|