RE: [WSG] Idiot's guide to JavaScript

2007-11-14 Thread James Leslie
Hi guys, Am comfortable with HTML/CSS and accessibility in general, but struggle with JavaScript. I'm not a developer by trade, am a business type (sales and marketing) so most oft he stuff is well over my head. I am looking for a really basic, plain English guide to JavaScript. Either on or

[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. ...

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

2007-11-14 Thread Sébastien Sauvé
Hi Simon, You should use HTML entities to encode those characters. You can view a list of those entities here : http://www.w3.org/TR/html401/sgml/entities.html But to answer your question quickly, should be written as gt;, and as lt;. Cheers, Sebastien On Nov 14, 2007 9:42 AM, Simon

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

2007-11-14 Thread Mohamed Jama
http://www.webstandards.org/learn/reference/charts/entities/ Always found it to be very useful _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Leslie Sent: 14 November 2007 15:08 To: wsg@webstandardsgroup.org Subject: RE: [WSG] Less than and greater than in

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

2007-11-14 Thread Tom Roper
Simon, Less than is lt; and more than is qt; So it would be The quick brown fox said 3 is less than 4, then he wrote 3 lt; 4. best Tom On 14 Nov 2007, at 14:42, Simon Cockayne wrote: Hi, How should I code less than and greater than signs in UTF-8 encoded HTML? I.e. I want

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

2007-11-14 Thread James Leslie
How should I code less than and greater than signs in UTF-8 encoded HTML? less than = lt; greater than = gt; You might find this useful: http://leftlogic.com/lounge/articles/entity-lookup/ James

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

2007-11-14 Thread Mike at Green-Beast.com
Hello Simon, How should I code less than and greater than signs in UTF-8 encoded HTML? The quick brown fox said 3 is less than 4, then he wrote 3 4. The quick brown fox said 3 is less than 4, then he wrote 3 lt; 4. Greater than, , is written as gt; Cheers. Mike Cherim

[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

Re: [WSG] IE layout glitch on Blog

2007-11-14 Thread Dave Woods
Looks like it's more likely to do with your use of the pre tag. Firefox is allowing the content to overflow into the other container whilst IE6 won't. The easiest fix would probably be to use some kind of overflow: auto; in that section of the page along with a width to force a scrollbar on any

RE: [WSG] How to better center the YUI overlay

2007-11-14 Thread Cynthia Mack
Thanks Cynthia Mack Omnipath custom learning solutions 6135 Memorial Drive, Suite 103 Dublin, OH 43017 614-389-0743 [EMAIL PROTECTED] The doors of Opportunity are marked Push and Pull. - Ethel Watts Mumford -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [WSG] i want to know the basic of aspx or javascript for web

2007-11-14 Thread Michael Horowitz
The question you need to first ask is what do they want the site to do, then you can decide on the language. I notice your title is including aspx which is asp.net which only runs on a Windows server. PHP runs on both Unix and Windows but typically is used on Unix The best basic tutorial

Re: [WSG] Idiot's guide to JavaScript

2007-11-14 Thread Chris Knowles
Rob Mason wrote: I am looking for a really basic, plain English guide to JavaScript. I highly rate this book - easy to read and understand: http://www.quirksmode.org/book/ -- Chris Knowles *** List Guidelines:

[WSG] Javascript

2007-11-14 Thread Michael Horowitz
I have a form that starts with choosing a category and a subcategory. The categories and subcategories are read from a mysql database using a PHP script. When New is chosen from Category I want the Category chose to change from a select to a text input box for both the Category and

Re: [WSG] Idiot's guide to JavaScript

2007-11-14 Thread Olly Hodgson
On Nov 14, 2007 9:44 PM, Chris Knowles [EMAIL PROTECTED] wrote: Rob Mason wrote: I am looking for a really basic, plain English guide to JavaScript. I highly rate this book - easy to read and understand: http://www.quirksmode.org/book/ http://domscripting.com/book/ is very good too. --

[WSG] How to send two values to javascript

2007-11-14 Thread Michael Horowitz
I have examples using one value onchange=showSubcategory(this.value) from a form to a script. What if I need to send two values one from the current element in the form and one from another element Thanks -- Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com

Re: [WSG] Idiot's guide to JavaScript

2007-11-14 Thread Lars Michael Sørensen
I recommend http://www.tizag.com/javascriptT/ - they have a lot of other tutorials as well. Very easy to follow, all the way through. /lmss 2007/11/14, Olly Hodgson [EMAIL PROTECTED]: On Nov 14, 2007 9:44 PM, Chris Knowles [EMAIL PROTECTED] wrote: Rob Mason wrote: I am looking for a

Re: [WSG] form destiantion

2007-11-14 Thread Michael Horowitz
Didn't see a form when I went there but was wondering what problem you were having. What language are you using to process the form. Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 Marvin Domalaon wrote: Good day to everyone, I have sample site

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Benedict Wyss
I believe it is as follows; onchange=showSubcategory(name, email, message) --- if they are the name=name and name=email, etc. or, if you want to parse text, then onchange=showSubcategory(banana, orange, apple) -- So when it arrives at the script it becomes an array starting at [0] to be used

Re: [WSG] Help (another topic)

2007-11-14 Thread Michael Horowitz
PHP allows you to do this Display The IP Address So, if you want to display the IP Address to the user then the following page will suffice: ?php echo Hello! Your IP Address is: . $_SERVER['REMOTE_ADDR']; ? http://whn.vdhri.net/2005/11/find_a_visitors_ip_address_with_php.html Michael

Re: [WSG] Web Form Best Practices

2007-11-14 Thread John Faulds
Here's a recent one that might prove useful: http://www.digital-web.com/articles/redesigning_ebay_registration/ On Thu, 15 Nov 2007 08:55:46 +1000, Howard Kim [EMAIL PROTECTED] wrote: I hope this question is appropriate for this list. I'm doing some research on best practices for

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Olly Hodgson
On Nov 14, 2007 10:37 PM, Michael Horowitz [EMAIL PROTECTED] wrote: I have examples using one value onchange=showSubcategory(this.value) from a form to a script. What if I need to send two values one from the current element in the form and one from another element

[WSG] Web Form Best Practices

2007-11-14 Thread Howard Kim
I hope this question is appropriate for this list. I'm doing some research on best practices for creating web forms with the following in mind: * Accessibility * Semantic Markup with CSS * Form Layout Design I would like to come up with some form templates for my organization based on best

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Olly Hodgson
On Nov 14, 2007 11:11 PM, Olly Hodgson [EMAIL PROTECTED] wrote: onchange=showSubcategory(this.value, document.getElementById(anotherElement).value); While I'm here, two points: Doing anything major using the onchange event isn't a great idea. The reason being it can scupper keyboard users --

Re: [WSG] Web Form Best Practices

2007-11-14 Thread Howard Kim
Thanks John. In my own searching I also found - http://www.lukew.com/ff/entry.asp?545 - which I thought might be useful to others. ~Howard John Faulds wrote: Here's a recent one that might prove useful: http://www.digital-web.com/articles/redesigning_ebay_registration/ On Thu, 15 Nov 2007

Re: [WSG] Web Form Best Practices

2007-11-14 Thread Steve Baty
Howard, I highly recommend Luke Wroblewski's work on form layout design best practice. You can find Luke's discussion article here: http://www.lukew.com/resources/articles/web_forms.html and here: http://www.lukew.com/ff/entry.asp?144 Luke is also working on a book on the subject:

Re: [WSG] Web Form Best Practices

2007-11-14 Thread Mike at Green-Beast.com
Hello Howard, some form templates Any help focusing my search? I can offer a demo form [1] and a post about some (hopefully) best practices [2]. There is also an accessible form builder [3] at Accessify.com. No templates per se, but maybe these will be helpful. [1]

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Michael Horowitz
I just ordered the book. Thanks for the help I test out the solutions given. Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 Olly Hodgson wrote: On Nov 14, 2007 11:11 PM, Olly Hodgson [EMAIL PROTECTED] wrote: onchange=showSubcategory(this.value,

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Michael Horowitz
Having trouble so I went to testing with one element like this select name=category onchange=showSubcategory(document.getElementById(category).value) and firebug shows a syntax error. I tried it again taking oub the select name=category

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Casey Farrell
Try using single quotes, as in: select name=category onchange=showSubcategory(document.getElementById('category').value) Michael Horowitz wrote: Having trouble so I went to testing with one element like this select name=category

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Michael Horowitz
I've tried single quotes and keep getting the error document.GetElementByID has no properties Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 Casey Farrell wrote: Try using single quotes, as in: select name=category

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Michael Horowitz
I think you may have something with this secondSelect.items as I am using a select menu. Can you explain where I would put my variable names in here please. Thanks Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 Kit Grose wrote: On 15/11/2007, at

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Michael Horowitz
I think I understand it no need for more explanation. It's too late at night and I am working with twins in the room and a wife at the airport Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 Kit Grose wrote: On 15/11/2007, at 3:34 PM, Casey Farrell

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Michael Horowitz
That solves problem number 1 Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 Casey Farrell wrote: It must not be finding the element... does the element you are looking for in the document have id=category? Michael Horowitz wrote: I've tried single

Re: [WSG] Navigation - Pseudo Standards?

2007-11-14 Thread Christian Snodgrass
I think it really comes down to which you want to be more important, site navigation or the products. If you only have like 2 pages besides product navigation and your site is basically an online store, I would put the products on the left. If you are a site with content that just happens to

[WSG] Navigation - Pseudo Standards?

2007-11-14 Thread Christie Mason
We're having an internal discussion about the placement of site navigation (Contact Us, etc) vs Product Navigation (Search, Category 1, Category 2, etc) in a 3 column layout with | Navigation |Content | Navigation | Some feel the site navigation should be in the left column with

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Casey Farrell
It must not be finding the element... does the element you are looking for in the document have id=category? Michael Horowitz wrote: I've tried single quotes and keep getting the error document.GetElementByID has no properties Michael Horowitz Your Computer Consultant

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Brian Cummiskey
Michael Horowitz wrote: select name=subcategory id = subcategory onchange=showSubcategory2(document.getElementById('category').value,document.getElementById('subcategory').value) try this: select name=subcategory id=subcategory

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Kit Grose
The issue is that selects themselves don't have values. You notice the value is on the option tag, not the select. So you can't just get the .value of the element with ID 'subcategory'; you need to get the value of the currently selected item OF that select box. That can be done as an