function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cgosscgoss 

Flex s-control masks Javascript popups

We have a Flex widget in an s-control on the Contact Detail page. It appears that the z-order of the Iframe for the s-control is wrong, as it will mask any other JS popups from the standard SF pages, such as hover details and address editors (see pic).


Does anyone have any suggestions?
Best Answer chosen by Admin (Salesforce Developers) 
cgosscgoss
The fix here was to add a param arg to the embed and object tags:

<param name="wmode" value="transparent">
and
wmode="transparent"

All Answers

werewolfwerewolf
Is that your own Scontrol or somebody else's?  If it's yours you may be able to tweak its z-order, but good luck with that in IE anyway.
cgosscgoss
It's my own. I'm just using the standard flex wrapper from the SF docs. I've thought about trying the javascript-based SWFObject wrapper, so maybe that will help.

I hear you about IE- if MS would implement the web standards consistently, every web developer in the world's productivity would increase by 20%!
cgosscgoss
The fix here was to add a param arg to the embed and object tags:

<param name="wmode" value="transparent">
and
wmode="transparent"
This was selected as the best answer
BreandanAnseoBreandanAnseo
 thanks cgoss that saved a world of pain