/    Sign up×
Community /Pin to ProfileBookmark

Frame in Table

Is there a way to make it so that a frame can be put into something like a table?

I want to have my page stay the same except for a window that contains the content. I want just that window to change for my design.

Is this possible?

to post a comment
HTML

22 Comments(s)

Copy linkTweet thisAlerts:
@steelersfan88Mar 09.2004 — you could use an iframe
Copy linkTweet thisAlerts:
@PeOfEoMar 09.2004 — <td><iframe src="frameurl" style="height:500px; width:500px; border:0px;" name="myiframe"><a href="frameurl">Your browser does not support iframes</a></iframe></td>
Copy linkTweet thisAlerts:
@DraikeauthorMar 09.2004 — OH cool. Iframes....

And was that suppoesd to be a joke with the "your browser does not support iframes?" Do most browsers support it? (like netscape and ie)
Copy linkTweet thisAlerts:
@PeOfEoMar 09.2004 — No, that is not a joke. That is there for the older browsers that do not support them. The newer ones all do.
Copy linkTweet thisAlerts:
@steelersfan88Mar 09.2004 — and it *should* only show if you don't support it. that's asuming you didn't miss a quote or forget to put in your > at the end, etc.
Copy linkTweet thisAlerts:
@DraikeauthorMar 09.2004 — So should I worry much at all?
Copy linkTweet thisAlerts:
@steelersfan88Mar 09.2004 — not at all ... its like ie 3.0 that supportst hem and nobody in their right minds uses that
Copy linkTweet thisAlerts:
@PeOfEoMar 09.2004 — I prefer not to use frames at all... I am redoing my site without them. But it is not something to loose sleep over. you can see how I used an iframe on my site www.clanknights.vze.com ?... I will have the new 100% css layout up one day and get all of the pages valid... I am just dragging my feet.
Copy linkTweet thisAlerts:
@DraikeauthorMar 09.2004 — Yea... I can see it in your site. Nice site btw.

Thanks for the help. ?
Copy linkTweet thisAlerts:
@PeOfEoMar 09.2004 — Thanks for the compliment about the site; it will be better once I get back to work on it. About the help, no problem.
Copy linkTweet thisAlerts:
@steelersfan88Mar 09.2004 — wow! 11 replies in just half an hour!
Copy linkTweet thisAlerts:
@PeOfEoMar 09.2004 — active forums ?
Copy linkTweet thisAlerts:
@LetterBMar 09.2004 — I have a similar question, but taking it one step further. I also have a site with a content window that I've already set up as an I-frame...however, I also have another "box" that I want to set up a secondary I-frame to hold a picture that represents the "page" (frame) that the user is on. Can I target two I-frames (one for the html document and the other for the image) using only one nav target?
Copy linkTweet thisAlerts:
@PeOfEoMar 09.2004 — nope, not without some javascript atleast.
Copy linkTweet thisAlerts:
@steelersfan88Mar 09.2004 — you could just have it be a regular <img ... and change it as the user changes the page of the iframe. And all the links that change the source of the frame also change the source of the picture (of if you want to, the src of the iframe)
Copy linkTweet thisAlerts:
@LetterBMar 09.2004 — Know of any place to point me that might explain that code? I don't exactly know what I'm doing, but I seem to be guessing well enough. Thanks for the reply!
Copy linkTweet thisAlerts:
@PhillMcMar 09.2004 — Best place to learn: [URL=http://www.w3shcools.com]W3C Schools[/URL]


BTW, I have never seen a thread with 17 replies in less than an hour

LOL
Copy linkTweet thisAlerts:
@PeOfEoMar 09.2004 — [i]Originally posted by PhillMc [/i]

[B]BTW, I have never seen a thread with 17 replies in less than an hour

LOL [/B]
[/QUOTE]
I have ?
Copy linkTweet thisAlerts:
@LetterBMar 09.2004 — Phil, that link doesn't seem to work.
Copy linkTweet thisAlerts:
@steelersfan88Mar 09.2004 — maybe he should go to regular school to spell school right, j/k

its http://www.w3schools.com/
Copy linkTweet thisAlerts:
@PhillMcMar 09.2004 — [i]Originally posted by steelersfan88 [/i]

[B]maybe he should go to regular school to spell school right, j/k



its http://www.w3schools.com/ [/B]
[/QUOTE]


HEY NOW!! It's a common typo! lol :o
Copy linkTweet thisAlerts:
@DraikeauthorMar 09.2004 — Yea... I kind of noticed really quick replies.

And I could be of help.

I used something like this on an old site of mine. Hit one button and it changes 2 different frames to different pages.

<HEAD>


<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

function loadFrames(frame1,page1,frame2,page2) {

eval("parent."+frame1+".location='"+page1+"'");

eval("parent."+frame2+".location='"+page2+"'");

}

// End -->

</script>

<HEAD>


then use this for the link in the button.


<a href="javascript:loadFrames('pageone', 'pageone.html',

'pagetwo', 'pagetwo.html')"><img src="tophome.gif" border=0></a>

Pageone is the name of the frame while the pageone.html is the name of the html doc in the frame.
×

Success!

Help @Draike spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...