IFrame fix / unfix / fix ???

A few Betas back a 'fix' was applied to the IFrame core module which restricts non-numeric values being entered into the Height and Width properties (Issue 516)

Since the implenetation of the IFrame is quite limited, many users implement workarounds for these values both within DNN and separate from DNN, such as entering javascript into the height property - eg.
width = 388" style="height:expression(document.body.clientHeight-280);"
Now this was realised in a later BETA and flagged to be removed, however now it seems a decision has been made that 'validation is more important' (Issue 670)...
Surely if the HTML / IE Dom (whatever the standard) doesn't restrict use of javascript in these properties *and* furthermore allows them to work with non-standard input, then why should DNN??
I realise that validation is handy where appropriate, but I think it makes the IFrame almost worthless if we are to restrict this type of flexibility..
0
bunce
2/25/2005 7:36:56 AM
asp.net.dotnetnuke 25171 articles. 0 followers. Follow

4 Replies
681 Views

Similar Articles

[PageSpeed] 7

PS - As a workaround, I've removed the validators so I can enter non-standard values, but the display behaviour seems to have changed also..

With a width=100%, the Iframe isn't stretching to fill the module (default skins and containers are being used). This even occurs when a standard height value is entered (eg 500), so its not due to any javascript being entered into the properties.
Has the view Iframe control changed as well in the last few betas?
Can anyone shed some light on why this would happen? Anything else I can check? Could it be a setting in the skin which is preventing this?
Thanks in advance,
Andrew
0
bunce
2/25/2005 7:57:52 AM
For info - in case anyone else comes up against this.  

Comparing what is generated in 3.08 to 3.11, the table surrounding the IFrame in IFrame.ascx control in 3.11 lacks the width=100% property.
This is whats generated in 3.0.11:

<!-- Start_Module_367 -->
<div id="dnn_ctr367_ModuleContent">
<table cellspacing="0" cellpadding="4" border="0" summary="Design Table">
<tr valign="top">
<td id="dnn_ctr367_IFrame_HtmlHolder" class="Normal">
<span id="dnn_ctr367_IFrame_lblIFrame">
<iframe frameborder="no" src="http://apollo/whatsnew.htm" height="500" width="100%" title="Whats New" scrolling="auto">Your Browser Does Not Support Frames
</iframe>
</span>
</td>
</tr>
</table>
<!-- End_Module_367 -->


Generated in 3.0.8:

<!-- Start_Module_366 -->
<div id="dnn_ctr366_ModuleContent">
<table cellspacing="0" cellpadding="4" width="100%" border="0" summary="Design Table">
<tr valign="top">
<td id="dnn_ctr366_IFrame_HtmlHolder" class="Normal">
<span id="dnn_ctr366_IFrame_lblIFrame">
<iframe frameborder="no" src="http://apollo/whatsnew.htm" height="500" width="100%" title="Whats New" scrolling="auto">Your Browser Does Not Support Frames</iframe>
</span>
</td>
</tr>
</table>
<!-- End_Module_366 -->

Not sure if this impacts on anything else, but may need to be considered as issue in 3.0.11 as I don't believe its possible for the IFrame to stretch to a width of 100% with the current IFrame.ascx control.
Cheers,
A
0
bunce
2/25/2005 8:22:43 AM
Would be nice to have a resolution to this. I was using the previous workaround so that any page pulled through the Iframe looks seemless but of course that has changed since 3.07. Any ideas?
0
rodriguezja
2/25/2005 10:39:24 PM
friendly ^bump^ 

What's the Core Team's take on this? I've seen some comments from support.dotnetnuke.com suggesting that the validation fix be rolled back.
0
rodriguezja
2/27/2005 3:19:53 AM
Reply:

Similar Artilces:

Fixes fixes fixes
Here we go again. Find attached version 1.2 of my Java wrapper classes. Dave Wolf Internet Applications Division begin 666 JavaWrappers.ssc M/"$M+5-#4DE05"!*879A5W)A<'!E<G,N<W-C(&-R96%T960@;VX@5&AU+" P M-2!!=6<@,3DY.2 P,3HT.3HT,0T*+RH@("HO#0H-"@T*+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\-"@T*+R\@2F%V82 M/B!0 M;W=E<D1Y;F%M;R!(96QP97(@8VQA<W-E<PT*+R\@5F5R<VEO;B Q+C(-"B\O M($1A=F4@5V]L9@T*+R\@8V]P>7)I9VAT(#$Y.3D@4WEB87-E($EN8R!...

fix not fixed?
http://www.infoworld.com/article/03/09/08/HNhackersjump_1.html ...

