Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help with frames

    I am working on a site. The site is a hockey site which is part of a bigger league. I have permission from the league to frame their main website. I want to frame a certain portion (minus the navigation and the top banner).

    I have been unable to do this. I thought it was possible. The navigation is about 130px wide on the left of the page and the top banner is about 200px high. Can anyone help? I would be happy to PM someone for further assistance.

    My php skills are terrible, so if someone knows an easier way to do it that way, please let me know. Thanks in advance.

  • #2
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I can't say I understand why you are attempting what you've described, but assuming it's a legit request, it's probably doable.

    Start by posting the code you're currently using, in [ code ] tags please.
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.

  • #3
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here is some of the code.

    I am trying to frame this page: http://www.pijhl.com/sites/9994/page...8&Section=Home

    What I have come up with so far is this:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Abbotsford Pilots - Junior Hockey Team</title>
    </head>

    <body>
    <div style="position: absolute; top: 10%; left: 10%; border: 2px ridge gray; width: 600px; height: 800px; overflow: hidden;">
    <iframe style="position: relative; top: -190px; left: -150px; border: none; width: 1000px; height: 800px;"
    src="http://www.pijhl.com/sites/9994/page.asp?Site=9994&LeagueID=9994&SeasonID=17&DivisionID=12&page=Teams&TeamID=18&Section=Home" scrolling="auto">
    </iframe>
    </div>
    </body>
    </html>

    It does not do exactly as I want, but close. I would like the window to be scrollable within the frame. In FF, it seems to refresh poorly. If you visit the first link, you will see the navigation on the left and the banner above the print friendly icon that I am trying to remove.

    Can someone possibly show me some php that will pull the data within the content?

    Thanks for your help...

  • #4
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mcdougals4all
    it's probably doable
    Well, the solution you're attempting (and all my attempts) have the drawback of covering at least part of the iframe's scrollbar.

    Anyone??

    You may be able to manipulate the position of the framed page with javascript, and extracting the data through PHP may work too.

    If you don't get some more responses here, PM a moderator to have it moved to one of those forums.
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.


  •  

    Posting Permissions

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