Changeset 4596 for temp/trunk


Ignore:
Timestamp:
2006/09/10 21:14:02 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/js/layout_design.js

    r4595 r4596  
    113113*/   
    114114 
    115     if (typeof(elm.attributes.getNamedItem(attrname)) != 'object'){ 
    116     val = ""; 
    117     if((typeof ScriptEngineMajorVersion)=='function') 
    118     { 
    119         if( Math.floor(ScriptEngineMajorVersion()) == 5 && 
    120             navigator.userAgent.indexOf("Win")!=-1) //win-e5Âбþ 
     115//  if (typeof(elm.attributes.getNamedItem(attrname)) != 'object') 
     116{ 
     117        val = ""; 
     118        if((typeof ScriptEngineMajorVersion)=='function') 
     119        { 
     120            if( Math.floor(ScriptEngineMajorVersion()) == 5 && 
     121                navigator.userAgent.indexOf("Win")!=-1) //win-e5Âбþ 
     122                { 
     123                val = elm.attributes.item(attrname) 
     124                } 
     125            else 
    121126            { 
    122             val = elm.attributes.item(attrname) 
    123             } 
    124         else 
    125         { 
     127                val = elm.attributes.getNamedItem(attrname) 
     128            } 
     129        } else { 
    126130            val = elm.attributes.getNamedItem(attrname) 
    127131        } 
    128     } else { 
    129         val = elm.attributes.getNamedItem(attrname) 
    130     } 
    131      
    132     alert(elm.attributes[ attrname ].nodeValue+"/"+val.value); 
    133      
    134     return val.value; 
     132         
     133        alert(elm.attributes[ attrname ].nodeValue+"/"+val.value); 
     134         
     135        return val.value; 
    135136    } 
    136137} 
Note: See TracChangeset for help on using the changeset viewer.