RE: [WSG] JS patterns

2008-12-09 Thread Chris Taylor
From: Foskett, Mike
Subject: RE: [WSG] JS patterns
> Solution:
> Instead of adding an onclick to a heading, try adding a
> link to the heading then put the onclick on that.
> Use the id of the hidden div as the link href and you're
> done.
> Best practice observed and everyone's happy.

I agree entirely. There seems to be many developers discovering the joys of 
these JavaScript frameworks, but forgetting that we have a responsibility to 
use them wisely. With great power comes great responsibility, or something.

I put together a little script to act as a "bridge" between HTML and the 
prototype JavaScript library called Performer [1]. It allows you to use 
JavaScript effects (hide and show elements, do AJAX calls, limit textbox input 
length etc) with nothing more than CSS classes and standard element attributes 
(rel and rev, mainly). It's also meant to be keyboard-accessible, but more work 
is needed to get that perfect (any help will be greatly appreciated).

Despite this being quite an early version (currently 0.4 - please report any 
bugs!) I'm also trying to get a jQuery and mootools version developed. If this 
helps developers to use JavaScript in an accessible way then some good will 
come of it.

Chris

[1] http://performerjs.org


This message has been scanned for malware by SurfControl plc. 
www.surfcontrol.com


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] JS patterns

2008-12-08 Thread tee


On Dec 7, 2008, at 5:55 AM, Tatham Oddie wrote:


Hi Tee,

There are no JQuery specific extensions to IE8.

There are general speed and reliability improvements to the JS  
engine in the
browser, and IDE support for JQuery in Visual Studio, however the  
support is

not specific to IE+JQuery.



I use Accordion, tab and galleria on a site, it loads very slow on IE,  
especially that never going to die IE6. I was suspecting maybe it was  
Dead Edwards' /IE7 causing the problem, but it still load very slow  
after removing the IE7.js.


tee




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] JS patterns

2008-12-08 Thread Foskett, Mike
Hi Jason,

 

I use jQuery too, well when I have to. 

An excellent operating model and file-size when minified and gzipped.

A brilliant tool in the hands of experts, a hammer on a screw to others.

 



I hate the way jQuery, and other libraries, are used to provide cheap
effects. 

It's taken not only as a development shortcut, but a skill short cut
too.

Let's forget all the basics and jQuery/scriptilicious/moo tool it into a
shiny new web 2 product.

After all who cares if it's bad practice, so long as we can sell it
right?



 

Here's my first concern:

Try the content folding accordion with a keyboard only. It doesn't work
does it?

All the content hidden by display:none is completely inaccessible to
both keyboard only users and screen-readers.

Very bad practice. Use it on a Government, or public sector website, and
guess where the liability falls?

 

Solution:

Instead of adding an onclick to a heading, try adding a link to the
heading then put the onclick on that.

Use the id of the hidden div as the link href and you're done.

Best practice observed and everyone's happy.

 

 

Regards

 

Mike Foskett

http://websemantics.co.uk/

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jason Grant
Sent: 07 December 2008 12:35
To: wsg
Subject: [WSG] JS patterns

 

A quick note to the group to say that a great, lightweight, JQuery
based, continuously updated, object-oriented, highly reusable set of
patterns is being developed by Adam Silver, a great JS developer.

 

http://www.adoromedia.com/projects/

 

Patterns are constantly being improved and Adam would appreciate
feedback from people and comments on how to improve them even more.
Needless to say that I am using and re-using these patterns and can
highly recommend them.

 

Regards,

-- 
Jason Grant BSc, MSc
CEO, Flexewebs Ltd. 
www.flexewebs.com 
[EMAIL PROTECTED] 
+44 (0)7748 591 770
Company no.: 5587469 

www.twitter.com/flexewebs 
www.linkedin.com/in/flexewebs


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

---Warning

This e-mail is from outside Tesco - check that it is genuine. Tesco may
monitor and record all e-mails.



 Disclaimer 
This is a confidential email.  Tesco may monitor and record all emails.  The 
views expressed in this email are those of the sender and not Tesco.

Tesco Stores Limited
Company Number: 519500
Registered in England
Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire EN8 9SL
VAT Registration Number: GB 220 4302 31



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] JS patterns

2008-12-07 Thread Jason Grant
My take on JQuery is that it is:

   - Most popular JS library out there
   - Becoming a de-facto standard for cross-browser JS development
   - Something that every serious developer I have met so far is supporting
   and using

Whether it is made part of future browsers or not, it is a skill set well
worth taking up and a library well worth utilising.

Regards,

Jason

On Sun, Dec 7, 2008 at 1:55 PM, Tatham Oddie <[EMAIL PROTECTED]> wrote:

> Hi Tee,
>
> There are no JQuery specific extensions to IE8.
>
> There are general speed and reliability improvements to the JS engine in
> the
> browser, and IDE support for JQuery in Visual Studio, however the support
> is
> not specific to IE+JQuery.
>
>
> Thanks,
>
> Tatham Oddie
> call:+61414275989, call:+61280113982, skype:tathamoddie,
> msn:[EMAIL PROTECTED] <[EMAIL PROTECTED]>, tatham.oddie.com.au
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of tee
> Sent: Monday, 8 December 2008 12:37 AM
> To: wsg@webstandardsgroup.org
> Subject: Re: [WSG] JS patterns
>
>
> On Dec 7, 2008, at 4:34 AM, Jason Grant wrote:
>
> > A quick note to the group to say that a great, lightweight, JQuery
> > based, continuously updated, object-oriented, highly reusable set of
> > patterns is being developed by Adam Silver, a great JS developer.
> >
> > http://www.adoromedia.com/projects/
> >
> > Patterns are constantly being improved and Adam would appreciate
> > feedback from people and comments on how to improve them even more.
> > Needless to say that I am using and re-using these patterns and can
> > highly recommend them.
> >
> >
>
> Hi Jason, thanks for the link, and I am a jQuery fan :-)
>
> Something not related to your post but jQuery. As many of you likely
> have known that Microsoft have adapted jQuery framework, and this
> question has been in  my head for a while: does this meant future IE
> (starts from IE8?) will speed up load time for site that uses jQuery?
>
> tee
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
>
>
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
>
>


-- 
Jason Grant BSc, MSc
CEO, Flexewebs Ltd.
www.flexewebs.com
[EMAIL PROTECTED]
+44 (0)7748 591 770
Company no.: 5587469

www.twitter.com/flexewebs
www.linkedin.com/in/flexewebs


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

RE: [WSG] JS patterns

2008-12-07 Thread Tatham Oddie
Hi Tee,

There are no JQuery specific extensions to IE8.

There are general speed and reliability improvements to the JS engine in the
browser, and IDE support for JQuery in Visual Studio, however the support is
not specific to IE+JQuery.


Thanks,

Tatham Oddie
call:+61414275989, call:+61280113982, skype:tathamoddie,
msn:[EMAIL PROTECTED], tatham.oddie.com.au

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of tee
Sent: Monday, 8 December 2008 12:37 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] JS patterns


On Dec 7, 2008, at 4:34 AM, Jason Grant wrote:

> A quick note to the group to say that a great, lightweight, JQuery  
> based, continuously updated, object-oriented, highly reusable set of  
> patterns is being developed by Adam Silver, a great JS developer.
>
> http://www.adoromedia.com/projects/
>
> Patterns are constantly being improved and Adam would appreciate  
> feedback from people and comments on how to improve them even more.  
> Needless to say that I am using and re-using these patterns and can  
> highly recommend them.
>
>

Hi Jason, thanks for the link, and I am a jQuery fan :-)

Something not related to your post but jQuery. As many of you likely  
have known that Microsoft have adapted jQuery framework, and this  
question has been in  my head for a while: does this meant future IE  
(starts from IE8?) will speed up load time for site that uses jQuery?

tee


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] JS patterns

2008-12-07 Thread tee


On Dec 7, 2008, at 4:34 AM, Jason Grant wrote:

A quick note to the group to say that a great, lightweight, JQuery  
based, continuously updated, object-oriented, highly reusable set of  
patterns is being developed by Adam Silver, a great JS developer.


http://www.adoromedia.com/projects/

Patterns are constantly being improved and Adam would appreciate  
feedback from people and comments on how to improve them even more.  
Needless to say that I am using and re-using these patterns and can  
highly recommend them.





Hi Jason, thanks for the link, and I am a jQuery fan :-)

Something not related to your post but jQuery. As many of you likely  
have known that Microsoft have adapted jQuery framework, and this  
question has been in  my head for a while: does this meant future IE  
(starts from IE8?) will speed up load time for site that uses jQuery?


tee


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] JS patterns

2008-12-07 Thread Jason Grant
A quick note to the group to say that a great, lightweight, JQuery based,
continuously updated, object-oriented, highly reusable set of patterns is
being developed by Adam Silver, a great JS developer.
http://www.adoromedia.com/projects/

Patterns are constantly being improved and Adam would appreciate feedback
from people and comments on how to improve them even more. Needless to say
that I am using and re-using these patterns and can highly recommend them.

Regards,

-- 
Jason Grant BSc, MSc
CEO, Flexewebs Ltd.
www.flexewebs.com
[EMAIL PROTECTED]
+44 (0)7748 591 770
Company no.: 5587469

www.twitter.com/flexewebs
www.linkedin.com/in/flexewebs


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***