I admit I have never used the <cfmenu> tag before so I am not familiar with the scripts being utilized.

Have you tried to change the css using an external css file or a <style> tag at the top of the page? You will not even need the onload method.

Try putting this in the page's <head>:
<style type="text/css">
#_yuiResizeMonitor {display:none !important;
                    width:0px !important;
                    height:0px !important;
                    margin:0; !important;}
</style>

If that doesn't work, try adding "  position:static !important; " in the above  Unless the scripts on the page modify the style properties of this iframe (which may happen when the iframe gets created,) I would expect this to work. With the # sign, we are identifying the iframe by id, and the !important should override any other styles applied by the page.



On 07/22/2011 05:19 PM, Jeff Howard wrote:
I tried that.  It really is baffling to me.  If I comment out the cfmenu from the page the extra space isn't there, but I put it back in the code and I have an extra 2 inches at the end of my page which is fairly unsightly looking.  Below is the code that is showing up in Firebug after my actual code. 
 
<html>
<head>
<script type="text/_javascript_">
window._onresize_=function(){window.parent.YAHOO.widget.Module.textResizeEvent.fire();};window.parent.YAHOO.widget.Module.textResizeEvent.fire();
</script>
</head>
<body></body>
</html>
</iframe>


On Thu, Jul 21, 2011 at 5:35 PM, Teddy R. Payne <[email protected]> wrote:
Jeff,
I have not run into this yet, but if you are trying to apply style or
manipulate the DOM for something that loads last then using the onload
attribute of the <body> tag executes after the body has completed.

That could be one way, but not a direct fix.

Teddy R. Payne, ACCFD
Google Talk - [email protected]




On Thu, Jul 21, 2011 at 5:24 PM, Jeff Howard <[email protected]> wrote:
> I recently created an application that I used cfmenu to create the
> navigation.  I originally used jQuery but decided to go with CF and I just
> recently noticed that at the bottom of the page there is a sizable area of
> white (actually gray) space below my content.  When I use Firebug to figure
> out what is creating that I come across an iFrame titled _yuiResizeMonitor
> that is created by CF.  This space exists in FF, IE and Chrome.  I tried
> adding a script at the end of the page that set the CSS for this to not
> display but it has not rendered so I get that the object is null when trying
> to style is with js at the end of the page.
>
> Has anyone had an issue similar to this, and if so, were you able to find a
> fix?


-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------




-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to