| | Hi I was wondering if anyone had the code for kicking off a frame from you website? Mch Grtfll SDK |
|
|
Personally, I like frames. They allow for quick navigation through alot of links, allow for precise design control, and with my editor, they are easily built. The problem I have with them, however, is they are not search engine friendly.While I do use frame quite extensively beneath the top level directory in my design as administration pages, form pages, and such, I will never use them as an i... read more.
I know about frames and iFrames, but I'm not sure what you mean. Could you be more specific? (As for frames, I think frames are pretty much a no-no right now, but iframes are good.)
Hey, I'm assuming you want a code to break out of frames incase someone opens your website inside a frame on his webside.
You can use the following code to break out of frames: CODE <script Language='JavaScript'> <!-- if (parent.frames.length==0) parent.location.href="Redirect to?" --> </SCRIPT> Notice the "Redirect to?" though, you have to replace with with the name of the file, like index.php Hope it helps! QUOTE(Bobo @ Nov 25 2004, 11:21 AM) As a newbie in web design, I am wondering why are frames a no-no? Many people seem to believe that and I am curious to why? Also, what is the difference between frames and iframes?
i have nothing directly against it...but they are just annoying to some people. Plus, most of the time, they will load slowly....because now you are loading more then just one page
Well, the problem with frames is that it creates an extra scroll bar, and also usualluy an ugly seperator bar. It really depends mostly on what you put in your frame- whether it gets in the way or you have to scroll through more than one frame. As for iframes, they move with the page and usually help keep the page at a functional size (I.E. the old dotmanandbob.com, which I would show you if I still did that site...) Anyways, people just like simplicity and ease of use, and frames tend to thwart efforts for both.
Frames also happen to occasionally screw up printing of web pages. Granted, people don't print web pages all that often, but when they do, (it used to be anyway, maybe not anymore) that the computer would only print one frame. Sometimes, it wasn't the frame people wanted. And that was the problem.
frames are slow and not always supported. that's why they suck hehe.
the javascript will remove top banners added by your hosting if that's what you want. or if you' page is opened through hotmail or something alike
i actually don't have much of a problem with frames....but it's just that php could be just as effective as frames...and it would be able to run much much faster anyways =P so why use frames anymore?
I dunnoe why, but most pro web designers treat designers who use frames as amateurs. There is a sort of contempt associated with designers who use frames. Come to think of it, almost all of the best websites out there dont use frames at all.
Latest Entries
Personally, I like frames. They allow for quick navigation through alot of links, allow for precise design control, and with my editor, they are easily built. The problem I have with them, however, is they are not search engine friendly.
While I do use frame quite extensively beneath the top level directory in my design as administration pages, form pages, and such, I will never use them as an index page, a top level directory page, or as an index page in any of my sub directories. The idea is to give the search engine spider something to index. With a frame page there is no content to index, thus far, far, fewer hits. Snag the surfer with a solid static page then, if you desire make use of frames in the internal structure of the site.
I had used frames on my last site simply cos it made navigation much easier than back buttons or linking all over the place. I don't see how it can be much slower as more and more ppl are using cable or DSL, so pages load pretty quickly with them. Best thing to do is simply give ppl the option of viewing your site with or without them
I used to use frames in my site, i used em so i could have a nav bar and a music player and a logo and... all in one page and stuff. It worked really well. But yea, frames are slow. They are good if u wanna use em for a special reason, but if ya just makin a site, ya better off without em. I use PHP now. I make php read template files, so all my pages have a logo and copyright etc. PHP is the best. I wouldve posted the javascript code here, but someone already has!
I've never used frames because of all the reasons stated above but I've also never frowned upon their use by another person. I think it's just what you prefer really. I've seen quite a few very successful sites that use frames rather well, no where near the amount of sites that don't use frames of course but who's counting right?
QUOTE(Sephia @ Nov 26 2004, 02:56 AM) Hey, I'm assuming you want a code to break out of frames incase someone opens your website inside a frame on his webside. You can use the following code to break out of frames: CODE <script Language='JavaScript'> <!-- if (parent.frames.length==0) parent.location.href="Redirect to?" --> </SCRIPT> Notice the "Redirect to?" though, you have to replace with with the name of the file, like index.php Hope it helps! Here's the javascript u should be using; <script TYPE="text/javascript"> <!-- if (top != self) top.location=self.document.location; //--> </SCRIPT> put at the HEAD section.
Similar Topics
Keywords : frames
(2) I have known this for a long time but I have a problem on my site and I need suggestions on how to Which to use? (9) Ho do I decide if I should use a form to space out my page or a frame? Ive looked up both but Im not Exporting frames to bitmaps and back again (3) I'm currently interested in developing a specific video manipulation program. What I would like (4) Hi, I actually want to create a HTML page which has the capablity of reading a QueryString i cant find a way ! (4) You see when you want to make a big website with a navigation bar on each page . you have to put the borders for frames in Firefox? (11) Okay, I don't know if it's because of the Firefox browser not supporting this part of the (3) I have a simple frameset of two columns; the first having two rows. By default (if I am correct) a I haven't coded in years! (10) Okay, the last time I actually coded something it was basic html. I lived of frames and I thought inline frames (5) how do i insert an inline frame with dreamweaver...i need help...plz.... (3) Ok...this might not apply to many of you but....if your in my situation (which ur porbably not) Is there one that will edit frames (23) I was wondering if anyone knew of a Video Editing Software program that allowed you to edit Need help!! (3) Hello, I just added frames to my website, and am unsure how to upload the html to my site. When I (3) I have IIS set up as a testing server and using DreamWeaver MX I have just recently changed my Looking for frames
|
![]() Frames |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|