Re: [WSG] CSS off button

2010-01-27 Thread Oliver Boermans
On 27 January 2010 17:55, Jayachandran Kandasamy
jayachandran.kandas...@gmail.com 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 this will remove the head element and everything in it.
Link elements are also used for more than just loading CSS so you
wouldn’t want to remove them without checking the type or rel
attribute too.

Regarding the JavaScript
http://api.jquery.com/
http://forum.jquery.com/

Cheers
Ollie


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



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 boerm...@gmail.com wrote:

 On 27 January 2010 17:55, Jayachandran Kandasamy
 jayachandran.kandas...@gmail.com 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 this will remove the head element and everything in it.
 Link elements are also used for more than just loading CSS so you
 wouldn’t want to remove them without checking the type or rel
 attribute too.

 Regarding the JavaScript
 http://api.jquery.com/
 http://forum.jquery.com/

 Cheers
 Ollie


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***


[WSG] How to resolve z-index problem for select box in IE 6

2010-01-27 Thread Brajesh Patel
Hello All,
I am getting Z-index problem in IE 6.
back ground select box are displaying on the popup when popup appear, it's
working fine on the firefox but getting problem in IE 6,
Please suggest solution this is major issue for  me.

Thanks in advance.

-- 

Brajesh Patel


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

Re: [WSG] How to resolve z-index problem for select box in IE 6

2010-01-27 Thread Matthew Pennell
On Thu, Jan 28, 2010 at 7:02 AM, Brajesh Patel brajeshpate...@gmail.comwrote:

 I am getting Z-index problem in IE 6.
 back ground select box are displaying on the popup when popup appear


It's nothing to do with z-index. Select dropdowns are rendered by the
browser's internal system last (as they are system controls), so they don't
respect the stacking order. Google for something like ie6 select iframe
for details of how to fix it with a positioned iframe (as they are the only
element that will cover up a select).

- Matthew


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

Re: [WSG] How to resolve z-index problem for select box in IE 6

2010-01-27 Thread Michael Allan
HI Brajesh,

It's not exactly a z-index problem, although it's similar.
Google iframe shim and you'll find many variations of the same answer.

HTH,
Mike


On 28/01/2010, at 6:02 PM, Brajesh Patel wrote:

 Hello All, 
 I am getting Z-index problem in IE 6.
 back ground select box are displaying on the popup when popup appear, it's 
 working fine on the firefox but getting problem in IE 6,
 Please suggest solution this is major issue for  me.
 
 Thanks in advance.
 
 -- 
 
 Brajesh Patel
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***