You are here: Re: Basic DHTML question « HTML « IT news, forums, messages
Re: Basic DHTML question

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация