You can do it by placing
<param name="wmode" value="transparent">
in your flash area. You will also need to add
wmode="transparent"
to the "embed" area of your flash.
Wednesday, 30 September 2009
Friday, 18 September 2009
CSS: Z-Index and getting around IE6 lack of support for this property
This is an interesting post to get around IE's bug when applying z-index to elements.
http://www.macridesweb.com/oltest/IframeShim.html
The idea is to wrap an Iframe around your element where z-index is required.
For transparency apply the alpha filter to make the actual iframe transparent. Even though its transparent, it will still hide IE's window elements e.g. select boxes away from view.
iframe.style.filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';
http://www.macridesweb.com/oltest/IframeShim.html
The idea is to wrap an Iframe around your element where z-index is required.
For transparency apply the alpha filter to make the actual iframe transparent. Even though its transparent, it will still hide IE's window elements e.g. select boxes away from view.
iframe.style.filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';
Wednesday, 16 September 2009
Batch Scripting: Environment Dates
Encountered a funny issue in our staging environment.
Seems like the environment date - %date% is user profile dependant.
If I run echo %date% using my account - I get 16/09/2009
If I run echo %date% using a service account - I get Wed 16/09/2009
Workaround is to strip the dayofweek from the above dates and then split each day, month and year component from the and reassemble each component manually.
For /F "tokens=1-4 delims=/ " %%i in ('date /t') Do (
Set _1=%%i
Set _2=%%j
Set _3=%%k
Set _4=%%l
)
:: Assign to datestamp and split out each date component to associated variable
:: Check for case when date stamp doesn't include day of week
If (%_4%)==() (
Set _datestamp=%_3%%_2%%_1%
Set _year=%_3%
Set _month=%_2%
Set _day=%_1%
) else (
Set _datestamp=%_4%%_3%%_2%
Set _year=%_4%
Set _month=%_3%
Set _day=%_2%
)
For /F "tokens=1-4 delims=/ " %%i in ('date /t') Do (
Set _1=%%i
Set _2=%%j
Set _3=%%k
Set _4=%%l
)
:: Assign to datestamp and split out each date component to associated variable
:: Check for case when date stamp doesn't include day of week
If (%_4%)==() (
Set _datestamp=%_3%%_2%%_1%
Set _year=%_3%
Set _month=%_2%
Set _day=%_1%
) else (
Set _datestamp=%_4%%_3%%_2%
Set _year=%_4%
Set _month=%_3%
Set _day=%_2%
)
Subscribe to:
Posts (Atom)