Re: [WSG] Style Switcher and IE

2004-03-10 Thread Jaime Wong






Wowthe list sure is active during weekdays! Sorry just got around checking my list mail.

I am not behind a firewall at all and did not use any programs such as firewall.

If the site is showing/working for you guys then I guess the problem is with my computer. I will not be so worried then and will get mycom fixed!

Thanks for all who commented on this topic! 

With Regards
Jaime Wong
~~
SODesires Design Team
http://www.sodesires.com
~~

---Original Message---


From: [EMAIL PROTECTED]
Date: 03/09/04 08:46:32
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Style Switcher and IE

You aren't by chance running any privacy software, such as the feature
included with Zone Alarm's new firewall, are you?I had an issue with
a Dell laptop at work (XP Pro) with the exact same script...turned out
to be the firewall privacy feature restricting it.Drove me nuts
trying to figure it out, cursing M$ of course. G

MD

On Mar 8, 2004, at 14:21, Jaime Wong wrote:
 
 Tried setting IE privacy to low and it still didn't work :/
 
 With Regards
 Jaime Wong
 ~~
 SODesires Design Team
 http://www.sodesires.com
 ~~











Re: [WSG] Style Switcher and IE

2004-03-08 Thread Anders Ebdrup

 Hi Jaime

  As it says on http://www.alistapart.com/articles/alternate/ you have to
 create a cookie, or maybe a session. The function to create the cookie and
 to the store the chosen stylesheet is showed on the site mention above

  Regards

  Anders Ebdrup
  www.smartpage.dk

- Original Message - 
From: Jaime Wong [EMAIL PROTECTED]
To: WSG - CSS List [EMAIL PROTECTED]
Sent: Monday, March 08, 2004 4:07 PM
Subject: [WSG] Style Switcher and IE



 Hi I am not sure if it is appropriate to seek help for some javascript
 issues with styleswitcher here but I hope someone will be able to help
 because I have no idea what went wrong all of a sudden.

 I am using the style switcher at http://www.alistapart
 com/articles/alternate/ on my site and all of a sudden IE seems to have a
 problem with it (used to work and no changes has been done with it). It
will
 not remember the selected style and upon every reload, it will switch back
 to the default style.

 But when working with dreamweaver, and by using the preview option, the
 style registers in IE. It only doesn't work when the site goes live.

 All other browsers are working fine.

 This is what I have in head

 link rel=stylesheet type=text/css media=screen href=.
 /scripts/css/style_glass/glassStyle.css /
 link rel=alternate stylesheet type=text/css media=screen title=
 simple href=../scripts/css/style_simple/simpleStyle.css /

 and in the body..

 lia href=# title=Switch to Glass Style
