Re: [WSG] The Evils of innerHTML

2006-01-19 Thread Martin Heiden
Joshua, on Wednesday, January 18, 2006 at 23:56 wsg@webstandardsgroup.org wrote: innerHTML doesn't work with XHTML, etc,. I know... and it's not a DOM method... but do people consider it okay to use when it seems otherwise impractical to use standard methods? Do you know the discussions at

Re: [WSG] The Evils of innerHTML

2006-01-19 Thread Justin Carter
On 1/19/06, Joshua Street [EMAIL PROTECTED] wrote: Is it? I'm using AHAH (H = HTML, as opposed to XML) to dynamically retrieve some content and innerHTML seems infinitely more sensible: ... innerHTML doesn't work with XHTML, etc,. I know... and it's not a DOM method... but do people consider

[WSG] addEventListener

2006-01-19 Thread Miika Mäkinen
Hi,I'm not sure if this is a right forum to ask this question, please tell me if it isn't...Anyways, what I need to do is to add a onclick event handler to some links, and make this return false. My goal is that users with _javascript_ turned on would go somewhere else than users without. Now, I

Re: [WSG] addEventListener

2006-01-19 Thread Richard Stephenson
Use the onclick event; a.onclick = function() { alert('not going there!');return false; } Its not an issue of standards it's in the javascript not the html. Richard -- DonkeyMagic: Website design development http://www.donkeymagic.co.uk **

Re: [WSG] addEventListener

2006-01-19 Thread Joshua Street
On 1/19/06, Richard Stephenson [EMAIL PROTECTED] wrote: Use the onclick event; a.onclick = function() { alert('not going there!');return false; } Its not an issue of standards it's in the javascript not the html. Richard http://webstandardsgroup.org/mail/guidelines.cfm # Implementing

Re: [WSG] The Evils of innerHTML

2006-01-19 Thread Robin Berjon
On Jan 19, 2006, at 11:15, Justin Carter wrote: If the response snippet of XHTML is valid once inserted into the page (obviously it is never viewed by itself) then I don't see where the argument is coming from. So am I missing something? Indeed, I always thought that having innerHTML not work

Re: [WSG] addEventListener

2006-01-19 Thread Miika Mäkinen
.onclick works as I said before... I was just under impression that onclick is not a preferred way of setting event handlers.Also, I wrote this also as I think that AddEventHandler SHOULD work? Shoudln't it? On 1/19/06, Joshua Street [EMAIL PROTECTED] wrote: On 1/19/06, Richard Stephenson [EMAIL

Re: [WSG] addEventListener

2006-01-19 Thread Richard Stephenson
Fair enough. Being a bit hast there wasn't i. However the support of the DOM2 Event handlers standards is still incomplete so as far i know and Mozilla apperas to have a bug with the return value. That may be your problem. http://www.gerd-riesselmann.net/archives/2005/03/a-firefox-javascript-bug

Re: [WSG] addEventListener

2006-01-19 Thread Martin Heiden
Miika, Today is my quirksmode day ;-) http://www.quirksmode.org/blog/archives/2005/10/_and_the_winner_1.html http://www.quirksmode.org/blog/archives/coding_techniques/memory_leaks/index.html I tend to use .onclick for attaching events to links, because it has fewer cross browser issues than the

Re: [WSG] addEventListener

2006-01-19 Thread Miika Mäkinen
Thanks a lot!That's not exactly a bug, it's how it's supposed to work:http://www.gerd-riesselmann.net/archives/2005/04/firefox-canceling-problem-solved On 1/19/06, Richard Stephenson [EMAIL PROTECTED] wrote: Fair enough. Being a bit hast there wasn't i. However the support ofthe DOM2 Event

Re: [WSG] addEventListener

2006-01-19 Thread Choan C. Gálvez
Miika Mäkinen escribió: [...] Anyways, what I need to do is to add a onclick event handler to some links, and make this return false. My goal is that users with javascript turned on would go somewhere else than users without. Now, I need the click event to return false, so that javascript users

Re: [WSG] CSS Icon

2006-01-19 Thread David Thompson
On 16 Jan 2006, at 12:15, Svip wrote: I thought that per standard you inserted the favicon.ico file in the parent directory to the site, and thus browsers would ask for it, and get it as they requested! The HTML is just if you specific pages on a site that needs their own favicons! As far as

[WSG] Title Attribute

2006-01-19 Thread Chris Kennon
Hi, My understanding of the title element appears shallow. Usage of the title attribute within an Object , Frame and link is well documented. However, when I encountered it with p title=some titleSome Text/ p my was took on a wide-eyed look of embarrassment, as I was unaware of its usage

Re: [WSG] Title Attribute

2006-01-19 Thread Christian Montoya
On 1/19/06, Chris Kennon [EMAIL PROTECTED] wrote: Hi, My understanding of the title element appears shallow. Usage of the title attribute within an Object , Frame and link is well documented. However, when I encountered it with p title=some titleSome Text/ p my was took on a wide-eyed look

[WSG] small screen rendering

2006-01-19 Thread designer
Hi all, I have just discovered the 'small screen rendering' tool in Firefox (web developer toolbar). Am I right in thinking this is an attempt to show what a site looks like on a mobile device or similar? Is it a good guide? etc. Any info much appreciated - it looks as though it's a great

