Re: [WSG] CSS off button

2010-02-07 Thread Jayachandran Kandasamy
Hi Paul, You can use select drop down box instead of buttons for the CSS switching - this can minimize the space in page and usability will be effective for the end users On Thu, Feb 4, 2010 at 8:51 PM, Paul Novitski wrote: > At 2/4/2010 10:43 AM, Erickson, Kevin (DOE) wrote: > >> Here is the p

RE: [WSG] CSS off button

2010-02-04 Thread Paul Novitski
At 2/4/2010 10:43 AM, Erickson, Kevin (DOE) wrote: Here is the page using your example: http://www.doetest.vi.virginia.gov/z_testing_area/kevin/test-css-off-from-wsg2.shtml I recommend that you give folks a c

Re: [WSG] CSS off button

2010-02-04 Thread Jayachandran Kandasamy
...@webstandardsgroup.org] *On > Behalf Of *Jayachandran Kandasamy > *Sent:* Wednesday, January 27, 2010 2:25 AM > > *To:* wsg@webstandardsgroup.org > *Subject:* Re: [WSG] CSS off button > > Hi Kevin, > > I have tried some sample code for switching off the CSS in jQuery

RE: [WSG] CSS off button

2010-02-04 Thread Erickson, Kevin (DOE)
lf Of Erickson, Kevin (DOE) Sent: Thursday, February 04, 2010 1:44 PM To: wsg@webstandardsgroup.org Subject: RE: [WSG] CSS off button Thanks Jayachandran! That definitely works but is there a way that it could keep the CSS off when the visitor leaves the page? Using a cookie maybe? Here is the

RE: [WSG] CSS off button

2010-02-04 Thread Erickson, Kevin (DOE)
From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Jayachandran Kandasamy Sent: Wednesday, January 27, 2010 2:25 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] CSS off button Hi Kevin, I have tried some sample code for switching

Re: [WSG] CSS off button

2010-01-27 Thread Jayachandran Kandasamy
Oliver, This wont remove the head element but only the style and link tags .. but I didnt do the attribute level, I will try it out man.. thanks for the suggestion :) Cheers JC On Wed, Jan 27, 2010 at 5:48 PM, Oliver Boermans wrote: > On 27 January 2010 17:55, Jayachandran Kandasamy > wrote:

Re: [WSG] CSS off button

2010-01-27 Thread Oliver Boermans
On 27 January 2010 17:55, Jayachandran Kandasamy wrote: >  $(document).ready(function(){ >   $("input.offButt").click(function() { >    if($("head:has(style)") && $("head:has(link)")){ > $("head:has(style)").remove(); > $("head:has(link)").remove(); >    } >   }); >  }); I’m pretty sure t

Re: [WSG] CSS off button

2010-01-26 Thread Jayachandran Kandasamy
Hi Kevin, I have tried some sample code for switching off the CSS in jQuery. Please go through this code below and let me know how far it is helping you - if need anyother assistance please reply New Document http://code.jquery.com/jquery-latest.js";>

RE: [WSG] CSS off button

2010-01-25 Thread Erickson, Kevin (DOE)
Yes. I have a prototype with the imports and it DOES work. Thanks -Original Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Ted Drake Sent: Friday, January 22, 2010 5:46 PM To: wsg@webstandardsgroup.org Subject: RE: [WSG] CSS off button

Re: [WSG] CSS off button

2010-01-24 Thread Nick Stone
urn off all CSS? Thanks, Kevin * From: Paul Novitski Date: Fri, 22 Jan 2010 13:44:30 -0800 Subject: Re: [WSG] CSS off button At 1/22/2010 12:22 PM, Erickson, Kevin (DOE) wrote: Could anyone please tell me if there is a righ

RE: [WSG] CSS off button

2010-01-22 Thread Ted Drake
also be skipped. I haven't tested that, but I think it would work. -Original Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Erickson, Kevin (DOE) Sent: Friday, January 22, 2010 2:27 PM To: wsg@webstandardsgroup.org Subject: RE: [WSG] CSS

RE: [WSG] CSS off button

2010-01-22 Thread Erickson, Kevin (DOE)
, 2010 5:14 PM To: wsg@webstandardsgroup.org Subject: RE: [WSG] CSS off button I think your requirements may be a bit confused. I would suggest you look at two articles 1. backwards compatible style switcher http://www.alistapart.com/articles/n4switch/ 2. zoom layout by Sir Joe Clark http

RE: [WSG] CSS off button

2010-01-22 Thread Erickson, Kevin (DOE)
- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Oliver Boermans Sent: Friday, January 22, 2010 4:54 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] CSS off button Hi Kevin On 23 January 2010 06:52, Erickson, Kevin (DOE) wrote: > Could anyone please tell me

RE: [WSG] CSS off button

2010-01-22 Thread Ted Drake
f you really want to turn off css, just have it switch to an empty css file. Ted -Original Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Oliver Boermans Sent: Friday, January 22, 2010 1:54 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG

Re: [WSG] CSS off button

2010-01-22 Thread Oliver Boermans
Hi Kevin On 23 January 2010 06:52, Erickson, Kevin (DOE) wrote: > Could anyone please tell me if there is a right way to put a clickable > button in a web page that will turn off all CSS? Why do you want to switch off CSS? Reasons aside, the simplest method that jumps to my mind is to use an emp

Re: [WSG] CSS off button

2010-01-22 Thread Nick Stone
Kevin, I believe you could do it with PHP by having your "Off" button reload the page, replacing your default header with one that omits your CSS file(s). You could use a cookie to make the other pages also load without CSS until the switch is toggled again. -- Nick Stone, MBA SEO & Web Acc

Re: [WSG] CSS off button

2010-01-22 Thread Paul Novitski
At 1/22/2010 12:22 PM, Erickson, Kevin (DOE) wrote: Could anyone please tell me if there is a right way to put a clickable button in a web page that will turn off all CSS? To be perhaps overly precise, I'm guessing that you probably don't want to turn off *all* styling because that would rend

[WSG] CSS off button

2010-01-22 Thread Erickson, Kevin (DOE)
Hello fellow WSG'ers. Could anyone please tell me if there is a right way to put a clickable button in a web page that will turn off all CSS? Thanks, Kevin *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Uns