onclick=setActiveStyleSheet('
 , 1);return false; onmouseover=MM_swapImage('styles','','.
 /images/global/styles/tt_select.gif',1) onmouseout=MM_swapImgRestore()
 img src=../images/global/styles/style01_glass.gif alt=Switch to Glass
 Style width=22 height=21 //a/li

 The script for switcher from above:
 onclick=setActiveStyleSheet('', 1);return false;

 lia href=# title=Switch to Simple Style
onclick=setActiveStyleSheet(
 simple', 1);return false; onmouseover=MM_swapImage('styles','','.
 /images/global/styles/tt_select.gif',1) onmouseout=MM_swapImgRestore()
 img src=../images/global/styles/style02_simple.gif alt=Switch to
Simple
 Style width=20 height=21 //a/li

 The script for switcher from above:
 onclick=setActiveStyleSheet('simple', 1);return false;


 The javascript is what I downloaded from http://www.alistapart
 com/articles/alternate/




 With Regards
 Jaime Wong
 ~~
 SODesires Design Team
 http://www.sodesires.com
 ~~


 *
 The discussion list for http://webstandardsgroup.org/
 *




*
The discussion list for http://webstandardsgroup.org/
* 



RE: [WSG] Style Switcher and IE

2004-03-08 Thread P.H.Lauke

Alternatively...is IE set to such a high security level that it's not
accepting cookies at all, or not accepting cookies of sites without a
P3P certificate ? Worth checking as well, while you're at it...
http://www.google.com/search?q=IE+P3P+cookies

Patrick

Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk

 -Original Message-
 From: Jaime Wong [mailto:[EMAIL PROTECTED]
 Sent: 08 March 2004 15:08
 To: WSG - CSS List
 Subject: [WSG] Style Switcher and IE
 
 
 
 Hi I am not sure if it is appropriate to seek help for some javascript
 issues with styleswitcher here but I hope someone will be able to help
 because I have no idea what went wrong all of a sudden.
  
 I am using the style switcher at http://www.alistapart
 com/articles/alternate/ on my site and all of a sudden IE 
 seems to have a
 problem with it (used to work and no changes has been done 
 with it). It will
 not remember the selected style and upon every reload, it 
 will switch back
 to the default style.
  
 But when working with dreamweaver, and by using the preview 
 option, the
 style registers in IE. It only doesn't work when the site goes live.
  
 All other browsers are working fine.
  
 This is what I have in head
  
 link rel=stylesheet type=text/css media=screen href=.
 /scripts/css/style_glass/glassStyle.css /
 link rel=alternate stylesheet type=text/css media=screen title=
 simple href=../scripts/css/style_simple/simpleStyle.css /
  
 and in the body..
  
 lia href=# title=Switch to Glass Style 
 onclick=setActiveStyleSheet('
 , 1);return false; onmouseover=MM_swapImage('styles','','.
 /images/global/styles/tt_select.gif',1) 
 onmouseout=MM_swapImgRestore()
 img src=../images/global/styles/style01_glass.gif 
 alt=Switch to Glass
 Style width=22 height=21 //a/li
  
 The script for switcher from above:
 onclick=setActiveStyleSheet('', 1);return false;
  
 lia href=# title=Switch to Simple Style 
 onclick=setActiveStyleSheet(
 simple', 1);return false; onmouseover=MM_swapImage('styles','','.
 /images/global/styles/tt_select.gif',1) 
 onmouseout=MM_swapImgRestore()
 img src=../images/global/styles/style02_simple.gif 
 alt=Switch to Simple
 Style width=20 height=21 //a/li
  
 The script for switcher from above:
 onclick=setActiveStyleSheet('simple', 1);return false;
  
  
 The javascript is what I downloaded from http://www.alistapart
 com/articles/alternate/
 
 
 
  
 With Regards
 Jaime Wong
 ~~
 SODesires Design Team
 http://www.sodesires.com
 ~~
  
 
 *
 The discussion list for http://webstandardsgroup.org/
 * 
 
 
*
The discussion list for http://webstandardsgroup.org/
*



Re: [WSG] Style Switcher and IE

2004-03-08 Thread Jaime Wong






Hi Anders I am using the JS from that site where itcan be downloaded. So That script should be inside the file. The problem is that IE used to work and it stopped working suddenly and I do not know why.



With Regards
Jaime Wong
~~
SODesires Design Team
http://www.sodesires.com
~~

---Original Message---


From: [EMAIL PROTECTED]
Date: 03/09/04 00:32:55
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Style Switcher and IE

 Hi Jaime

As it says on http://www.alistapart.com/articles/alternate/ you have to
 create a cookie, or maybe a session. The function to create the cookie and
 to the store the chosen stylesheet is showed on the site mention above

Regards

Anders Ebdrup
www.smartpage.dk

- Original Message -
From: "Jaime Wong" [EMAIL PROTECTED]
To: "WSG - CSS List" [EMAIL PROTECTED]
Sent: Monday, March 08, 2004 4:07 PM
Subject: [WSG] Style Switcher and IE



 Hi I am not sure if it is appropriate to seek help for some _javascript_
 issues with styleswitcher here but I hope someone will be able to help
 because I have no idea what went wrong all of a sudden.

 I am using the style switcher at http://www.alistapart
 com/articles/alternate/ on my site and all of a sudden IE seems to have a
 problem with it (used to work and no changes has been done with it). It
will
 not remember the selected style and upon every reload, it will switch back
 to the default style.

 But when working with dreamweaver, and by using the preview option, the
 style registers in IE. It only doesn't work when the site goes live.

 All other browsers are working fine.

 This is what I have in head

 link rel="stylesheet" type="text/css" media="screen" href="" /
 link rel="alternate stylesheet" type="text/css" media="screen" title=
 simple" href="" /

 and in the body..

 lia href="" title="Switch to Glass Style"
  ../images/global/styles/style01_glass.gif" alt="Switch to Glass
 Style" width="22" height="21" //a/li

 The script for switcher from above:
 

 lia href="" title="Switch to Simple Style"
  ../images/global/styles/style02_simple.gif" alt="Switch to
Simple
 Style" width="20" height="21" //a/li

 The script for switcher from above:
 


 The _javascript_ is what I downloaded from http://www.alistapart
 com/articles/alternate/




 With Regards
 Jaime Wong
 ~~
 SODesires Design Team
 http://www.sodesires.com
 ~~


 *
 The discussion list for http://webstandardsgroup.org/
 *




*
The discussion list for http://webstandardsgroup.org/
*









RE: [WSG] Style Switcher and IE

2004-03-08 Thread Jaime Wong






Hi Patrick

I haveemptied my cache and make sure that IE security lvl is at medium.

Can someone with IE kindly go to www.sodesires.com to have a look at the site and try to change the style and see if it remembers the style when you refresh thepage or visit other links from the menu? So sorry for the trouble.

If it works for you then something is wrong with my IE. But what I can't understand is why cookies for IE works when I preview in Dreamweaver and not whenit is live? 


With Regards
Jaime Wong
~~
SODesires Design Team
http://www.sodesires.com
~~

---Original Message---


From: [EMAIL PROTECTED]
Date: 03/09/04 00:53:06
To: [EMAIL PROTECTED]
Subject: RE: [WSG] Style Switcher and IE

Could it be that your Temporary Internet Files cache is full ?
Try emptying it...maybe it's not writing out the cookie
properly because IE has exceeded its allowed cache limit...
(and then forgets to clear it, or at least warn the user)

Patrick

Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk


 -Original Message-
 From: Jaime Wong [mailto:[EMAIL PROTECTED]]
 Sent: 08 March 2004 15:08
 To: WSG - CSS List
 Subject: [WSG] Style Switcher and IE



 Hi I am not sure if it is appropriate to seek help for some _javascript_
 issues with styleswitcher here but I hope someone will be able to help
 because I have no idea what went wrong all of a sudden.

 I am using the style switcher at http://www.alistapart
 com/articles/alternate/ on my site and all of a sudden IE
 seems to have a
 problem with it (used to work and no changes has been done
 with it). It will
 not remember the selected style and upon every reload, it
 will switch back
 to the default style.

 But when working with dreamweaver, and by using the preview
 option, the
 style registers in IE. It only doesn't work when the site goes live.

 All other browsers are working fine.

 This is what I have in head

 link rel="stylesheet" type="text/css" media="screen" href="" /
 link rel="alternate stylesheet" type="text/css" media="screen" title=
 simple" href="" /

 and in the body..

 lia href="" title="Switch to Glass Style"
  
 ../images/global/styles/style01_glass.gif"
 alt="Switch to Glass
 Style" width="22" height="21" //a/li

 The script for switcher from above:
 

 lia href="" title="Switch to Simple Style"
  
 ../images/global/styles/style02_simple.gif"
 alt="Switch to Simple
 Style" width="20" height="21" //a/li

 The script for switcher from above:
 


 The _javascript_ is what I downloaded from http://www.alistapart
 com/articles/alternate/




 With Regards
 Jaime Wong
 ~~
 SODesires Design Team
 http://www.sodesires.com
 ~~


 *
 The discussion list for http://webstandardsgroup.org/
 *


*
The discussion list for http://webstandardsgroup.org/
*









Re: [WSG] Style Switcher and IE

2004-03-08 Thread Jonathan Baldwin
Jaime

I use the same method at www.brighton.ac.uk/adc-ltsn/new - enter the 
site and use the style sheet switcher there. Does it work for you?

Are you using an external javascript file? Check the javascript is in 
the right place and that you have uploaded the javascript to the server 
(sounds obvious but I forgot once!).
I also had problems and traced them to my use of templates - if you are 
using templates then view the source of one of your pages and make sure 
the html is finding the javascript okay (I had too many ../../ I 
think).

Check your cookies in the prefs and make sure you are receiving them 
okay. With cookies, is IE only accepting cookies of pages you navigate 
to? Enter the URL of your page directly into the browser rather than 
following a link if that's what you are doing (unlikely I know).

On 8 Mar 2004, at 15:07, Jaime Wong wrote:

I am using the style switcher at http://www.alistapart
com/articles/alternate/ on my site and all of a sudden IE seems to 
have a
problem with it (used to work and no changes has been done with it). 
It will
not remember the selected style and upon every reload, it will switch 
back
to the default style.
*
The discussion list for http://webstandardsgroup.org/
* 



Re: [WSG] Style Switcher and IE

2004-03-08 Thread Jonathan Baldwin
Works in Safari 1.2 on a Mac FWIW (though the difference in styles is 
quite subtle? - I usually make text bright pink while I'm testing just 
so I know it's working ;-)

Ignore my earlier message re javascript file as it's obviously in the 
right place.

On 8 Mar 2004, at 18:08, Jaime Wong wrote:

Hi Patrick
 
I have emptied my cache and make sure that IE security lvl is at 
medium.
 
Can someone with IE kindly go to www.sodesires.com to have a look at 
the site and try to change the style and see if it remembers the style 
when you refresh the page or visit other links from the menu? So sorry 
for the trouble.
 
If it works for you then something is wrong with my IE. But what I 
can't understand is why cookies for IE works when I preview in 
Dreamweaver and not when it is live?  
*
The discussion list for http://webstandardsgroup.org/
*


Re: [WSG] Style Switcher and IE

2004-03-08 Thread Jonathan Baldwin
The same method wouldn't work when I was testing my site locally, but 
would work when I uploaded to a server (reverse of you) - so it might 
be something to do with security in either your IE or your PC. Try 
setting them to lowest level for a few minutes and see what happens.

On 8 Mar 2004, at 18:02, Jaime Wong wrote:

The problem is that IE used to work and it stopped working suddenly 
and I do not know why.
 
*
The discussion list for http://webstandardsgroup.org/
*


Re: [WSG] Style Switcher and IE

2004-03-08 Thread Jonathan Baldwin
Layout breaks in IE 5.2 for Mac OS x and doesn't view at all in 
Netscape 7 on the same platform.

HTH

JB

On 8 Mar 2004, at 18:08, Jaime Wong wrote:

Can someone with IE kindly go to www.sodesires.com to have a look at 
the site and try to change the style and see if it remembers the style 
when you refresh the page or visit other links from the menu? So sorry 
for the trouble.
*
The discussion list for http://webstandardsgroup.org/
*


Re: [WSG] Style Switcher and IE

2004-03-08 Thread Jaime Wong






Oo never tried Safari yet but it works for mozillla, opera, and used to work in IE! 

"difference in styles is quite subtle?" Yea couldn't decide on which I prefer so put both up!

Your site on the text size works for me. I am thinking if I accidentally change something in the html which I didn't realise but very unlikely because if I did, it wouldn't apply for entire site! 

As for the _javascript_, I would never touch it because if I do I always ended up killing it so I wouldalways leave it to the JS experts to fine tune for me :P

Tried setting IE privacy to low and it still didn't work :/

With Regards
Jaime Wong
~~
SODesires Design Team
http://www.sodesires.com
~~

---Original Message---


From: [EMAIL PROTECTED]
Date: 03/09/04 02:51:09
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Style Switcher and IE

Works in Safari 1.2 on a Mac FWIW (though the difference in styles is
quite subtle? - I usually make text bright pink while I'm testing just
so I know it's working ;-)

Ignore my earlier message re _javascript_ file as it's obviously in the
right place.

On 8 Mar 2004, at 18:08, Jaime Wong wrote:

 Hi Patrick
 
 I haveemptied my cache and make sure that IE security lvl is at
 medium.
 
 Can someone with IE kindly go to www.sodesires.com to have a look at
 the site and try to change the style and see if it remembers the style
 when you refresh thepage or visit other links from the menu? So sorry
 for the trouble.
 
 If it works for you then something is wrong with my IE. But what I
 can't understand is why cookies for IE works when I preview in
 Dreamweaver and not whenit is live? 
*
The discussion list for http://webstandardsgroup.org/
*
.









Re: [WSG] Style Switcher and IE

2004-03-08 Thread Jaime Wong






Yup my site is anti MAc at the moment. Would get to that nightmare part after everything is finally working right with no sudden bug like this style switcher. 

I really dread fixing it for MAC...last alternative is to use absolute positioning I suppose as someone mentioned in this list before that Mac IE does not work well with floats. Was provided few Mac Css solution sites by some nice people here to look at but still confuse.

With Regards
Jaime Wong
~~
SODesires Design Team
http://www.sodesires.com
~~

---Original Message---


From: [EMAIL PROTECTED]
Date: 03/09/04 03:15:36
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Style Switcher and IE

Layout breaks in IE 5.2 for Mac OS x and doesn't view at all in
Netscape 7 on the same platform.

HTH

JB

On 8 Mar 2004, at 18:08, Jaime Wong wrote:

 Can someone with IE kindly go to www.sodesires.com to have a look at
 the site and try to change the style and see if it remembers the style
 when you refresh thepage or visit other links from the menu? So sorry
 for the trouble.
*
The discussion list for http://webstandardsgroup.org/
*
.