Skip to main content

Microsoft Silverlight

Answered Question HTML Divs overlaps AnimationsRSS Feed

(0)

modikumar
modikumar

Member

Member

0 points

7 Posts

HTML Divs overlaps Animations


Hi,

  I am developing an silverlight application. The app displays ads towards one corner. For displaying the ads we are positioning the ad div (which contains an IFRAME), setting its z-order to 1 and making the silverlight app windowless and background to be transparent.

   Everything works fine, the silverlight app is seen the ads are visible, but the animations in the silverlight app goes behind the HTML Sad.

   How can i solve this issue. I want the ad div to seen and the animation to be visible over the ad div. Please help, have very little time to get this up

 

From Silverlight

bryant
bryant

Star

Star

9937 points

1,629 Posts

Silverlight MVP

Re: HTML Divs overlaps Animations

You probably need to make sure the host control is taking up the full screen, otherwise it probably isn't big enough and the add is animating off the control. I'm assuming the animations move the ads in some way, so if that assumption is wrong then let us know.

-- bryant

Blog | Twitter
_________________
Dont forget to click "Mark as Answer" on the post that helped you.

Amanda Wang - MSFT
Amanda W...

All-Star

All-Star

17241 points

1,466 Posts

Answered Question

Re: HTML Divs overlaps Animations

 Hi,

modikumar:
Everything works fine, the silverlight app is seen the ads are visible, but the animations in the silverlight app goes behind the HTML.
 

You can try to adust the z-index proepty of the div containing the Silverlight Embed control in the webpage  to make it display front. for example: set its z-index: 999.

Amanda Wang
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities