HelpJavascript in Firefox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cmplieger
    New Member
    • Mar 2007
    • 4

    HelpJavascript in Firefox

    Hello, used this script to make a slideshow for some of my photos, but it seems not to work in firefox, id does in IE!

    Please help me change something to get it work!

    -------------------------------------------------------------------------------------------------------------
    Code:
    <div id="6_01" style="position: absolute; overflow: hidden; height:448px; width:560px; top: 185px; left: 0px;">
    <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" ><tr><td height="100%" valign="top" align="center">
     
    <table align="center" border="0" cellpadding="0" cellspacing="0" style="border: 1px outset">
    <tr><td colspan="3" height="4" bgcolor="#C00000"></td></tr>
    <tr><td width="4" bgcolor="#C00000"></td>
    <td bgcolor="#B74F09" style="border: 1px inset">
    <div id="div_Main" style="width:548px; height:411px; overflow:hidden; filter: progid:DXImageTransform.Microsoft.Barn(motion=out,orientation=vertical);"><table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%"><tr><td width="100%"><center><img src="pg000/gite_12.jpg" width="273" height="204" border="0" galleryimg="no"></center></td></tr></table></div></td><td width="4" bgcolor="#C00000"></td></tr>
    <tr><td colspan="3" height="4" bgcolor="#C00000"></td>
    </tr></table>
     
    <center><img onclick="doTrans(-1,2,0)" alt="Back" src="res/ss_prev.gif" border="0" height="15" width="15" style="position: relative; top:5px; cursor:pointer">&nbsp;&nbsp;<img onclick="doTrans(1,2,0)" alt="Next" src="res/ss_next.gif" border="0" height="15" width="15" style="position: relative; top:5px; cursor:pointer">&nbsp;&nbsp;<img name="cmd_Auto" alt="Play" onclick="PlayStop(2,5,0)" src="res/ss_play.gif" border="0" height="15" width="15" style="position: relative; top:5px; cursor:pointer">&nbsp;&nbsp;</center>
    <img id="img_1" src="pg000/gite_12.jpg" width="273" height="204" style="position: absolute; visibility: hidden">
    <img id="img_2" src="pg000/lou_castelet_001.jpg" width="427" height="320" style="position: absolute; visibility: hidden">
    </td></tr></table></div>
    ---------------------------------------------------------------------------------------------------------------

    Thanks for your reactions!
  • iam_clint
    Recognized Expert Top Contributor
    • Jul 2006
    • 1207

    #2
    you will have to post the javascript.

    Comment

    • cmplieger
      New Member
      • Mar 2007
      • 4

      #3
      how? i dont know anything about this and it wasnt me who made the stuff

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Your html alone is not valid.

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          Originally posted by cmplieger
          how? i dont know anything about this and it wasnt me who made the stuff
          You are using a function doTrans. Where is that defined? Look for "javascript " or <script> on your page. If you find that, you should see the javascript code. If it is in an external file, you should see something like
          [HTML]<script src="js/file.js"></script>[/HTML] Find that file and post the code in that file.

          If you're just talking about a filter/transition effect, then it will only work in IE because you are using a Microsoft filter.

          Comment

          Working...