[WSG] Glossary

2006-01-19 Thread Pat Boens
Hi All, What would be the best way to create a glossary: a table ? a definition list? something else? Thanks for your expert input. Pat

Re: [WSG] Glossary

2006-01-19 Thread Joshua Street
Definition list. It's a list of definitions ;-) On 1/20/06, Pat Boens [EMAIL PROTECTED] wrote: Hi All, What would be the best way to create a glossary: a table ? a definition list? something else? Thanks for your expert input. Pat -- Joshua Street http://www.joahua.com/ +61 (0) 425 808

RE: [WSG] Glossary

2006-01-19 Thread Nic
Hello Pat, You asked: What would be the best way to create a glossary: a table ? a definition list? something else? Answers.com gives the following definition for glossary: A list of often difficult or specialized words with their definitions, often placed at the back of a book. I think that

Re: [WSG] Glossary

2006-01-19 Thread Juergen Auer
Hello Pat, On 19 Jan 2006 at 22:06, Pat Boens wrote: What would be the best way to create a glossary: a table ? a definition list? something else? I had created a glossary with a definition list. (simple) sample: http://www.sql-und-xml.de/regex/glossar.html Regards, Juergen Auer

RE: [WSG] small screen rendering

2006-01-19 Thread Nic
Am I right in thinking this is an attempt to show what a site looks like on a mobile device or similar? Ayup :) Is it a good guide? etc. Well, yes and no. The problem is that so many of the browsers for handhelds/mobiles aren't rendering content the same way (familiar story). For

Re: [WSG] Title Attribute

2006-01-19 Thread russ - maxdesign
The flexibility of the title attribute (as opposed to the title element) can be seen in the ever-exciting W3 technical reports. Two places that are always a great read, and full of surprises are the List of attributes [1] and List of elements [2]. The list of attributes shows the title and has

Re: [WSG] Title Attribute

2006-01-19 Thread Chris Kennon
Thanks, The impression I'm getting from the replies today are title as an attribute, has inconsistent interpretation by most UA's. However, as an element it is essential to the document. Is this interpretation correct? Respectfully, Christopher Kennon Principal Creative Director

Re: [WSG] Title Attribute

2006-01-19 Thread russ - maxdesign
The impression I'm getting from the replies today are title as an attribute, has inconsistent interpretation by most UA's. However, as an element it is essential to the document. Is this interpretation correct? Steve's article would back up your comment that the title attribute is

Re: [WSG] small screen rendering

2006-01-19 Thread Terrence Wood
On 20 Jan 2006, at 10:37 AM, Nic wrote: For example, even if you declare a stylesheet for media=handheld, Explorer for the handheld will still use some of the screen stylesheet. This makes it near impossible designing a proper style for handhelds. Thankfully, Explorer isn't the only HH

RE: [WSG] small screen rendering

2006-01-19 Thread Nic
Thankfully, Explorer isn't the only HH browser ;-) Ya, but... If you want your visitors to see the site properly, considering the majority of HH ship with IE, you can't expect them know how to change browsers. They rarely do on their PC to start with, on the HH is even worse ;) Cheers Nic

Re: [WSG] small screen rendering

2006-01-19 Thread heretic
I have just discovered the 'small screen rendering' tool in Firefox (web developer toolbar). Am I right in thinking this is an attempt to show what a site looks like on a mobile device or similar? Is it a good guide? etc. That's the theory, but with the vagaries of handheld/small screen

Re: [WSG] .htm include file into another .htm

2006-01-19 Thread Elton Okada
On IIS you can use server side includes in a .htm file.Do this: Open IIS - website (righ button) - properties - home directory - configuration - Add. So, you will associate the .dll asp to .htm extension like this: Executable: C:\WINDOWS\system32\inetsrv\asp.dll Extension: .htmRegardsEltonOn

Re: [WSG] small screen rendering

2006-01-19 Thread Justin Carter
On 1/20/06, heretic [EMAIL PROTECTED] wrote: I have just discovered the 'small screen rendering' tool in Firefox (web developer toolbar). Am I right in thinking this is an attempt to show what a site looks like on a mobile device or similar? Is it a good guide? etc. That's the theory,

RE: [WSG] Glossary

2006-01-19 Thread Pat Boens
Thanks Joshua. It's what I thought ... But it's not what I have implementend so far. Need to change that: http://www.fastwrite.be/glossary.php?letter=a Thanks again, Pat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Street Sent: jeudi 19

RE: [WSG] Glossary

2006-01-19 Thread Pat Boens
Thanks for the sample Juergen. ;-) Cheers, Pat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Juergen Auer Sent: jeudi 19 janvier 2006 22:31 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Glossary Hello Pat, On 19 Jan 2006 at 22:06, Pat Boens

RE: [WSG] Glossary

2006-01-19 Thread Pat Boens
Hello Nic, It's what I thought ... but this is not what I implementend! Need to change that: http://www.fastwrite.be/glossary.php?letter=a Thanks again, Pat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nic Sent: jeudi 19 janvier 2006 22:16 To: