JQuery - Internet Explorer 6 problem #!?

  • bobboken
  • Novice
  • Novice
  • User avatar
  • Posts: 16

Post 3+ Months Ago

Hi!, i'm trying to make a basic "slideToogle" effect with JQuery
my code is working in Firefox, Chrome and Opera,
not Internet Explorer 6 also i don't get any error message in ie6

I can't solve where is the problem, can you?

(Note: i deleted unnecessary parts)

Code: [ Select ]
<!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=iso-8859-1" />

<script src="jquery.js" type="application/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
        $("#btn_uyegiris").click(function() {
            $('div.kutu_uyegiris').slideToggle('fast'); return false;
        });
    });

</script>
</head>

<body>

<table width="840" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>

    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tbody>
     <tr>
        <td colspan="2" valign="top"><table width="780" border="0" cellspacing="0" cellpadding="5">
     <tbody>
     <tr>
        <td width="50%" valign="top">         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody><tr>
                <td class="baslik_mavi">Siz de Üye Olun!</td>
             </tr>

            <tr>
             <td class="normalyazi"><p>Siz de mi sağlık sektöründe çalışıyorsunuz?<br />
                Peki size ait bir web sitesi ister misiniz?<br />
                Üstelik tamamen ücretsiz...              </p>
                <p align="right"><a href="XX" class="kutulink">Hemen Üye OL &gt;</a></p>
                <p align="right"><a id="btn_uyegiris" href="javascript&#058;void(0)" class="kutulinkKucuk">Üye Girişi &gt;</a>
                <div class="kutu_uyegiris" style="display:none; margin-top:-6px"><form action="XXXXXXXXX" method="post" name="form" id="form3" style="margin:0px">
                 <table width="100%" border="0" cellpadding="5" class="kutusekme">
                 <tbody>
                    <tr>
                     <td width="100" align="right" nowrap="nowrap" class="form_caption">E-Mail Adresiniz :</td>
                     <td><input name="uyegiris_email" type="text" class="form_textbox_normal" id="uyegiris_email" value="" />                     </td>
                     <td rowspan="2" valign="bottom"><input name="button" type="submit" class="form_btn" id="button" value="Tamam" /></td>
                    </tr>

                    <tr>
                     <td align="right" class="form_caption">Şifreniz :</td>
                     <td><input name="uyegiris_sifre" type="password" class="form_textbox_normal" id="uyegiris_sifre" /></td>
                     </tr>
                    </tbody>
                 </table>
                </form>
                </div></p></td>
            </tr></tbody>

         </table>
                    <br />
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody><tr>
             <td class="baslik_mavi">Üyelerimiz</td>
            </tr>
            <tr>
             <td width="150">&nbsp;</td>
            </tr></tbody>
         </table>         </td>
     </tr></tbody>
    </table></td>
        </tr></tbody>
    </table></td>
</tr></tbody>
</table>
</body>
</html>
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  5. <script src="jquery.js" type="application/javascript"></script>
  6. <script type="text/javascript">
  7. $(document).ready(function() {
  8.         $("#btn_uyegiris").click(function() {
  9.             $('div.kutu_uyegiris').slideToggle('fast'); return false;
  10.         });
  11.     });
  12. </script>
  13. </head>
  14. <body>
  15. <table width="840" border="0" align="center" cellpadding="0" cellspacing="0">
  16. <tbody>
  17. <tr>
  18.     <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  19.         <tbody>
  20.      <tr>
  21.         <td colspan="2" valign="top"><table width="780" border="0" cellspacing="0" cellpadding="5">
  22.      <tbody>
  23.      <tr>
  24.         <td width="50%" valign="top">         <table width="100%" border="0" cellspacing="0" cellpadding="0">
  25.             <tbody><tr>
  26.                 <td class="baslik_mavi">Siz de Üye Olun!</td>
  27.              </tr>
  28.             <tr>
  29.              <td class="normalyazi"><p>Siz de mi sağlık sektöründe çalışıyorsunuz?<br />
  30.                 Peki size ait bir web sitesi ister misiniz?<br />
  31.                 Üstelik tamamen ücretsiz...              </p>
  32.                 <p align="right"><a href="XX" class="kutulink">Hemen Üye OL &gt;</a></p>
  33.                 <p align="right"><a id="btn_uyegiris" href="javascript&#058;void(0)" class="kutulinkKucuk">Üye Girişi &gt;</a>
  34.                 <div class="kutu_uyegiris" style="display:none; margin-top:-6px"><form action="XXXXXXXXX" method="post" name="form" id="form3" style="margin:0px">
  35.                  <table width="100%" border="0" cellpadding="5" class="kutusekme">
  36.                  <tbody>
  37.                     <tr>
  38.                      <td width="100" align="right" nowrap="nowrap" class="form_caption">E-Mail Adresiniz :</td>
  39.                      <td><input name="uyegiris_email" type="text" class="form_textbox_normal" id="uyegiris_email" value="" />                     </td>
  40.                      <td rowspan="2" valign="bottom"><input name="button" type="submit" class="form_btn" id="button" value="Tamam" /></td>
  41.                     </tr>
  42.                     <tr>
  43.                      <td align="right" class="form_caption">Şifreniz :</td>
  44.                      <td><input name="uyegiris_sifre" type="password" class="form_textbox_normal" id="uyegiris_sifre" /></td>
  45.                      </tr>
  46.                     </tbody>
  47.                  </table>
  48.                 </form>
  49.                 </div></p></td>
  50.             </tr></tbody>
  51.          </table>
  52.                     <br />
  53.          <table width="100%" border="0" cellspacing="0" cellpadding="0">
  54.             <tbody><tr>
  55.              <td class="baslik_mavi">Üyelerimiz</td>
  56.             </tr>
  57.             <tr>
  58.              <td width="150">&nbsp;</td>
  59.             </tr></tbody>
  60.          </table>         </td>
  61.      </tr></tbody>
  62.     </table></td>
  63.         </tr></tbody>
  64.     </table></td>
  65. </tr></tbody>
  66. </table>
  67. </body>
  68. </html>


Thanks!

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 20 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.