At 11:19 AM 07/06/2002 +0100, John P. Looney wrote:
> I was wondering - anyone know how DHTML works ? My understanding is a
>little limited in that I'm not sure how the DOM works, and the docs are
>really complex, so I'll leave it till I understand a bit, before diving
Well I have a good idea how. Its best based on the DOM - a tree structure
of all HTML elements in the page - and manipulating the CSS (and other)
properties of those elements.
> Say I've a page with a div called "content". I want to be able to
>reposition the div, in the same was as yer man repositions an image on
>http://www.mozilla.org/start/1.0/demos/eagle-sun.html>> However, you can click on an image. You can't click on a div. So, I was
>thinking, how about have a <h2> element in that div that I could click on.
>Can I then just give that <h2> a "title" of "windowbar", and then access
use "id" not "title" ...
>> content.windowbar ?
myDIV = document.getElementById("content")
myWindowbar = document.getElementById("windowbar")
> Most confusing all this.
>John Looney Chief Scientist
>a n t e f a c t o t: +353 1 8586004
>www.antefacto.com f: +353 1 8586014
>Webdev mailing list
>Webdev at linux.ie>http://www.linux.ie/mailman/listinfo/webdev
Lee Hosty -x- hostyle AT csn.ul.ie -x- +353 (0)86 8768780
We won't follow religion, we are one. - Arch Dandy, Marilyn Manson
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!