Iframes and automatic resizing to fit content displayed.

Hi
Is it possible to display an iframe on your page with content inside that resizes and then have the iframe resize with it so you dont have to use scroll bars or make the page size really big.?

If the iframe page is hosted on your domain, yes, there is a jQuery plugin for this. 
http://github.com/house9/jquery-iframe-auto-height
If the iframe page is hosted externally, it won't work.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists 
http://alt-web.com/

Similar Messages

  • Can a structure be automatically resized to fit it's contents?

    Using auto-grow, structures sometimes get way too big. Resizing them by hand is time consuming. Is there a way to cause a block to resize to fit it's contents?

    well.. i guest you got to manually "shrink" it down. However, it (i.e. while loop) has ability to not to shrink till it overlap your code (are't you happy about it ).
    last but not least, if LabVIEW has everything "Automated". Then, what are we (LVUs) gonna do???
    Cheers!
    ian
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • Facebook iframe and Twitter Feed Pro widget not displaying in Safari

    I have a couple sites that use social media feeds. One using Twitter Feed Pro from Muse Themes and the other is the developer iframe for Facebook. Just recently these two embedded elements stopped displaying in Safari (I'm on Safari 8.0.3), yet they show up fine in Chrome and Firefox. Has anyone else had this issue? If so, do you know how to fix it?

    This probably is a browser related issue, try to clear cookie and then check.
    If still its same , please provide the site url.
    Thanks,
    Sanjit

  • Datagrid within Datagrid - Rows not resizing to fit content

    Hi,
    I have a datagrid with a custom item renderer that renders another data grid... so one column will render datagrids within the outer datagrid.  The problem is that the row does not size to fit the inner datagrid.  I can't set the rowHeight on the outer datagrid because the inner datagrids have dynamic data and i don't know how many rows they will have.  Also, after the datagrid is rendered, more rows may be added to any number of inner datagrids at a later time... and I need the rows holding them to resize accordingly.   Setting variableRowHeight=true on the outer grid doesn't seem to help either.
    Any ideas on how to do this? 
    Thanks!

    Hi, Alex, thanks for the info. It turns out, I was wrong.  The way it looked made me think it was a row-resizing problem, but it turns out that the rows were resizing fine... it was the outer datagrid itself that was not resizing properly.  Apparently it has to do with the combination of variableRowHeight and rowCount.  The jira issue may look familiar to you.
    http://bugs.adobe.com/jira/browse/SDK-13507
    Anyway, I got this from the jira comments and works pretty good...
    height="{theGrid.measureHeightOfItems(-1, theGrid.dataProvider.length + 1)}"
    I also have to call similar code when the data provider of the inner grids add/remove items.
    Thanks!

  • FileVault and automatic resize after logout

    Hi,
    is it possible to configure FileVault to automaticle resize the encrypted partition when the user logsout? When there's some free space on the FileVault encrypted partition and the user logsout FileVault asks the user if it should free the space now or later. I often shutdown the system by a program automaticle and I always confirm this question with the same answer: Yes, free the space now!
    It would be fine if FileVault could do this automaticly.
    Best regards, Stefan
    PS: I'm running OS X with the latest updates etc.

    Stefan,
    The operative word in this discussion and inherent in your question is "Automatic." The user should always have the ultimate choice of either Yes or No, but not in my opinion, Automatic. If FileVault always (automatically) freed the space and the user had a portable there may not be enough power remaining to complete the process. The inevitable loss of data will be the result.
    Your second example is valid from the perspective of security , but if your encrypted data is that sensitive why are you using a FileVault protected partition to view a DVD? I would suggest that you use a different account for casual activities.
    As good as FileVault is in protecting your sensitive data, it also presents the danger of locking up your files in an irretrievable ball of one's and zero's. Backups are critical.
    The cautions and warnings are prominent in any of the Apple Knowledge Base articles referring to the use of FileVault. If a user is unfamiliar with any aspect of FileVault, it should not in my opinion be activated.
    If I had a portable computer, I would consider the use of FileVault but since I do not, an Encrypted Disk Image and individual user accounts serves my purpose for desktop security.
    ;~)

  • Can photos be automatically resized to fit slides?

    I am importing photos to Keynote and even though 'Reduce placed images to fit on the slides' is checked in Keynote Preferenes the pictures do not downsample and I have to adjust each picture manually.  I'm working on a presentation with about two hundred photos so it's a bit annoying.  Can anyone help?

    well.. i guest you got to manually "shrink" it down. However, it (i.e. while loop) has ability to not to shrink till it overlap your code (are't you happy about it ).
    last but not least, if LabVIEW has everything "Automated". Then, what are we (LVUs) gonna do???
    Cheers!
    ian
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • Neither Automatically Resize nor Zoom to Fit working

    Hello out there in Appleland,
    Neither Automatically Resize nor Zoom to Fit is working in Preview 5.0.3 under Snow Leopard.  Zoom to Fit acts just like Actual Size or <Command> 0 and Automatically resize doesn't work at all.  This must be and bug, so please explain how this can be permanently fixed, even at the command line level.
    Thank you.
    Best regards,
    Bob
    Denver, CO

    I've found out a little more about Preview and its bug through a process of elimination.
    After examining Automatically Resize for Preview 3.0.9 on my old PowerBook G4 with OS 10.4.11, Preview 4.1 on my iMac with OS 10.5.8, and now Preview 5.0.3 on my MacBook Pro with OS 10.6.8, I discovered they all work the same way.  When Automatically Resize is checked the image is only resized when the window is reduced but never when the window is enlarged to a size greater than the image's Actual Size, which is a worthless feature for smaller images.  I don't think this is the way it is supposed to work, but I may be wrong.
    Where 5.0.3 differs from the other versions of Preview is in Zoom to Fit.  Under the View Menu, Zoom to Fit is grayed out unless the image stretches beyond the borders of the window (i.e. Automatically Resize toggled off).  In this case, the image will be reduced to the size of the window when Zoom to Fit is selected.  On the other hand, if the image is smaller than the size of the window, Zoom to Fit is not grayed out but neither does it enlarge the image to the size of the window when selected.  In other words, Zoom to Fit in 5.0.3 is only good for reducing an image to fill a smaller window but never for enlarging an image to fill a bigger window if that window is larger than the Actual Size of the image.
    Perhaps the problem is with Preview 5.0.3 failing to access com.apple.Preview.ImageSizingPresets.plist since removing all the Preview plists and launching the application anew does not recreate this particular plist.  Also, the modified date on the original com.apple.Preview.ImageSizingPresets.plist never seems to change.
    This is a damned annoying bug and should have been fixed when Snow Leopard was the standard.  In my opinion, the fact that this wasn't caught reveals Apple's slipping standards and a concentration on their growing market in mobile devices.  I feel I have a right to say this since I've been a loyal Mac user since the early 1980s.
    For those who suggest I move to Lion or beyond, you can keep the economy going with your new software purchases.  For now, I'm going to continue using Rosetta and my old, third-party applications in Snow Leopard.

  • Multiple place and fit content

    I have several chapters of a book done in CS2. These were sent out and edited by a third-party in CS4 (communication issue there).
    So they were backsaved as an .INX file and now I'm using CS3.
    Problem is that the embedded images and links to 20 or so illustrations were not honoured and defaulted to "foo. jpeg" in the links pallette when I opened these in CS3.
    The embedded images (excel graphs) I'm not worried about, it's the linked images which I now have to go in and manually relink.
    The graphic frame and content boundary is intact so re-linking seems to work fine, but I'm wondering If i can select the art and multiple place each image within it's corresponding frame and have the attribute  "fit content proportionately" assigned at the same time.
    Do I use an object style?? I'm not too familiar with this, so if anyone can run me through the simple steps, it would be appreciated.
    Also, I noticed in CS3 that the number of icons for fitting content are reduced on the toolbar (see image circled) compared with CS2?
    Are the options to "fit content to frame, center content etc" only available from the drop-down menu or from the short-cuts?
    Thanks in advance,
    Julian

    Peter,
    Yip, those would be the icons I was looking for, but maybe they weren't visible depending on what i had selected, since I swear I looked for them..but there they are in my screenshot
    I was thinking a basic object style with just fram-fitting option selected to "fit content prop.", but I guess you are right in that the time saved would probably be negligible.
    Any idea as to why the links broke - just a consequence of back-saving??
    Julian

  • Movie that will automatically open in "fit to screen" view mode?

    I'm wondering if it's possible to save a video in quicktime pro that will, when opened in any normal version of quicktime, automatically open in the "fit to screen" view option. In the visual settings tab of the movie properties, there is an option to automatically open into full screen, but this isn't what I want - I want it to open in the normal (non-fullscreen) quicktime window, but to automatically resize to fit the screen size of the computer it's being viewed on.
    I'm pretty sure that there isn't any easy way to do this, but it's pretty important, so if it requires some scripting or something, that's fine - i'm not a programmer, but i'm willing to do whatever i need to, to make this work.
    Thanks!

    The "Presentation" option is a bit confusing as there are "user" settings that each viewer could have set (double size, Fit To Screen, etc) in the QuickTime preferences and all of them will play with the "on screen" controls feature of version 7. So "full screen" is different because of the dozens of display settings that may be used and the same for "fit to screen".
    If you set the file dimensions too large for a small display setting the viewer will not be able to use the QuickTime controller (it could be "off screen).
    I just checked all my AppleScripts and Automator actions and none include "fit to screen" options. No luck there.
    If you set the movie dimensions (Visual Settings) to the "fit screen" size this would work on your display but maybe not on mine. To do that just open the Movie Info window with your file set to fit screen dimensions, note the size and adjust the file dimensions to those new values and "Save As".
    Easiest method for your workflow would be to send instructions for viewing to the end users.
    Keyboard shortcuts for QuickTime file display:
    Command-0 (zero) = half size
    Command-1 = normal size
    Command-2 = double size
    Command-3 = fit to screen
    Command-F = full screen (presentation mode)

  • Can't see the fit content to frame option....

    Hi All,
    I'm having some issues trying to click on:
    Object > Fitting > Fit Content to Frame
    This area is simply greyed out and I cant' select the option to do so.
    Does anyone have any ideas?
    Thanks
    Daniel

    I just wondered if you can please advise how I could click a button and have the text within the text box automatically resize to fit the frame?
    This is not a built-in capability of InDesign.  Macinbytes told you that this was the case, and John told you why.
    However, InDesign has a scripting interface, so plenty of people have written additional tools to make particular tasks easier. I think that one of these scripts from In-Tools will be exactly what you're looking for.

  • Div Background Image...Resize To Fit Browser Window...???

    [b]hello again[/b]...
    I would like to have a background image (.jpg) automatically resize to fit any browser's window...& I read somewhere on the web it should be accomplished by placing the image in a layer (as a background image); & then set the layer size to 100%.
    can someone please tell me how the coding goes for this...?
    [or...if that [i]is[/i] in fact the correct approach?  I don't care if it's html or css...I just want it to work.  (&...I'm starting off w/ a larger image (so resolution doesn't get lost when going bigger)]
    thanks very much,
    [b]mark4man[/b]
    btw - I should add that it's the image's [i]WIDTH[/i] I'm interested in resizing...while it's aspect ration remains in tact.

    http://css-tricks.com/how-to-resizeable-background-image/
    For the record, I'm not a big fan of huge background images on web pages. They take forever to load on slow connections.  And some mobile devices won't display them at all. So all that weight just for eye candy is kind of a waste IMO.
    I think the safest, most practical way to achieve backgrounds that fill available viewport is to use a small, seemless tile and repeat horizontally, vertically or both.
    More on background-images:
    http://alt-web.com/Backgrounds.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Can an InDesign swf document automatically resize?

    Hello,
    Using InDesign CS4, I've created an interactive document and exported into a swf format.
    The document size is 1024 x 768 px, but will not resize without cropping parts of the document. This means that the majority of users won't be able to use the document unless they have the same desktop size or larger than 1024 x 768.
    I've tried changing the export options in InDesign to get the document to resize, and I've also tried exporting and changing settings in Flash which works but removes all of the interactivity.
    From what I've read I don't think it is possible to do this from the Adobe suite.
    Does anyone know if there any way this document can be displayed in a browser and automatically resize according to the users desktop resolution? This could be either via some functionality I haven't tried within the Adobe software or by using some software or code to imbed with the document on the webpage.
    I can upload the document if needed.
    Thanks for your help.

    You can set the embedded swf to scale with the browser window (not fullscreen mode) via the HTML holder generated by ID. Set width and height to "100%" and scale to "showall"
    Keep in mind that the browser window could be any size, so text might be be illegible in a small browser window or awkwardly oversized in a large window.

  • Resizing Rows to Fit Content - How?

    For some reason, no matter what I do, this option under the Table menu is greyed out. Resizing Columns is not greyed out. I'm stumped. Any suggestions?
    Thanks for helping!

    Place your cursor between the column cells and it will change from an arrow to a <-|-> then double click.
    The Inspector Method:
    Edit: I'm having an "duh" moment... I see what you are describing regarding the "Rows." If your font sizes increase, the row automatically increases. Double clicking between the row cells also automatically resize them. The "Fit" button on the Inspector window remains greyed out.
    Regards,
    Message was edited by: WWJD

  • Sections and Automatic Table of Contents

    Hello there,
    I have encountered a problem with InDesign while trying to make an automatic TOC for a journal I am working on. It has something to do with Sections.
    So I have a book with several indd files. The very first indd file is called "frontpages" which includes the cover page, the inside cover, the leaf page, then two facing pages for the table of contents, then followed by the last page (Letter from the Editor).
    This is followed by my second indd file called "newsbeats" which has 5 pages.
    Now, what I wanted to do was mark the frontpages' page numbers using lower case roman numerals (i, ii, iii, etc.) Of course I do not want to include the cover page and the inside cover, so I want to start (i) with the leaf page, (ii) and (iii) marks the table of contents pages, and finally (iv) for the Editor's Letter. I did this by starting a section at the leaf page, START PAGE NUMBERNG AT: 1, and selecting the (i, ii, iii...) option. It worked, while leavingboth the cover page and and the inside cover with markers (a) and (b), which I previously set (because I do not know how to just get rid of the page number...)
    Now, my book pages actually starts page (1) in the first page of the "newsbeats" document. So to do that, I made another section on the newsbeats first page, START PAGE NUMBERING AT: 1, and selected (1, 2, 3...). That works, too.
    So at the moment, I have 3 sections to my page numbers: 1) the lower case letters (a, b) section for the cover page and inside cover, respectively; 2) the roman numerals section (i, ii, iii...) for the leafpage, table of contents, and Editor Letter; and lastly, 3) the arabic letters (1, 2, 3...) starting from the newsbeats document all the way to the last page of the last indd of my book.
    Hope it is clear enough. Now here comes the problem:
    When I try to create an automatic Table of Contents, it correctly finds my chapters (i used the style for each journal article's title) and lists them. The problem is, the page numbers do not appear correctly. Instead, it shows "a" on EACH AND EVERY table of contents ENTRY. I tried some trial and error, and found out that the pages shown (a bunch of "a") is actually the COVER PAGE'S (a) page number....
    I tried for hours searching on topics like "Sections and Automatic TOC" or "How to selectively choose which pages to include in a TOC".. But I found none.
    Your help would be really appreciated. I can easily manually type the page numbers (my journal only has 9 articles), but I wanted to do this in a very systematic way, so it would be a lot easier if in any case, there are more than 9 articles for next year's publication.
    THANK YOU SO MUCH!
    - Larry
    PS: I attached a file showing the generated table of contents (on the ii-iii page that I wanted it to appear on), with the frontpages page panel, which shows the page numbering as well. Also I included the Book Panel, so you see how the pages are set up.

    We definitely experienced the same issue. Seems like pages just get lost. This is the approach I took:
    On the groups main page we just added a link called 'View All Articles' wrapped in a h1 tag (to make it very big and visible to the user) using the following url:
    search/?q=%20
    The resulting page will search for every article with a space in it and return the results. Still not the most elegant solution but it works. I'd like to implement it right into the xsl file but haven't found very much documentation to aid in this.

  • I am using IFrame and displayed Html page

    Hi Friends
                        I am using IFrame and displayed Html page in flex4
                        In this page open to Firefox But not IE please help me.
                          Thanks
                           V.ChandraSekhar

    You have deleted your page, but you have not deleted your page?
    Which is it?
    If you never saved it it is gone. If you saved it in Lion (OSX 10.7) with Pages 09 v4.1, there should be versions available when you mouse overv the document name at the top of the window.
    Peter

Maybe you are looking for