[WSG] document.getElementById slow?

2007-10-05 Thread Simon Cockayne
Hi, http://developer.mozilla.org/en/docs/Using_Web_Standards_in_your_Web_Pages states: The best and most supported practice for getting scriptable access to an element in an HTML page is to use document.getElementById(id). A colleague of mine reckons such access will be much slower than

[WSG] window.event.keycode works for IE, not for firefox

2007-10-08 Thread Simon Cockayne
Hi, window.event.keycode works for IE to capture key input, not for Firefox. Firefox throws an error window.event has no properties. Sowhat code can be used for both? *** My HTML snippet: body onKeyDown=setCmdKeyIE(); ... /body *** My Javascript snippet: function setCmdKeyIE() {

[WSG] Re: window.event.keycode works for IE, not for firefox

2007-10-08 Thread Simon Cockayne
Hi, I found a cross-browser (IE and Firefox) method on www.javaranch.com (which is down at the moment). 1) Dispense with onkeydown in body and use document.onkeydown instead. 2) Then in the key-handling script...declare evt as a parameter. 3) Then populate nbr with event.keyCode if

[WSG] DOCTYPE prevents script processing in IE!

2007-10-08 Thread Simon Cockayne
Hi, Adding DOCTYPE stops page functioning with IE! The following HTML works (in QUIRKS) for both IE and Firefox...alertING Key Pressed!...erm...when a key is pressed. html lang=en-US head title Keypress testing. /title

[WSG] Re: DOCTYPE prevents script processing in IE!

2007-10-08 Thread Simon Cockayne
Hi, So I fixed the problem by specifying... document.onkeydown = handleKeyPress; ...rather than inline in the bodytag as before...and now IE and Firefox both work and both validate. !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html lang=en-US

[WSG] Image chooser

2007-10-12 Thread Simon Cockayne
Hi, Anyone recommend an image chooser? (You know...display a bunch of thumnails and allow some action based on clicking one) Cheers, Simon *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe:

[WSG] Jquery and/or Yahoo UI

