Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Transparancy gone in HTML5
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

siemens
Master

Netherlands
139 Posts

Posted - 05 Apr 2012 :  11:11:21  Show Profile  Visit siemens's Homepage  Reply with Quote
I have a dhe page with inside a iFrame, the code of the iFrame: <iframe id="$NAME" name="$NAME" src="$FILE" width="$WIDTH" height="$HEIGHT" frameborder="0" marginwidth="0" marginheight="0" allowTransparency="true"> </iframe>


Notice the 'allowTransparency' option.

The iFrame is also a dhe page with in the header the following code:
<style type="text/css">
<!-- BODY {background:none transparent;}-->
</style>


I changed all pages in my project to 'HTML 5.0' instead of 'HTML 4.0 Transitional', after recompile the pages the transparancy is gone!

When I set the code for this specific iFrame page back to 'HTML 4.0 Transitional' the transparancy is back??

How can I solve this?

s.dav
Site Admin

Italy
3364 Posts

Posted - 06 Apr 2012 :  13:50:46  Show Profile  Visit s.dav's Homepage  Reply with Quote
Check this page:

http://www.w3schools.com/html5/tag_iframe.asp

In HTML5 some attributes are gone; check this page for a solution based on jquery:

http://stackoverflow.com/questions/3702808/cross-browser-html5-iframe

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 10 Apr 2012 :  16:53:39  Show Profile  Visit siemens's Homepage  Reply with Quote
I am sorry Davide, i cannot execute one of the solutions in jQuery to DHE. Can you please help a little bit...
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000