Jquery getbodyclass IE发行magento(即不接受该类,但在mozilla和chrome中工作良好)
问题是这个Jquery getbodyclass IE发行magento(即不接受该类,但在mozilla和chrome中工作良好),jquery,html,css,magento,Jquery,Html,Css,Magento,问题是这个 <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>" dir="ltr"> <?php echo $this->getChildHtml('head') ?> <body<?
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>" dir="ltr">
<?php echo $this->getChildHtml('head') ?>
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?> class="background_art"
<?php if($ruqest_uri !=$home_uri2 and $ruqest_uri !=$new_url and $ruqest_uri !=$new_uri ){ echo "style='background:none;'"; }?> <?php if($snv=="no"){ ?> onload="firsttimeload()" <?php } ?> >
<?php echo $this->getChildHtml('after_body_start') ?>
<?php echo $this->getChildHtml('header') ?>
class=“背景艺术”…>
产生
你需要把它改成
<body <?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?> class="background_art" ....>
class=“背景艺术”…>
然后它就会产生
<body <?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?> class="background_art <?php echo $this->getBodyClass()? $this->getBodyClass() : ''; ?>" ...>
<body class="background_art ..something.." ...>