We recently encountered an issue when embedding Flex/Flash applications in Liferay Portlets.
The shockwave (.swf) file was showing on top of the liferay navigation menu:
The usual solution is to specify the z-index for the div layers.
There are even some very cool things you can do with Flex overlay.
Liferay however is a third party portal platform and if you don't want to have to change the source code or extend Liferay, a quick fix is to use the wmode argument for the embedded flex application:
You just have to redeploy your portlet and now the menu appears on top of your portlet:
The shockwave (.swf) file was showing on top of the liferay navigation menu:
The usual solution is to specify the z-index for the div layers.
There are even some very cool things you can do with Flex overlay.
Liferay however is a third party portal platform and if you don't want to have to change the source code or extend Liferay, a quick fix is to use the wmode argument for the embedded flex application:
<div> <embed wmode="transparent" src="<%= request.getContextPath() %>/flex/clinical_data.swf" height=250 width=500> </div>
You just have to redeploy your portlet and now the menu appears on top of your portlet:
No comments:
Post a Comment