Results 1 to 9 of 9

Thread: How do I display a webpage on my site?

  1. #1
    Join Date
    Apr 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How do I display a webpage on my site?

    I created a forum with yabbers.com and I would like to display that forum in my webpage. I do not want to have a link in my webpage to it, I would like to display it. My webpage is web.umr.edu/~ctnn87/forums.html and I would like to have http://www.yabbers.com/phpbb/ctnn87.html inside my webpage. Please help.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Well... what you're talking about is frames. They're *generally* a bad idea, but, in this case, might be a good plan.

    There are different kinds of frames: FRAMES and IFRAMES.

    Frames are compatible with almost ALL browsers, including the really old stupid ones. Great for compatibility.
    However, they have some tech issues... just kinda messy.
    And, they aren't very controllable.

    You basically need to do a <frameset> command that will say "there are two frames on this page", but I'm not familiar with that... google it, and look for the specific setup you want.
    (frames are html pages displayed on the same page... think of frame as in a windowframe... holding a view to another site)


    A less compatible method is using iframes. They are easier, but aren't as compatible with old browsers. I've heard, generally, that if a browser has javascript, it has iframes... so... they're pretty much ok.
    Here's you you'd do that:

    In your html, you'd have something like:
    Code:
    <html>
    <body>
    This is my page.<br>
    Look below! It's a frame with my forum in it!<br>
    Right here:
    <iframe src="http...yoururl.htm" width=PIXELS/% height=PIXELS/%></iframe>
    This is after my iframe.<br>
    Thanks for viewing.<br>
    </body>
    </html>
    Note: even though it's much like an image tag in simplicity, the iframe tag DOES need a closetag. (</iframe).
    Also, I have yet to figure out what, if anything, goes betwee the <iframe> and </iframe> tags... doesn't make much sense. But... whatever, it DOES work

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Also, I have yet to figure out what, if anything, goes betwee the <iframe> and </iframe> tags... doesn't make much sense.
    Some HTML to display in the case than the browser doesn't support iframes, of course.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Apr 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The <iframe> thing works until someone tries to login or go into a forum. At that point it takes them to that page instead of staying at my site with the frame. Is there a way to fix this?

  5. #5
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33
    Frames are compatible with almost ALL browsers, including the really old stupid ones.
    However, they can be disabled in almost all browsers, too.

    Quote Originally Posted by crazytyler34
    The <iframe> thing works until someone tries to login or go into a forum. At that point it takes them to that page instead of staying at my site with the frame. Is there a way to fix this?
    I can't reproduce the problem, so I couldn't say.

    Mike

  6. #6
    Join Date
    Apr 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What im saying is that when i click on anything inside my iframe it dosent open that in my iframe it just takes me to the page. Hence my header and my sidebar are no longer there and the user can not get back to my webpage easily.

  7. #7
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by crazytyler34
    What im saying is [...]
    I know what you're describing, but I don't see that behaviour in MSIE, Opera, or Firefox.

    Mike

  8. #8
    Join Date
    Apr 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hmm...it has seemed to fix itself...it was doing it earlier, however now it isnt doing it.
    Thanks for your help guys.

  9. #9
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    One thing is that if the pages have a particular thing about their link, then that will behave oddly. Like if there was a "open in main frame" link on the page... it would replace yours.
    Not sure on specifics, but that's a guess.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •