⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 goods.dwt

📁 非常漂亮的 ecshop 模板 希望大家能够喜欢。
💻 DWT
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="Keywords" content="{$keywords}" />
  <meta name="Description" content="{$description}" />
  <!-- TemplateBeginEditable name="doctitle" --><!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
  <link rel="icon" href="favicon.ico" type="image/x-icon" />
  <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  <link rel="icon" href="animated_favicon.gif" type="image/gif" />
  <link href="style.css" rel="stylesheet" type="text/css" />
  <title>{$page_title}</title>
  {* 鍖呭惈鑴氭湰鏂囦欢 *}{insert_scripts files='common.js,global.js'}
  <script type="text/javascript" src="js/prototype.lite.js"></script>
  <script type="text/javascript" src="js/moo.fx.js"></script>
  <script type="text/javascript" src="js/litebox-1.0.js"></script>
  <script type="text/javascript">
  //<![CDATA[
  {literal}
  function TabControl(id, type)
  {
    this.currentIndex = 0;
    this.control = document.getElementById(id);
    cleanWhitespace(this.control);
    cleanWhitespace(this.control.firstChild);
    this.tabBar = this.control.firstChild;
    cleanWhitespace(this.control.lastChild);
    this.tags = this.tabBar.childNodes;
    this.tabPages = this.control.lastChild.childNodes;
    var self = this;
    for (var j = 1; j < this.tabPages.length; j++)
    {
      this.tabPages[j].style.display = "none";
    }
    for (var i = 0; i < this.tags.length;i++)
    {
      
      this.tags[i].onmousemove = function()
      {
        if(type)
        {
          self.select(this.getAttribute("tagIndex"));
        }
        else
        {
          if (self.currentIndex != this.getAttribute("tagIndex"))
          {
            if (this.getAttribute("tagIndex") == 0)
            {
              this.className = "tag-first";
            }
            else if (this.getAttribute("tagIndex") == self.tags.length -1)
            {
              this.className = "tag-last";
            }
            else
            {
               this.className = "tag-hightlight";
            }

          }
        }
      };

      this.tags[i].onmouseout = function()
      {
        if (parseInt(this.getAttribute("tagIndex")) != self.currentIndex)
        {
          if (this.getAttribute("tagIndex") == 0)
          {
            this.className = "tag-first";
          }
          else if (this.getAttribute("tagIndex") == self.tags.length -1)
          {
            this.className = "tag-last";
          }
          else
          {
             this.className = "";
          }
        }
        else
        {
          if (this.getAttribute("tagIndex") == 0)
          {
            if (self.tags.length == 1)
            {
              this.className = "tag-selected-only";
            }
            else
            {
              this.className = "tag-selected-first";
            }
          }
          else if (this.getAttribute("tagIndex") == self.tags.length -1)
          {
            this.className = "tag-selected-last";
          }
          else
          {
             this.className = "tag-selected";
          }
        }
      };

      this.tabBar.childNodes[i].setAttribute("tagIndex",i);
      
      if (this.currentIndex == this.tabBar.childNodes[i].getAttribute("tagIndex"))
      {
        if (this.tags.length == 1)
        {
          this.tabBar.childNodes[i].className = "tag-selected-only";
        }
        else
        {
          this.tabBar.childNodes[i].className = "tag-selected-first";
        }
      }
      else if (this.tabBar.childNodes[i].getAttribute("tagIndex") == this.tags.length -1)
      {
        this.tabBar.childNodes[i].className = "tag-last";
      }
      this.tabBar.childNodes[i].onmousedown = function()
      {
        self.select(this.getAttribute("tagIndex"));
      };
    }
  }

  TabControl.prototype = {
    select : function(index)
    {
      this.currentIndex = index;
      for (var i = 0; i < this.tabPages.length; i++)
      {
        if (i != index)
        {

          this.tabPages[i].style.display = "none";
          if (i == 0)
          {
            this.tags[i].className = "tag-first";
          }
          else if (i == this.tabPages.length -1)
          {
            this.tags[i].className = "tag-last";
          }
          else
          {
              this.tags[i].className = "";
          }
        }
        else
        {
          this.tabPages[i].style.display = "";
          if (i == 0)
          {
            if (this.tabPages.length == 1)
            {
              this.tags[i].className = "tag-selected-only";
            }
            else
            {
              this.tags[i].className = "tag-selected-first";
            }
            
          }
          else if (i == this.tabPages.length -1)
          {
            this.tags[i].className = "tag-selected-last";
          }
          else
          {
              this.tags[i].className = "tag-selected";
          }

        }
      }
    }
  }

  function cleanWhitespace(element)
  {
    var element = element;
    for (var i = 0; i < element.childNodes.length; i++) {
     var node = element.childNodes[i];
     if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) 
       element.removeChild(node);
     }
  }
  {/literal}
  //]]>
  </script>
</head>

<body>
  <div id="container">
    <!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
	<div class="inbody_j">
    <div id="globalLeft">
    <!-- TemplateBeginEditable name="涓诲尯鍩熷乏渚

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -