本文介绍了嵌套的div效果问题。不工作的Internet Explorer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好;

以下代码是chrome也可以正常工作。但是探险家没有工作。没有顺利过渡。我找不到问题



hello;
The following codes are chrome also works without problems. However explorer is not working. no smooth transition.I could not find the problem

<script type="text/javascript" src="sorgular/jquery.min.js"></script>
<script type="text/javascript" src="js/hrktbaslajs.js"></script>
<script type="text/javascript">
hrktbaslajs.addDiv('Anasayfa','fade=1,height=300px,group=menuler')
hrktbaslajs.addDiv('Depokiralama','fade=1,height=300px,group=menuler')
hrktbaslajs.addDiv('Tasima','fade=1,height=300px,group=menuler')
hrktbaslajs.addDiv('Nakliye','fade=1,height=300px,group=menuler')
hrktbaslajs.addDiv('Sorulariniz','fade=1,height=300px,group=menuler')
hrktbaslajs.addDiv('İletisim','fade=1,height=300px,group=menuler')
hrktbaslajs.ontoggle=function($, divobj, state){}
hrktbaslajs.init()
</script>




<a href="#" rel="toggle[Anasayfa]"  >
<asp:Label CssClass="ListBut" style ="left:10px" ID="ButAnasyfa" runat="server" Text="ANASAYFA"></asp:Label>
</a>




<div id="Anasayfa" style="width: 800px; position: fixed; top: 200px; left: 50%; margin-left :-300px; ">
    <div style="width: 300px; position: fixed; top: 200px; left: 40%; color: #0A5189; font-size: 13px;font-family: Tahoma, Geneva, sans-serif;">
  <b>blaablabla bla bla bl</b><br /></div>
    <div style="width: 300px; position: fixed; top: 224px; left: 40%; color: #5898ca; font-size: 12px;font-family: Tahoma, Geneva, sans-serif;">
    <img src="img/Tmm1.png" border="0" width="25" height="25" />
        <b>bla bla blla abla </b><br /></div>
    <div style="width: 300px; position: fixed; top: 270px; left: 44%; color: #5898ca; font-size: 12px;font-family: Tahoma, Geneva, sans-serif;">
    <img src="img/Tmm1.png" border="0" width="25" height="25" />
        <b>blablabla</b><br /></div>
    <div style="width: 300px; position: fixed; top: 330px; left: 48%; color: #5898ca; font-size: 12px;font-family: Tahoma, Geneva, sans-serif;">
    <img src="img/Tmm1.png" border="0" width="25" height="25" />
        <b>blablalbla </b><br /></div>

  <br />
</div>




addDiv:function(divid, attrstring) {
  this.divholders[divid]=({id: divid, $divref: null, attrs: attrstring})
  this.divholders[divid].getAttr=function(name) {
    var attr=new RegExp(name+"=([^,]+)", "i")
    return (attr.test(this.attrs) && parseInt(RegExp.$1)!=0)? RegExp.$1 : null
  }
  this.currentid=divid
  return this
},

推荐答案




<a href="#" rel="toggle[Anasayfa]"  >
<asp:Label CssClass="ListBut" style ="left:10px" ID="ButAnasyfa" runat="server" Text="ANASAYFA"></asp:Label>
</a>




<div id="Anasayfa" style="width: 800px; position: fixed; top: 200px; left: 50%; margin-left :-300px; ">
    <div style="width: 300px; position: fixed; top: 200px; left: 40%; color: #0A5189; font-size: 13px;font-family: Tahoma, Geneva, sans-serif;">
  <b>blaablabla bla bla bl</b><br /></div>
    <div style="width: 300px; position: fixed; top: 224px; left: 40%; color: #5898ca; font-size: 12px;font-family: Tahoma, Geneva, sans-serif;">
    <img src="img/Tmm1.png" border="0" width="25" height="25" />
        <b>bla bla blla abla </b><br /></div>
    <div style="width: 300px; position: fixed; top: 270px; left: 44%; color: #5898ca; font-size: 12px;font-family: Tahoma, Geneva, sans-serif;">
    <img src="img/Tmm1.png" border="0" width="25" height="25" />
        <b>blablabla</b><br /></div>
    <div style="width: 300px; position: fixed; top: 330px; left: 48%; color: #5898ca; font-size: 12px;font-family: Tahoma, Geneva, sans-serif;">
    <img src="img/Tmm1.png" border="0" width="25" height="25" />
        <b>blablalbla </b><br /></div>

  <br />
</div>




addDiv:function(divid, attrstring) {
  this.divholders[divid]=({id: divid,




这篇关于嵌套的div效果问题。不工作的Internet Explorer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-26 23:24