![]() |
|
|||||||
| Notices |
| Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi Joe,
Quirks mode has a good introduction to the Document Object Model: JavaScript - W3C DOM - Introduction. You can also just google the term and get countless references that will show you different ways to do what you need to: document object model - Google Search The trick is knowing what to search for :) If you need any more help the guys over at webdeveloper will be more than willing to explain things, although sometimes they tend to tell you what you should be doing instead of what you want to do; so it would be imperative that you told them it was for an assignment. As a general rule you should never use Javascript to display data, the content needs to be accessible to everybody that accesses your website, not a lot of courses show you how to achieve that so it can be a bit of a learning curve in the real world. If you haven't looked into it then this is a good starting place: All You Need For Accessibility - Tutorials, Tools, Books, Validators, etc (Part II) - WebDeveloper.com Kind Regards Carl P.S (zumojuice) Quote:
An XSL stylesheet transforms an XML document into an XHTML document. The document is styled so that the name of the country is displayed above the text describing the country's oil production using divs. The Javascript then iterates through all of the divs changing the colour of the country names, hides the descriptions and sets a function to toggle the visibility of the descriptions. The document will now be accessible to those without Javascript as the extra functionality was added on a seperate layer above the document format i.e., the only time content is changed (hidden in this case) is when the browser can handle Javascript. To make this even more accessible the XSL transformation should be done server side. ![]() |
|
||||
|
FCOL.
I should have realized there was 3 pages here before i just made up the html page to help you out. my bad for not getting back to you sooner, i see you've got the problem fixed.
__________________
"If at first you don't succeed, try again. Then quit. No use being a damn fool about it." Mike McKenzie - Online Portfolio |
![]() |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Javascript Mario | jinny | Games | 2 | 02-05-2008 05:56 PM |
| Javascript SmoothGallery 2.0 | Graphic Design Links | Graphic Design Links | 0 | 24-01-2008 12:10 PM |
| Yahoo & Javascript | Toon | General Web Design Forum | 0 | 12-12-2007 08:05 PM |
| my javascript website | solidgold | Web Design Forum Showcase | 5 | 12-06-2007 06:24 PM |
| New Javascript Menu | Toon | General Web Design Forum | 1 | 26-03-2007 01:31 PM |
| All times are GMT. The time now is 07:58 AM. |