2007-10-12 Thread Simon Cockayne
Hi, Anyone using jQuery (http://jquery.com/) or Yahoo UI ( http://developer.yahoo.com/yui/) ? Do they, help to, build nice Standards based apps? Am I going to see green lights* in Firefox for standards compliance, error-free CSS and Javascript...oh...and will the HTML and CSS validate? *I LOVE

[WSG] Which screen reader to test with?

2007-10-16 Thread Simon Cockayne
Hi, What screen reader(s) should one test with? Seemingly WSG is keen on the development of web sites that are compatible with vision-impaired users and more specifically those who use screen-readers. It's a laudable goal...but screen reader software seems quite expensive...Jaws $1000 approx.

[WSG] Padding Hebrew in CGI POST

2007-10-16 Thread Simon Cockayne
Hi WSG folks, How can I ensure that field values from a Hebrew field arrive in a POSTED CGI string with any spaces on the right (start of Hebrew) field, intact? I have a HTML form that contains a mixture of Hebrew and English fields. HTML page is !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Simon Cockayne
Hi, Someone suggested using a PDF icon. Is this something you can get from adobe? Simon *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help:

[WSG] Javascript focus()...cursor at start of space-filled field in IE, but at end of space-filled in Firefox

2007-10-19 Thread Simon Cockayne
Hi /* It's Friday - hurrah! */ PROBLEM: Javascript focus()...puts cursor at START of space-filled field in IE 6, but at END of space-filled in Firefox 2. Any way (without changing the field value to be ) to get the cursor to appear at the start of the field in Firefox? !DOCTYPE HTML PUBLIC

[WSG] Re: WSG Digest

2007-10-20 Thread Simon Cockayne
* From: Chris Knowles [EMAIL PROTECTED] Date: Fri, 19 Oct 2007 21:15:22 +1000 Subject: Re: [WSG] Javascript focus()...cursor at start of space-filled field in IE, but at end of space-filled in Firefox Simon Cockayne wrote: Hi /* It's Friday

[WSG] Re: WSG Digest

2007-10-21 Thread Simon Cockayne
Hey Nate, Nice one...I will try this. Thanks Si * From: nate hanna [EMAIL PROTECTED] Date: Sat, 20 Oct 2007 09:40:42 -0400 Subject: Re: [WSG] Javascript focus()...cursor at start of space-filled field in IE, but at end

[WSG] Re: WSG Digest

2007-10-21 Thread Simon Cockayne
Hey Chris, Nice options. Thanks. * From: Chris Knowles [EMAIL PROTECTED] Date: Sun, 21 Oct 2007 08:43:46 +1000 Subject: Re: [WSG] Re: WSG Digest Simon Cockayne wrote: Hi Chris, I'd like bother browser to behave

[WSG] WCAG conformance and checking

2007-10-26 Thread Simon Cockayne
Hi, I am on a mission to get the microsite that I built for my wife http://phd.london.edu/ygrushkacockayne/ to conform to W3C's Web Content Accessibility Guidelines 1.0, available at http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505, level Double-A. I am reading

[WSG] Alt text for purely aesthetic images

2007-10-26 Thread Simon Cockayne
Hi, http://www.w3.org/TR/WCAG10/ Guideline 1. Provide equivalent alternatives to auditory and visual content 1.1 Provide a text equivalent for every non-text element (e.g., via alt, longdesc, or in element content). *This includes*: images, graphical representations of text (including symbols),

[WSG] Re: Alt text for purely aesthetic images

2007-10-26 Thread Simon Cockayne
Hi again... Whoops...butterfingers I unwittingly hit send before completing my email. Anywise...here is what it should have said: Hi, WCAG 1.0 (http://www.w3.org/TR/WCAG10/) states: Guideline 1. Provide equivalent alternatives to auditory and visual content Provide content that, when

[WSG] Re: WSG Digest

2007-10-26 Thread Simon Cockayne
Hi Dave, First off, thanks for the feedback. I do have the Firefox Web Developer tool bar...for some reason the toolsvalidate local accessibility seems to hang...possibly a firewall sisue..i will check on a different network. RE: http://phd.london.edu/ygrushkacockayne/index.html, you said...

[WSG] WCAG conformance and checking

2007-10-26 Thread Simon Cockayne
Hi Jen, Ooh...http://www.tawdis.net/taw3/cms/en is nice. Thanks! Simon *** From: Jens Brueckmann [EMAIL PROTECTED] Date: Fri, 26 Oct 2007 13:21:42 +0200 Subject: Re: [WSG] WCAG conformance and checkingWCAG conformance and checking Hi Simon, I realize no

[WSG] Fwd: WSG Digest

2007-10-27 Thread Simon Cockayne
Hi James, Ok, that's good statement. I like it. Aesthetic goes in CSS and therefore no need for ALT text. Cheers, P.s. My wife was flattered by your compliment. :-) * From: James Jeffery [EMAIL PROTECTED] Date: Fri, 26 Oct

[WSG] Accessibility awareness vs site's cleanliness

2007-10-27 Thread Simon Cockayne
Hi, So...again with reference to http://phd.london.edu/ygrushkacockayne/ I am on track to add the WCAG conformance logo: http://www.w3.org/WAI/WCAG1-Conformance.html and the XHTML compliance could also be added (and CSS I suppose)... However, my client (my wife) is none too happy about me adding

[WSG] Toggle L2 menu items (within WCAG)

2007-10-28 Thread Simon Cockayne
Hi, I am using an ul to store level 1 menu items li, each of which directs to a page representing a topic. I know have a requirement to add in level 2 menu items (zero or more beneath each L1 menu item, when user clicks(selects) an L1 menu, the L2 options should become visible. ul id=navmenu

[WSG] Re: WSG Digest

2007-10-29 Thread Simon Cockayne
Hi Frank, Thanks for feedback. * What happens with CSS/Javascript disabled? WCAG 1.0, rightly, wants graceful degradation of CSS/Javascript is disabled...and so do I. So...*without* using an alternate page...(e.g. a text only ghetto...scary)...I'd like my (X)HTML-only page to give all the menu

[WSG] CSS display: none has SEO impact?

2007-10-29 Thread Simon Cockayne
Hi, I am sure I read that CSS's display: none has a detrimental on SEO. Is this true* or did I dream it? *To clarify...I am keen to know if it is true that there is a detrimental impact...not whether it is true that I read it or not. Cheers, Simon

[WSG] Less than and greater than in UTF-8 encoded HTML

2007-11-14 Thread Simon Cockayne
Hi, How should I code less than and greater than signs in UTF-8 encoded HTML? I.e. I want them to appear on the web page as follows: ... The quick brown fox said 3 is less than 4, then he wrote 3 4. ...

[WSG] IE layout glitch on Blog

2007-11-14 Thread Simon Cockayne
Hi, I am not the owner of http://www.shield.on.ca/Blog/index.php ... But...I am puzzled as to why the navigation sidebar drops down below the blog content in IE 6...but appears fine and dandy (top right immediately below the header) in Firefox 2. Any ideas? I am thinking it is an IE double

[WSG] preserve whitespace

2007-12-11 Thread Simon Cockayne
Hi, !-- Happy Holidays one and all! -- I have an HTML page and I want to (well my client wants me to) preserve leading blanks in the value of a table data cell. I could use pre /pre around the data. Or I could use an nbsp; for each leading blank. Any others? What is the standard way to do

[WSG] File comparison tool for Dreamweaver CS3

2007-12-17 Thread Simon Cockayne
Hi there, What file comparison tool would you recommend for Dreamweaver CS3? http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda9110b1f693f21-7edc.htmlstates: Before you start, you must install a third-party file comparison tool on your system. For more

[WSG] Cannot go back

2008-01-17 Thread Simon Cockayne
Hi, I use an internal web application that someone else coded. Once I have navigated to URL for this web app (from whenever I was) I can never go back to where I came from...which is very frustrating. The developers of the web app say that the back button processing has been overridden and it

[WSG] Where did I come from?

2008-01-18 Thread Simon Cockayne
Hi, I am on a webpage...how do I know what page the browser was previously showing. I think Javascript History object is the ticket...but STRICT mode in Firefox seems to tell me that I don't have permission to access it. NOTE: I don't want to use the History object to go back or forward...I

[WSG] Re: Where did I come from?

2008-01-18 Thread Simon Cockayne
:24 PM, Simon Cockayne [EMAIL PROTECTED] wrote: Hi, I am on a webpage...how do I know what page the browser was previously showing. I think Javascript History object is the ticket...but STRICT mode in Firefox seems to tell me that I don't have permission to access it. NOTE: I don't want