ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

iFrame reloading every time when we hide and show that iFrame

  • 4 การตอบกลับ
  • 2 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย prabhakar.varma

more options

I am showing an Silverlight component in an iFrame and has to show and hide that iFrame from a menu link. So everytime I hide and show the iFrame, my Silverlight component is reloading. This is not happening in any other browser except FireFox (both Mac and Windows). I also tried keeping the iFrame inside DIV and hiding and showing that DIV and still same problem.

I will be grateful if you can provide me a solution.

Thanks.

I am showing an Silverlight component in an iFrame and has to show and hide that iFrame from a menu link. So everytime I hide and show the iFrame, my Silverlight component is reloading. This is not happening in any other browser except FireFox (both Mac and Windows). I also tried keeping the iFrame inside DIV and hiding and showing that DIV and still same problem. I will be grateful if you can provide me a solution. Thanks.

วิธีแก้ปัญหาที่เลือก

If you use display:none then the frame is reloaded.
If you do not want that then use visibility:hidden or opacity:0 to hide the frame.

อ่านคำตอบนี้ในบริบท 👍 0

การตอบกลับทั้งหมด (4)

more options

วิธีแก้ปัญหาที่เลือก

If you use display:none then the frame is reloaded.
If you do not want that then use visibility:hidden or opacity:0 to hide the frame.

more options

WOW You are Great. My Problem is solved :-)

I have one more problem, My lightbox pop-ups and drop-down menus are going behind Silverlight component. Is there any simple solution for this problem?

Thank You once again.

more options

You're welcome.

Not that I know of.
Does the Silverlight plugin have something similar like Flash with wmode=transparent?

Try to ask advice 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 You need to post a link to the website or post relevant parts of the code to make it possible to inspect the code.

more options

Thank You Cor-el. I'm not sure about wmode in Silverlight. I'm just using the Silverlight page URL in iFrame.

I will ask for advice at mozillaZine. Thank You once again.