ondeactivate": case "type": case "id": ret.objAttrs[args[i]] = args[i + 1]; break; case "width": case "height": case "align": case "vspace": case "hspace": case "class": case "title": case "accesskey": case "name": case "tabindex": ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i + 1]; break; default: ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i + 1]; } } ret.objAttrs["classid"] = classid; if (mimeType) { ret.embedAttrs["type"] = mimeType; } return ret; } $(function() { $(".video_molie").each(function() { var w = $(this).width(); var b = parseFloat('{$_G['wq_touch_setting']['setting']['scale']}'); var h = w / b; $(this).attr("style", 'height:' + h + 'px'); }); }); EOT; return $str; } } ?>e": case "onrowsdelete": case "onrowenter": case "onrowexit": case "onrowsinserted": case "onstart": case "onscroll": case "onbeforeeditfocus": case "onactivate": case "onbeforedeactivate": case "ondeactivate": case "type": case "id": ret.objAttrs[args[i]] = args[i + 1]; break; case "width": case "height": case "align": case "vspace": case "hspace": case "class": case "title": case "accesskey": case "name": case "tabindex": ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i + 1]; break; default: ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i + 1]; } } ret.objAttrs["classid"] = classid; if (mimeType) { ret.embedAttrs["type"] = mimeType; } return ret; } $(function() { $(".video_molie").each(function() { var w = $(this).width(); var b = parseFloat('{$_G['wq_touch_setting']['setting']['scale']}'); var h = w / b; $(this).attr("style", 'height:' + h + 'px'); }); }); EOT; return $str; } } ?>