Plugin deleted when setting CSS visibility property
Last post 04-29-2008 2:49 PM by Nelsormensch. 2 replies.
Sort Posts:
04-28-2008 4:04 PM
Plugin deleted when setting CSS visibility property

I need to hide the <div> the Silverlight plugin resides in.  I can't just set the plugin's root canvas to Collapsed, as the "empty" div will still be bump of the position of the content meant to replace it.

Hiding it works fine (either by directly setting its style or using JQuery's .hide() function), but when the <div> is made visible again, the Silverlight plugin is not.  It can't be referenced at all, it seems like it has been removed/deleted.

Any idea what might be causing this or how it can be fixed?  Thanks!

 

Nelsormensch

Joined on 08-28-2007
Posts 10
04-29-2008 2:09 AM
Re: Plugin deleted when setting CSS visibility property

It's strange. Silverlight content is gone when you set CSS display = block?

Can you show us the code? Or if you can make the small demo, you can send it to me. ( mchlsync AT gmail DOT com) I'm happy to take a look at this issue.

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Best Regards,
Michael Sync

Blog : http://michaelsync.net
Feed : http://michaelsync.net/feed

mchlSync

Joined on 09-16-2005
Singapore
Posts 2,021
04-29-2008 2:49 PM
Marked as Answer
Re: Plugin deleted when setting CSS visibility property

Heh, after a rather painful bit of debugging, it turns out it the culprit was a devilish, but otherwise unrelated, bug.  Thanks for the offer of assistance though and apologies for the red herring.  Cheers!

Nelsormensch

Joined on 08-28-2007
Posts 10