FireFox is not Rendering Javascript functions

P

Phoe6

The following Java Script is present on a page, which displays a Hover
Enter gif and when user presses it, enters the website.
This is working properly in Internet Explorer ( perhaps, it was
developed using Front Page?) But is not working with FireFox.

where could be the problem, how to modify it.

Thanks!
Senthil



<!--[if !mso]>
<style>
v\:* { behavior: url(#default#VML) }
o\:* { behavior: url(#default#VML) }
..shape { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation"
src="file:///C:/Program%20Files/Microsoft%20Office/Office10/fpclass/animate.js">
</script>
 
R

Randy Webb

Phoe6 said:
The following Java Script is present on a page, which displays a Hover
Enter gif and when user presses it, enters the website.
This is working properly in Internet Explorer ( perhaps, it was
developed using Front Page?) But is not working with FireFox.

where could be the problem, how to modify it.

Start by validating the HTML.

Then, check the JS Console in FF for any errors.
 
D

DU

Phoe6 said:
The following Java Script is present on a page, which displays a Hover
Enter gif and when user presses it, enters the website.
This is working properly in Internet Explorer ( perhaps, it was
developed using Front Page?) But is not working with FireFox.


Correct. This is MSIE-specific functions, specific code (behaviors),
proprietary code, not W3C web standard code.

If you only need to display an hover Enter gif and when user presses it,
enters the website, then that would be easy to develop according to W3C
web standards and it would work in MSIE 5+ too.

DU
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top