Make iframe automatically adjust height according to the contents without using scrollbar?

Hello, 
I am developing the site (www.meninasreais.com.br) and have a doubt. I created the base html - menu, header - in Adobe Muse. I'm trying to insert an iframe that automatically adjust the height according to the content of the blog.
I tried with various codes, the frame is installed on the same domain as the site and none of them worked. What can I be doing wrong? Thank you.
The code that was inserted below:
<script language="JavaScript">
<!--
function autoResize(id){
    var newheight;
    var newwidth;
    if(document.getElementById){
        newheight=document.getElementById(id).contentWindow.document .body.scrollHeight;
        newwidth=document.getElementById(id).contentWindow.document .body.scrollWidth;
    document.getElementById(id).height= (newheight) + "px";
    document.getElementById(id).width= (newwidth) + "px";
//-->
</script>
<IFRAME SRC="www.meninasreais.com.br" width="600px" height="200px" id="iframe1" marginheight="0" frameborder="0"onLoad="autoResize('iframe1');"></iframe>

Hi, i've successully done this for my blogging engine.
I've uses jquery.autoheight.js
In my page property :
<script type="text/javascript" src="http://www.solutionsip.ca/lib/js/jquery.js"></script>
<script type="text/javascript" src="http://www.solutionsip.ca/lib/js/jquery.autoheight.js"></script>
In my html box :
<iframe id="myframe" name="myframe" class="autoHeight" width="100%" scrolling="no" marginheight="0" frameborder="0" src="http://www.solutionsip.ca/blog"></iframe>
This work in Adobe muse. My iframe adjust it self with my blog content.
Exemple : http://www.solutionsip.ca/blog.html

Similar Messages

  • Make iframe Webcenter 11.1.1.5 automatically adjust height according to the content

    Hi All,
    Anyone can help me how to make Iframe (application page template) webcenter portal automatically adjust height according to the content?
    Thanks in advance..

    Hi, i've successully done this for my blogging engine.
    I've uses jquery.autoheight.js
    In my page property :
    <script type="text/javascript" src="http://www.solutionsip.ca/lib/js/jquery.js"></script>
    <script type="text/javascript" src="http://www.solutionsip.ca/lib/js/jquery.autoheight.js"></script>
    In my html box :
    <iframe id="myframe" name="myframe" class="autoHeight" width="100%" scrolling="no" marginheight="0" frameborder="0" src="http://www.solutionsip.ca/blog"></iframe>
    This work in Adobe muse. My iframe adjust it self with my blog content.
    Exemple : http://www.solutionsip.ca/blog.html

  • Embed wordpress with iframe that automatically adjusts height

    I have been on the search for an iframe code like the one shown in the embedding tumblr jam session but I need one that will adjust the height of the iframe according to the content of the page! its for embedding a wordpress blog into my muse blog section!
    anyone please!
    I built this site with muse, and I'm currently working on the mobile and tablet versions!
    http://rigandkeel.com

    Try this: (Fluid iFrame)
    http://www.dyn-web.com/tutorials/iframes/fluid/
    From here:
    http://www.dyn-web.com/tutorials/iframes/
    Nick.

  • I have upgraded Apple Aperture from version 2 to version 3 and I'm having a problem with the "Highlights and Shadows" adjustment. According to the user's manual, I should have access to an advanced disclosure triangle which would allow me to adjust mid co

    I have upgraded Apple Aperture from version 2 to version 3 and I'm having a problem with the "Highlights and Shadows" adjustment. According to the user's manual, I should have access to an advanced disclosure triangle which would allow me to adjust mid contrast, colour, radius, high tonal width and low tonal width.
    If anyone has any suggestions as to how to access this advanced section, I'd be most grateful.

    Hi David-
    The advanced adjustments in the Highlights & Shadows tool were combined into the "Mid Contrast" slider in Aperture 3.3 and later. If you have any images in your library that were processed in a version of Aperture before 3.3, there will be an Upgrade button in the Highlights & Shadows tool in the upper right, and the controls you asked about under the Advanced section. Clicking the Upgrade button will re-render the photo using the new version of Highlights & Shadows, and the Advanced section will be replaced with the new Mid Contrast slider. With the new version from 3.3 you probably don't need the Advanced slider, but if you want to use the older version you can download it from this page:
    http://www.apertureexpert.com/tips/2012/6/12/reclaim-the-legacy-highlights-shado ws-adjustment-in-aperture.html

  • HT4623 I have tried resetting an iPhone 3 and I am unable to activate and sync it. How can I reset the device without using a computer?

    I have tried resetting an iPhone 3 and I am unable to activate and sync it. How can I reset the device without using a computer?

    Hello anacc,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    Connect your USB cable to your computer but not to the iPhone, iPad, or iPod touch until step 3.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.If you cannot turn off the device using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the device turns off, release the Sleep/Wake and Home buttons.
    While pressing and holding the Home button down, connect the USB cable to the iPhone, iPad, or iPod touch. The device should turn on.
    Continue holding the Home button until you see the Connect to iTunes screen. When this screen appears, you can release the Home button:
    Note: If the image of a battery appears, let the device charge for at least ten minutes to ensure that the battery has some charge, and then start with step 2 again. If you don't see the Connect to iTunes screen, try these steps 1 through 4 again.
    iTunes should automatically open and display the following message:
    "iTunes has detected an iPhone in recovery mode. You must restore this iPhone before it can be used with iTunes."Note: If iTunes not open after two minutes, please open iTunes yourself.
    Use iTunes to restore the device.
    Best of luck,
    Mario

  • Mac won't connect to the web without using a vpn...

    I know...it doesn't make sense. I have been buying and using a vpn service, IPVanish, for 3 months now and I have always just had it turned on. But now I no longer use it because of payment issues and it not being that great and since then my computer can't connect to the internet without using some sort of vpn. I can use skype, my email, steam, really anything except my web browser. I go to start it up w/o being connected to a vpn and it wont load a webpage. Does anyone know what to do...if so please help!!

    Back up all data.
    From the menu bar, select
     ▹ System Preferences ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the Proxies tab. If any proxy options are selected, make a note of them and then deselect them. You don’t need to change the bypass or FTP settings. Click OK and then Apply. Test. The result may be that you can't connect to any web server. Restore the previous settings if that happens.

  • How do I transfer music from one iPhone to the other without using a laptop and will I be billed?

    How do I transfer music from one iPhone to the other without using a laptop and will I be billed?

    Download Past Purchases
    http://support.apple.com/kb/HT2519
    Or do you mean this...
    Old Phone to New Phone
    http://support.apple.com/kb/HT2109
    Also...
    It should be Noted that anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID

  • I am brand new to the Ipad.  I can't use ICloud unless I upgrade my 10.5 Leopard.  Is there a way to sync documents created in Pages to the IPad without using ICloud?

    Hello.  I am a newbie to the Ipad.  I am currently working with an OS 10.5 Leopard MAC.  I understand that in order to use ICloud I would need to purchase OSX Snow Leopard and OSX Lion.  I am attempting to avoid the expense and to the extent possible sync my IPad with my MAC.  I have created documents on my MAC in pages.  Is there a way to have access to those documents on the IPad without using ICloud.
    A second question concerns web browsing, sometimes you'll open up a page or image and not know how to go back to the previous page. So do I just close and reopen safari altogether or is there another way to get to the previous page.
    Thanks for any guidance you can provide.

    Actually you can use iCloud with the Mac running OS X 10.5.8. You don't sync the documents - you upload to or download them from iCloud.
    You can open a browser on your Mac - Safari is preferred - log into icloud.com, enter your username and password, click on the iWorks icon, click on the Pages section at the top - and then you can drag documents into the browser window to upload files - and you can select a file in the cloud to download to the Mac. I do this on my iMac at work running Tiger 10.4.11. It's kind of slow - and you will get a warning that you may be using a supported browser - but it works.
    In any event, you can use iOS file sharing to send the Pages docs to your iPad. you have to connect to the Mac and do this via iTunes.
    iWork for iOS: About iTunes File Sharing
    Just tap the arrows in the toolbar in Safari to go back and forth. You can open multiple pages using tabs. tap on the + sign to add another tab in Safari.

  • Regarding reading the data from the files without using Stremas

    hai to all of u...
    here i have a problem where i have to read the data from the files without using any streams.
    please guide me how to do this one,if possible by giving with an example
    Thanks & Regard
    M.Ramakrishna

    Simply put, you can't.
    By why do you need to?

  • I want to upgrade my phone to the 4 or 4s.  My macs are still running Tiger.  If I bought an iPad 2, could I sync everything to it from the 4 without using a Mac at all, and then be able to iCloud my calendar and contacts, etc?

    I want to upgrade my phone to the 4 or 4s.  My macs are still running Tiger.  If I bought an iPad 2, could I sync everything to it from the 4 without using a Mac at all, and then be able to iCloud my calendar and contacts, etc?

    Radiation Mac wrote:
    And you must be using a recent version of iTunes on your iMac in order to activate the iPad,  So, no.
    You don't need a computer to activate a new iOS device anymore. Anything with iOS 5 can be activated over a WiFi network (or cellular if that applies).

  • I have an Apple Powerbook G4, and my monitor doesn't function. I have an external display Monitor, however it's stuck in extended screen mode. How do I get it to mirror or duplicate the display without use of the on-board?

    As i had said, I have an Apple Powerbook G4, and my monitor doesn't function. I have an external display Monitor, however it's stuck in extended screen mode. How do I get it to mirror or duplicate the display without use of the on-board? Is there a Fn key combo i'm missing or is the issue more serious then i realize? any and all help and hints would be greatly apprichiated, thanks in advance.
    -Powerbook User

    The PowerBooks have an F-key that toggles mirrored and extended mode. My PB is loaned out right now but I think it was f7. The keycap has an icon on two overlapping rectangles, as I recall.
    EDIT: Yes! Found a pdf of the PB manual it shows F7 is the toggle:

  • Import roles to the ERM without using the "Mass Role Import

    Hello,
    I want to know if there is another way to import roles to the ERM without using the "Mass Role Import.
    Im'm using SAP GRC AC 5.3
    Best Regards.
    Pablo Mortera.

    Hi.
    There is NO other way to import roles..
    We need to use only ERM for "Mass Role Import.
    Regards
    Gangadhar

  • How to retrieve the content type used in a document library (C# - Client Model).

    Hello,
    I need to know if it's possible to retrieve the content type used in a document library, so I can know the columns active and used in this document library. I am using the Client Model in C#.
    Thanks

    First, retrieve your document library as a List object. Then, use the
    List.ContentTypes property to iterate through all the content types assigned to the list.
    Blog:
    blog.beckybertram.com |
    RSS | @beckybertram |
    SharePoint 2010: Six-in-One

  • How to update and insert the records without using Table_comparison and Map_operation?

    How to update and insert the records without using Table_comparison and Map_operation?

    Use either join or MERGE see this Inserting, Updating, and Deleting Data by Using MERGE

  • How to list the datasources without use a tnsnames.ora file?

    Hi,
    I want to use the OracleDataSourceEnumerator class of ODP.Net to list the datasources on which the user can connect.
    It's work with a tnsnames.ora on the local station, so good.
    But I want use the easy connect naming methode so i have edited the sqlnet.ora file with this:
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
    then i have deleted the content of the tnsnames.ora
    so my code don't work : none datasource is returned by the OracleDataSourceEnumerator
    So my question : is it a way to list the datasources without use a tnsnames.ora file?
    Edited by: user13499556 on 17 déc. 2010 08:21

    You can check
    DataConnectionFile.EnumerateDependants method
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

Maybe you are looking for