473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

HelpJavascript in Firefox

cmplieger
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!

-------------------------------------------------------------------------------------------------------------
Expand|Select|Wrap|Line Numbers
  1. <div id="6_01" style="position: absolute; overflow: hidden; height:448px; width:560px; top: 185px; left: 0px;">
  2. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" ><tr><td height="100%" valign="top" align="center">
  3.  
  4. <table align="center" border="0" cellpadding="0" cellspacing="0" style="border: 1px outset">
  5. <tr><td colspan="3" height="4" bgcolor="#C00000"></td></tr>
  6. <tr><td width="4" bgcolor="#C00000"></td>
  7. <td bgcolor="#B74F09" style="border: 1px inset">
  8. <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>
  9. <tr><td colspan="3" height="4" bgcolor="#C00000"></td>
  10. </tr></table>
  11.  
  12. <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>
  13. <img id="img_1" src="pg000/gite_12.jpg" width="273" height="204" style="position: absolute; visibility: hidden">
  14. <img id="img_2" src="pg000/lou_castelet_001.jpg" width="427" height="320" style="position: absolute; visibility: hidden">
  15. </td></tr></table></div>
  16.  
---------------------------------------------------------------------------------------------------------------

Thanks for your reactions!
Mar 24 '07 #1
4 1201
iam_clint
1,208 Expert 1GB
you will have to post the javascript.
Mar 24 '07 #2
how? i dont know anything about this and it wasnt me who made the stuff
Mar 25 '07 #3
drhowarddrfine
7,435 Expert 4TB
Your html alone is not valid.
Mar 25 '07 #4
acoder
16,027 Expert Mod 8TB
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.
Mar 26 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jeremy Epstein | last post by:
I've got a 4-page form that lets users enter a whole lot of information, which is then submitted and emailed at the end. All the fields are stored as session data. The whole thing works fine: ...
87
by: expertware | last post by:
Dear friends, My name is Pamela, I know little about CSS, but I would like to ask a question I have an image on a web page within a css layer: <DIV ID=MyLayer STYLE = "position:...
14
by: expertware | last post by:
Ok! to avoid confusion I will start a new argument. Thanks!! FIREFOX 1.0.7 AND IE6 viewed through DATATIME: a summary REPORT ===============================================================...
5
by: SPE - Stani's Python Editor | last post by:
Hi, During optimizing SPE for Ubuntu, I found something strange. I have Ubuntu 5.10 "The Breezy Badger" and unfortunately this code is not working: >>> import webbrowser >>>...
7
by: Coder | last post by:
Hi I have the following code in java script, it is not giving proper output in FIREFOX but running fine in IE... can anybody help me out to make this run in FIREFOX . <script...
12
by: amit | last post by:
Hello group, I'm kinda skeptical about a code is being used in my js program. All it does is checking what browser is being run and finds out if FLASH is installed or not. This code works...
6
by: scotty | last post by:
I have a script that loops through an existing table list and prepares each href element node to trigger a function when an image is clicked. The function that will be run passes a property value...
7
by: Carlos Mendonça | last post by:
Has anyone managed to get ClickOnce to work with Firefox? It seems to me that it still has the same issues VS 2K5 had. I appreciate any comments or tips.
3
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.