superreview granted: [Bug 287446] [FIX]default value on input not shown in an iframe if the iframe is position: relative : [Attachment 180732] Proposed fix
Johnny Stenback <jst@mozilla.org> has granted Boris Zbarsky <bzbarsky@mit.edu>'s request for superreview: Bug 287446: [FIX]default value on input not shown in an iframe if the iframe is position: relative https://bugzilla.mozilla.org/show_bug.cgi?id=287446 Attachment 180732: Proposed fix https://bugzilla.mozilla.org/attachment.cgi?id=180732&action=edit ------- Additional Comments from Johnny Stenback <jst@mozilla.org> - In nsTextControlFrame::SetValue(): + // Time to mess with our security context... See comments in GetValue() + // for why th...

Time to fix (Bug fix)
Name: Marc Jarman Email: marcatmarcandstacedotcom Product: Firefox Summary: Time to fix (Bug fix) Comments: Hi I'm an MBA student at the University of Technology Sydney (Australia). Next week, on October 3, I'm doing a presentation on Firefox for my E-Business class. I read somewhere, but cannot find where, that major bug fixes for Firefox were on avg 6 days, but for IE it was something like 280 days? Would you be able to confirm the statistics or point me in the direction of where they'd be published? Thanks very much - now I better go back and try to come to...

superreview granted: [Bug 281922] [FIX]iframe document region is not updated in this testcase : [Attachment 189212] Patch that fixes this bug for me
Johnny Stenback <jst@mozilla.org> has granted Boris Zbarsky <bzbarsky@mit.edu>'s request for superreview: Bug 281922: [FIX]iframe document region is not updated in this testcase https://bugzilla.mozilla.org/show_bug.cgi?id=281922 Attachment 189212: Patch that fixes this bug for me https://bugzilla.mozilla.org/attachment.cgi?id=189212&action=edit ------- Additional Comments from Johnny Stenback <jst@mozilla.org> r+sr=jst ...

superreview granted: [Bug 100533] [FIX]form.submit() inside a display: none iframe does nothing : [Attachment 202199] Fix
Johnny Stenback <jst@mozilla.org> has granted Boris Zbarsky <bzbarsky@mit.edu>'s request for superreview: Bug 100533: [FIX]form.submit() inside a display: none iframe does nothing https://bugzilla.mozilla.org/show_bug.cgi?id=100533 Attachment 202199: Fix https://bugzilla.mozilla.org/attachment.cgi?id=202199&action=edit ------- Additional Comments from Johnny Stenback <jst@mozilla.org> nsHTMLFormElement::Reset() { // Send the reset event nsresult rv = NS_OK; nsCOMPtr<nsPresContext> presContext = GetPresContext(); + // XXXbz shouldn'...

fix
Name: Email: mphernandzathotmaildotcom Product: Firefox Summary: fix Comments: tengo un problema no me carga el java en firefox 3.5.4, especialmente en facebook,es para cargar el album de fotos, tengo instalado el ultimo java el 6. build 16 que me recomienda Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 (.NET CLR 2.0.50727) From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them t...

fix
Name: maggie Email: mnewton2atcogecodotca Product: Thunderbird Summary: fix Comments: i try to update my email addy and i get this ,,,,AUS timed out ,what is that and how do i fix that or can u fix it for me Browser Details: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) From URL: http://hendrix.mozilla.org/ ...

Fix
Hi, You need to go to Sybase Central and click on the utilities folder. You then need to add the hostname and port so that a connection can be made. I assume that you can ping the linux box and have that set up correctly. Once you have the directory services set up, isql will allow you to log into the Sybase server on Linux. BTW, you can ping the server in the directory services area also. Pat ...

superreview requested: [Bug 288888] Don't create scrollbars for scrolling="no" IFRAMEs (fix perf regression) : [Attachment 179517] fix
Robert O'Callahan (Novell) <roc@ocallahan.org> has asked David Baron <dbaron@mozilla.org> for superreview: Bug 288888: Don't create scrollbars for scrolling="no" IFRAMEs (fix perf regression) https://bugzilla.mozilla.org/show_bug.cgi?id=288888 Attachment 179517: fix https://bugzilla.mozilla.org/attachment.cgi?id=179517&action=edit ------- Additional Comments from Robert O'Callahan (Novell) <roc@ocallahan.org> The big comment explains what's happening. Because HTML/BODY overflow propagation hasn't happened yet, the GetScrollbarSty...

