iframe resizing on opera problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul Fi

    #1

    iframe resizing on opera problem

    Can someone help me here because this is really killing me!

    the problem is, i have this javascript code in my aspx page that i want
    it to work on almost all browsers, especially opera and safari :

    function resize(){
    displayFrm = document.getEle mentById("ifrmD isplay");

    innerDoc = (displayFrame.c ontentDocument) ?displayFrm.con tentDocument :
    displayFrm.cont entWindow.docum ent;

    objToResize = (displayFrm.sty le) ? displayFrm.styl e : displayFrm;

    objToResize.hei ght = innerDoc.body.s crollHeight;
    }

    the code above gets called every time a new page is loaded inside the
    iframe (ifrmDisplay) what its doing is resizing the iframe so it can
    have the same size as the page inside it, so i can eliminate the need
    for vertical scroller for the iframe, i assumed that it works on opera
    and IE at the same time, when i tried it out, it worked on IE but not on
    opera. after lot of time in researching how i can get workaround this
    issue with opera, that is the best possible solution i have and yet it
    doesnt work. so i gave up and asking you if you can help me out here ,
    coz this is jst driving me crazy!

    the problem is im not a javascript expert, to be honest i jst started
    doing javascripts about two days ago, that is why im in need for help

    by the way, here is inner html for the iframe if its any use

    <iframe id="ifrmDisplay " style="Z-INDEX: 99; LEFT: 187px; WIDTH: 567px;
    POSITION: absolute; TOP: 136px; HEIGHT: 408px" src="" scrolling="no"
    onload="resize( );">
    </iframe>




    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • Andrew Thompson

    #2
    Re: iframe resizing on opera problem

    On 18 Nov 2004 04:15:43 GMT, Paul Fi wrote:
    [color=blue]
    > Can someone help me here because this is really killing me![/color]

    "what is your problem man?

    fuck you!"

    My ..minor problem at this moment is a multi-posting,
    foul mouthed, clueless poster from..

    "*** Sent via Developersdex http://www.developersdex.com ***"

    Doesn't it just figure?

    "Don't just participate in USENET...get rewarded for it!"

    Oh goody..

    --
    Andrew Thompson
    http://www.PhySci.org/codes/ Web & IT Help
    http://www.PhySci.org/ Open-source software suite
    http://www.1point1C.org/ Science & Technology
    http://www.LensEscapes.com/ Images that escape the mundane

    Comment

    • Paul Fi

      #3
      Re: iframe resizing on opera problem

      well guess what as long as i dont get this problem solved i will keep
      posting!

      and you can't stop me with your bully attitude!

      ciao pussy!


      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      • Michael Winter

        #4
        Re: iframe resizing on opera problem

        On 18 Nov 2004 05:25:40 GMT, Paul Fi <nazar_fin@hotm ail.com> wrote:
        [color=blue]
        > well guess what as long as i dont get this problem solved i will keep
        > posting![/color]

        I would suggest you don't. I'm certain that that would be classified as
        abusive behaviour. I have contacted Developersdex, and they assure me that
        malicious users will have their accounts removed. This is *not* a threat,
        just advice.

        If someone wants to answer your question, they will. Reposting it and
        being rude will do nothing but get you ignored.
        [color=blue]
        > and you can't stop me with your bully attitude![/color]

        Andrew was just teasing you, but he was giving you some good advice whilst
        doing it.

        This group is read by a large population, all from different backgrounds
        and countries. If you write carelessly, you may find that a person that
        could answer your question won't, because they don't understand what
        you've written. Similarly, some people take etiquette very seriously, and
        repeated breaches will land you in their killfile (that is, permanently
        ignored).

        Usenet is a place for adults, and adults should be able take banter
        without instantly resorting to insults.

        Grow up.

        Mike

        --
        Michael Winter
        Replace ".invalid" with ".uk" to reply by e-mail.

        Comment

        • Julian Turner

          #5
          Re: iframe resizing on opera problem

          Hello

          I have tried to give you some pointers in response to one of your previous posts.

          Hope these give you something to work on.

          Julian

          Comment

          • Paul Fi

            #6
            Re: iframe resizing on opera problem

            cheers mate!

            yes well, it didnt help much but it gave me some ideas, might help in
            the future!

            thanks anyways



            *** Sent via Developersdex http://www.developersdex.com ***
            Don't just participate in USENET...get rewarded for it!

            Comment

            Working...