help with Iframes height setting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spacedog
    Yes that IS me. Bitch.
    • Nov 2001
    • 14149

    #1

    help with Iframes height setting

    I'm trying to Iframe a plugin since php include won't work because of the anti-hotlinking of the plugin..

    anyway.. instead of setting the height attribute to a numerical pixel value, is there a way I can code it so that iframe autosizes to size of page being iframed? I'm only concerned with the height. I tried height="100%", but this does not work.
  • DjSap
    Confirmed User
    • Jul 2002
    • 3869

    #2
    The only way I am aware of requires you to add code to the page being iframed, other than that there doesn't seem to be a way to autosize an iframe.
    Blog Themes, TGP Design, Writing Services, Grunt Work
    ICQ: 66871495

    Comment

    • aico
      Moo Moo Cow
      • Mar 2004
      • 14748

      #3
      what happens if you just leave the height tag out?

      Comment

      • spacedog
        Yes that IS me. Bitch.
        • Nov 2001
        • 14149

        #4
        Originally posted by aico
        what happens if you just leave the height tag out?
        It has to have height tag unless one wants a scrollable frame, but I set scrolling=no.. no point of having it scrollable


        I'm just going to have to set height tag for fixed size
        Last edited by spacedog; 12-08-2006, 07:19 AM.

        Comment

        Working...