At 04:26 PM 9/30/98 -0400, you wrote:
I'm don't know anything about JS but 

[snip] 
>
>This works fine when I call it from the body of the document, i.e., 
><script>links()</script> -- the correct value for the 'linkline' cookie is 
>written to the screen. So I know the cookie is being set and retrieved 
>correctly.  The next section of the script writes the stylesheet stuff to 
>the document head:
>
>style = GetCookie('style') 
>
>if (style == "style1") {
                   ^ 
                  /!\
                   !
                   !
I'll bet the mispelling of style might be a problem.

George




       George Cook, Chef/Instructor, New York Institute of Technology
                      Culinary Arts Program
          Escoffier On Line- http://www.escoffier.com
    
 Free Foodservice Help Wanted Postings and Indexed Industry Links 
             WebFoodPros- http://webfoodpros.com
   
   Web Based Discussion Boards for Food Service Professionals        
                                     
____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to