Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-21-2005, 02:28 AM   PM User | #1
NewComputer
New to the CF scene

 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
NewComputer is an unknown quantity at this point
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.
NewComputer is offline   Reply With Quote
Old 02-21-2005, 05:25 PM   PM User | #2
mcdougals4all
Regular Coder

 
Join Date: Jul 2004
Location: mile high city
Posts: 482
Thanks: 0
Thanked 0 Times in 0 Posts
mcdougals4all is an unknown quantity at this point
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.
mcdougals4all is offline   Reply With Quote
Old 02-21-2005, 05:37 PM   PM User | #3
NewComputer
New to the CF scene

 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
NewComputer is an unknown quantity at this point
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...
NewComputer is offline   Reply With Quote
Old 02-21-2005, 06:20 PM   PM User | #4
mcdougals4all
Regular Coder

 
Join Date: Jul 2004
Location: mile high city
Posts: 482
Thanks: 0
Thanked 0 Times in 0 Posts
mcdougals4all is an unknown quantity at this point
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.
mcdougals4all is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:15 AM.


Advertisement
Log in to turn off these ads.