superreview granted: [Bug 288888] Don't create scrollbars for scrolling="no" IFRAMEs (fix perf regression) : [Attachment 179517] fix
David Baron <dbaron@mozilla.org> has granted Robert O'Callahan (Novell) <roc@ocallahan.org>'s request for superreview: Bug 288888: Don't create scrollbars for scrolling="no" IFRAMEs (fix perf regression) https://bugzilla.mozilla.org/show_bug.cgi?id=288888 Attachment 179517: fix https://bugzilla.mozilla.org/attachment.cgi?id=179517&action=edit ...

superreview granted: [Bug 240892] [FIX]select element by click doesn't work for content in an iframe nested in a frame : [Attachment 146440] Fix
Peter Van der Beken <peterv@propagandism.org> has granted Boris Zbarsky <bzbarsky@mit.edu>'s request for superreview: Bug 240892: [FIX]select element by click doesn't work for content in an iframe nested in a frame http://bugzilla.mozilla.org/show_bug.cgi?id=240892 Attachment 146440: Fix http://bugzilla.mozilla.org/attachment.cgi?id=146440&action=edit ------- Additional Comments from Peter Van der Beken <peterv@propagandism.org> What timeless said. ...

superreview requested: [Bug 435362] [FIX]cross-domain javascript security restrictions incorrectly applied to local HTML files loaded into an iframe : [Attachment 322807] Fix the parens
Boris Zbarsky (very little time until late May) <bzbarsky@mit.edu> has asked Jonas Sicking (:sicking) <jonas@sicking.cc> for superreview: Bug 435362: [FIX]cross-domain javascript security restrictions incorrectly applied to local HTML files loaded into an iframe https://bugzilla.mozilla.org/show_bug.cgi?id=435362 Attachment 322807: Fix the parens https://bugzilla.mozilla.org/attachment.cgi?id=322807&action=edit ------- Additional Comments from Boris Zbarsky (very little time until late May) <bzbarsky@mit.edu> sicking's right: the patch was missing a pair ...

superreview granted: [Bug 435362] [FIX]cross-domain javascript security restrictions incorrectly applied to local HTML files loaded into an iframe : [Attachment 322807] Fix the parens
Jonas Sicking (:sicking) <jonas@sicking.cc> has granted Boris Zbarsky (very little time until late May) <bzbarsky@mit.edu>'s request for superreview: Bug 435362: [FIX]cross-domain javascript security restrictions incorrectly applied to local HTML files loaded into an iframe https://bugzilla.mozilla.org/show_bug.cgi?id=435362 Attachment 322807: Fix the parens https://bugzilla.mozilla.org/attachment.cgi?id=322807&action=edit ...

Web resources about - IFrame fix / unfix / fix ??? - asp.net.dotnetnuke

IFrame - Wikipedia, the free encyclopedia
Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. , a non-profit organization.

North Social Debuts IFrame Editor Facebook App
Facebook application provider North Social , which was acquired by Vocus in February 2011 , released its new iFrame Editor app, which allows ...

Static HTML: iframe tabs auf Facebook - Facebook
Static HTML makes it simple to build iframe tabs for your Facebook Page and is the leading provider of custom tabs for Facebook Pages, with over ...

Introducing iframe Tabs for Pages
Today we announced major updates to Facebook Pages to help Page admins manage communications, express their brands, and increase engagement. ...

Facebook Upgrades Features Available to IFrame-based Apps
... application developer faces a big choice early on in their design: whether to build the bulk of their apps’ canvas pages in FBML or iframes. ...

App Store - iFrame : 3D Photo Framing
Read reviews, get customer ratings, see screenshots, and learn more about iFrame : 3D Photo Framing on the App Store. Download iFrame : 3D Photo ...

Ontario Votes 2011 - CBC News Ontario Votes 2011 Scribble IFRAME
Accessibility Links Skip to main content Skip to CBC accessibility page CBC Global Header Navigation CBC.ca News news drop down menu Sports sports ...

Kevin Rose's First Order of Battle as Digg CEO, Get Rid of iFrame Toolbar - SocialTimes
Framing content with an iFrame is bad for the Internet. It causes confusion when bookmarking, breaks w/iFrame busters, and has no ability to ...

Price Drop: iFrame : 3D Photo Framing
iFrame : 3D Photo Framing 1.1 Device: iOS Universal Category: Photography Price: Free, Version: 1.1 ( iTunes ) Description: iFrame is 3D photo ...

MRC Accredits comScore vCE Validation, Including Cross-Domain iFrame Measurement
... we knew that there was a “Great White Whale” looming in the measurement and reporting on ad visibility: the unfriendly, cross-domain iframe. ...

Resources last updated: 12/5/2015 2:49:50 AM