Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »Programming Forum

Notices

Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc.


Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 12-05-2008, 06:48 PM
zumojuice's Avatar
100% Freshly Squeezed™
 
Join Date: Feb 2007
Location: York
Gender: Male
Posts: 2,910
Default

it degrades into a accessible document? do you not want it to be accessible?
__________________
Richard Gray
http://www.zumojuice.me.uk
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #22 (permalink)  
Old 12-05-2008, 06:53 PM
Joe.Morgan's Avatar
The Super Chicken Mod
 
Join Date: Jan 2007
Location: West London
Gender: Male
Posts: 657
Default

Hi Carl,

As you correctly mentioned in your post over on the Web dev forum, it is for my university work. I am currently on a gap year studying from distance with no learning material apart from what I can find on the web. So needless to say I am struggling a bit. There were four parts to my assignment:

Plain XML, XML with XSLT, XML to HTML with javascript and styling with CSS, XML to Flash.

XSLT and XML to flash I managed to learn and complete without to much trouble but after about a week of searching and experimenting I just could not get my head around the XML to HTML with javascript.

Thanks for all your help though.

Joe
__________________
Joe Morgan
.Be Kids - Live Strong

Last edited by Joe.Morgan; 12-05-2008 at 07:02 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #23 (permalink)  
Old 12-05-2008, 11:51 PM
Member
 
Join Date: May 2008
Location: Yorkshire, England
Gender: Male
Posts: 85
Default

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:
it degrades into a accessible document? do you not want it to be accessible?
The whole idea of "degrading" a document means stripping away a layer of functionality but maintaining content semantics, i.e., in the previous example:

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.

Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #24 (permalink)  
Old 14-05-2008, 12:44 AM
Mack's Avatar
I own the flash design thread.
 
Join Date: May 2007
Location: RI, USA
Gender: Male
Posts: 1,246
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Mario jinny Games 7 04-06-2008 07:47 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 10:06 PM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5