html question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xuron
    Confirmed User
    • Nov 2003
    • 346

    #1

    html question

    What is the best way to load a url below a header, I can't use frames because they have a frame breakout script. I was thinking of using a layer, but never did that before.

    How would I do it?

    thanks
  • SureFire
    Confirmed User
    • Jan 2003
    • 4398

    #2
    I have no idea what you are talking about but CSS works wonders. Good luck

    Comment

    • xuron
      Confirmed User
      • Nov 2003
      • 346

      #3
      more info

      Ok for example, lets say I have html code taking up 25% of the top part of the screen in a regular html document.

      The 75% of the rest of the screen , I need to load another url using a layer, I tried using the src but it doesn't seem to load..

      Do I create the layer below, and then use javascript to load the remote url into the layer?

      Comment

      • xuron
        Confirmed User
        • Nov 2003
        • 346

        #4
        I think...

        I think I found the answer... reading this now.

        http://www.dhtmlcentral.com/tutorial...ials.asp?id=11

        Comment

        • Kevsh
          Confirmed User
          • Dec 2004
          • 8619

          #5
          I've never seen or heard of a file being loaded into a layer - I think it's a document object (like a <TABLE>) which prevents that.

          If you are trying to load a URL into a page and the page you are loading doesn't want to be in a frame (hence, the breakout script), you might try adding an IFRAME of a 2-frame layout page with theirs in the bottom. Make the 2nd frame 100% and see if their page pops into the IFRAME or breaks it entirely.

          <IFRAME SRC="iframe.html"></IFRAME>

          iframe.html contains 2 frames:
          top.html
          [their page].html


          Hope that kind of makes sense.

          If it doesn't work you may try a JS timeout that changes the TARGET of the IFRAME after a few seconds. I'd have to fish for some code I used once to do something similar...

          Comment

          • xuron
            Confirmed User
            • Nov 2003
            • 346

            #6
            hmm...

            that seems kinda jerry rigged..

            Theres gotta be a way to load a remote url with a layer.

            Comment

            • Dynamix
              G F Y not
              • Jan 2004
              • 2910

              #7
              if the URL is on the same server as the page you're editing, use PHP...

              Code:
              <?PHP require("url.html"); ?>

              TGPFactory Full TGP Design & Installation Services
              ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
              See who I am at AdultWhosWho.com!

              Comment

              • Steve
                Confirmed User
                • Feb 2001
                • 6894

                #8
                if it is on the same domain, you can do an SSI include
                Code:
                <!--#include virtual="/page.html" -->

                Comment

                • Dynamix
                  G F Y not
                  • Jan 2004
                  • 2910

                  #9
                  Originally posted by Steve
                  if it is on the same domain, you can do an SSI include
                  Code:
                  <!--#include virtual="/page.html" -->
                  good call, hadn't thought of that.

                  TGPFactory Full TGP Design & Installation Services
                  ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
                  See who I am at AdultWhosWho.com!

                  Comment

                  • SureFire
                    Confirmed User
                    • Jan 2003
                    • 4398

                    #10
                    Originally posted by xuron
                    that seems kinda jerry rigged..

                    Theres gotta be a way to load a remote url with a layer.
                    If you figure it out in pure html, please post it.

                    If I am reading your request right, it can be done in any scripting language.

                    Comment

                    • xuron
                      Confirmed User
                      • Nov 2003
                      • 346

                      #11
                      its on a remote server...

                      it can be done because I see it all the time..

                      Comment

                      Working...