swdean wrote:
> Hey thank you guys
> I am gonna do a bit more homework on this
> Thanks for the tips for now!
> :)
>   

You should read about the techniques of "progresive enhancement" and 
"unobtrusive javascriot".

The first one stays, that a website should be one hundred percent usable 
without any
css and javascript, and only enhanced by it. So, in your example, you 
should make your
div visible in the html, and hide it if javascript is enabled.

The second techniqe is used to separate javascript from content, so it 
does not pollute the html.

Both of them are good practices you should consider learning and using, 
as they will make your
sites better in many aspects, and will save you many hours of 
maintenance work after the sites are
created.

-- 
Best regards,
SWilk

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to