Re: [WSG] Stadards Site Section

2004-10-25 Thread Jeremy Keith
Mordechai Pellar wrote: Very nice, though it would be even nicer were your JavaScript to be external. Here's one way of doing that... In your (X)HTML, assign a class of popup to any links that you want to open in a new window: a href=foo.bar class=popuplink text/a Then in a JavaScript file

Re: [WSG] Stadards Site Section

2004-10-25 Thread Chris Kennon
Hi, So the most standards compliant method would be loading each portfolio piece into a new window without JS. So if this is the case, why have so many sites resorted to the carnival that is often JS, with window upon window soaking up screen real estate? C On Sunday, October 24, 2004, at

Re: [WSG] Stadards Site Section

2004-10-25 Thread Patrick H. Lauke
Chris Kennon wrote: So the most standards compliant method would be loading each portfolio piece into a new window without JS. So if this is the case, why have so many sites resorted to the carnival that is often JS, with window upon window soaking up screen real estate? Simple answer: because

Re: [WSG] Stadards Site Section

2004-10-25 Thread Natalie Buxton
ALA has a fantastic article on creating accessible Popups - and I use their method of calling content to the same window name for things like portfolio pieces and larger images of product items. It degrades very nicely if JS is disabled, and scales well. Loading everything into the single window

Re: [WSG] Stadards Site Section

2004-10-25 Thread Jeremy Keith
Chris Kennon wrote: So the most standards compliant method would be loading each portfolio piece into a new window without JS. Perhaps I've misunderstood you here. Do you man the same window or a new window? If you mean a new window then the only way you can do it without JavaScript is to use

Re: [WSG] Stadards Site Section

2004-10-25 Thread Chris Kennon
Hi, Just what the was desired! C On Monday, October 25, 2004, at 04:30 PM, Natalie Buxton wrote: ALA has a fantastic article on creating accessible Popups - and I use their method of calling content to the same window name for things like portfolio pieces and larger images of product items. It

Re: [WSG] Stadards Site Section

2004-10-24 Thread Mordechai Peller
Chris Kennon wrote: I dread the use of JS pop up windows, but would like to keep the page count down, Besides being potentially inaccessible to those without JavaScript (unless done correctly) or XP SP2, and annoying to those where it does function (again, depending on how and where it's

Re: [WSG] Stadards Site Section

2004-10-24 Thread Chris Kennon
Hi, It doesn't keep page count down after thinking about it, can you direct me to the correct solution you alluded to. C On Saturday, October 23, 2004, at 11:30 PM, Mordechai Peller wrote: Chris Kennon wrote: I dread the use of JS pop up windows, but would like to keep the page count down,

Re: [WSG] Stadards Site Section

2004-10-24 Thread Mordechai Peller
Chris Kennon wrote: It doesn't keep page count down after thinking about it, can you direct me to the correct solution you alluded to. First and foremost, start with a plain link: a href=http://other.domain.com/;Someplace else./a Then, and only then, (if you must) assign to the node's onclick

Re: [WSG] Stadards Site Section

2004-10-24 Thread Kevin Futter
Hi Chris, The semi-accessible way of creating JavaScript pop-ups would go something like this: Create a js function called popWindow() or somesuch, with all the relevant code to create your pop-up window. Your HTML code would then look something like this: a href=myWindow.html

Re: [WSG] Stadards Site Section

2004-10-24 Thread Patrick H. Lauke
Kevin Futter wrote: a href=myWindow.html onclick=popWindow('myWindow.html'); return false;Click here/a Small modification: use popWindow(this.href) to refer back to the A element's HREF attribute. This way, if you change the href at some point, you won't have to remember to change the javascript

Re: [WSG] Stadards Site Section

2004-10-24 Thread Kevin Futter
On 25/10/04 12:13 PM, Patrick H. Lauke [EMAIL PROTECTED] wrote: Kevin Futter wrote: a href=myWindow.html onclick=popWindow('myWindow.html'); return false;Click here/a Small modification: use popWindow(this.href) to refer back to the A element's HREF attribute. This way, if you change the

Re: [WSG] Stadards Site Section

2004-10-24 Thread Mordechai Peller
Patrick H. Lauke wrote: Small modification: use popWindow(this.href) to refer back to the A element's HREF attribute. This way, if you change the href at some point, you won't have to remember to change the javascript as well, as it will automatically pick it up... I had forgotten about that

[WSG] Stadards Site Section

2004-10-23 Thread Chris Kennon
Hi, Beginning the redesign for winter, the biggest issue is with creating a standards compliant portfolio section. I dread the use of JS pop up windows, but would like to keep the page count down, what suggestions, or examples are on the menu? Imagination is more important than knowledge.