W e b m e d i a   E x p l o r e r
    
  Config  
  History  
  Login  
 
  Home   /  Messages    
     Tree   
     Forum   
     Tags   
 
    Home    
  Friday 14 May 2010 17:49:27 adfa   
  ouch  
  onMouseOver="save =
occurs several places within templatesjs_menu.tpl.php

I suspect you intended to write this:
save = this.className
You got lost in the sea of escaped quotation marks?

Lookit, it is wrong to encase html tag attributes within single quotes (will result in malformed html output) just because you've double-quoted the overall string.

Lookit, if the overall string is encased in single quotes... it's silly to escape the internal double quotes.

Lookit, whenever you don't require the php interpreter to eval a string at runtime, encase the string in SINGLE quotes.
x = 1;
x = '1';
x = "1";
php is a loosely typed language. All the above have the exact same effect. At this point, the interpreter doesn't know, or care, whether you WANT the value to be regarded as a string value vs numeric. By double-quoting the value, all you're doing is forcing an unnecessary runtime eval("1") to occur -- wasting resources.
 
   
    
  Tuesday 18 May 2010 13:04:28 Marc   
  Which version are you talking about?  
   
The road to a friend's house is never long. Danish proverb.
    Powered by webmedia explorer 6.13.4 Copyright (C) 2010 Marc Salmurri (marc.salmurri@gmail.com)  
 
SourceForge.net Logo