搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How can I change the script on my website www.joeduerr.com to allow the mouseover to work the same as it does with IE?

  • 3 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 knorretje

more options

I use a script to dim the images and mouseover to brightly display the images. If you go to headshots or any of the bottom buttons on my website, in Firefox the script doesn't work. I need to know how to rewrite the code so it will work with Firefox. It only works with IE. I would be happy to supply the code I use if that will help.

I use a script to dim the images and mouseover to brightly display the images. If you go to headshots or any of the bottom buttons on my website, in Firefox the script doesn't work. I need to know how to rewrite the code so it will work with Firefox. It only works with IE. I would be happy to supply the code I use if that will help.

所有回复 (3)

more options

A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25

more options

The only thing worse than the problem I'm having is the Firefox support. I have spent more time trying to get a script working on your browser than I have developing my whole website, and I use Windows Notepad to write all my programs. I will inform all my clients that are using Firefox that I will NOT be fixing the problem with Mozilla and that if they want to show off their website they will have to use Windows Explorer.

more options

I think you can do this in Firefox 8 with the opacity css property. See the example at https://developer.mozilla.org/en/CSS/opacity
I have tried this on a simple image with a classname of "opacity". For a nice fade in/out effect you can add a transition with 4 extra lines of css.

   img.opacity {  
      opacity: 0.4;
     -moz-transition-property: opacity;  
     -moz-transition-duration: 1s; }
     
   img.opacity:hover {  
      opacity: 1.0;  
     -moz-transition-property: opacity;  
     -moz-transition-duration: 1s; }