Frames

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #15) by pbolduc on Dec 15 2004, 07:12 PM. (Line Breaks Removed)
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.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting > Computers & Tech > Designing > Web Design and HTML

Frames

sadik
Hi
I was wondering if anyone had the code for kicking off a frame from you website?

Mch Grtfll

SDK

Reply

Bobo
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.)

Reply

Sephia
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!

Reply

Serendipitous
QUOTE(Bobo @ Nov 25 2004, 11:21 AM)
(As for frames, I think frames are pretty much a no-no right now, but iframes are good.)
*




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?

Reply

ChronicLoser
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 happy.gif

Reply

Bobo
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.

Reply

MajesticTreeFrog
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.

Reply

marijnnn
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

Reply

ChronicLoser
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?

Reply

jcguy
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.

Reply

Latest Entries

pbolduc
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.

Reply

Kyrstally
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 smile.gif

Reply

ttdykes
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! biggrin.gif

Reply

Darren
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?

Reply

wanhafizi
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.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Similar Topics

Keywords : frames

  1. Xhtml, Javascript, Css And Frames.
    (0)
  2. How To Auto Navigate Using 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
    fix it. My site (ycoderscookbook.com) uses frames. There are five frames to be exact, four on each
    side and the center one holds the content. I may just be a baby here but I really like the design
    and I hope not to change it. Here is the problem, I have a JavaScript that places a page in the
    proper frames if navigated to by itself. There appears to be a flaw in the design because it goes
    to the main page if this happens. Even if say code.html is loaded, it always ends....
  3. Forms Or Frames?
    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
    quite sure which way to go about it! My website is HTML based but the newer pages also contain php.
    Basically, I want to put a block of links on the left side but keep them seperate from the rest of
    the page! I think im meant to use forms, but do i start by defining the form? How do I specify
    which form Im working with? Thanks....
  4. I'm Interested In Creating A Video Manipulation Program...
    Exporting frames to bitmaps and back again (3)
    I'm currently interested in developing a specific video manipulation program. What I would like
    it to: - take a video clip, export the frames as individual bitmaps - create clips from a series
    of bitmaps (saved as 001.bmp, 002.bmp, etc) or other images - allow for editing of time (ei how
    long to show each frame/image) Ideally, this program would allow for some of the coding to be
    written up before hand in a txt file to take advantage of copying the numerous, numerous file
    locations for the images and the timing and editing the file in Word or something. Since I....
  5. JavaScript Frames & Querystring
    (4)
    Hi, I actually want to create a HTML page which has the capablity of reading a QueryString
    (x.html?querystring=test) and then using a hidden frame pass on the data to an ASP Script on another
    server. For obtaining the QueryString i use the following:- CODE function
    getQueryVariable(variable) {   var query = window.location.search.substring(1);   var vars =
    query.split("&");   for (var i=0;i     var pair = vars .split("=");     if (pair == variable) {
          return pair ;     }   } }   alert( getQueryVariable("QueryString") ); Now my
    problem is to cre....
  6. Big Sites With No Frames
    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
    links on every page . And when you want to add a new link you have to add all them to the pages .
    Now there is a way ... iframes are one way but some web browsers do not support iframes . Is there
    any other way i could do this ?....
  7. How Do You Show..
    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
    HTML code, which I doubt, since it shows up just fine around text, but not sections where graphics
    are. Anyways, here's what the layout looks like in IE: And what it looks like in Firefox:
    And here's the code I'm using that wants to screw with my head, apparently: CODE
    style="border-right:2px solid #003300; border-top:2px solid #003300; border-left-width: 1;
    border-bottom-width: 1; padding: 0"> And that's basically what it looks like for a....
  8. Change The Contents Of Two Frames
    (3)
    I have a simple frameset of two columns; the first having two rows. By default (if I am correct) a
    browser sees the first frame as , the next as , and then , and so on for as many frames in the
    frameset. This code works fine by clicking on the button, the second row of the first column
    changes, as well as the content in column two. onClick="parent.frames
    .location='sublinks1.htm'; parent.frames .location='chap1.htm';"> What I want to
    do is this very same action, but with a typical text link or image, not a forms button. I've
    tried the Ch....
  9. Help Needed With Html, Css And Frames
    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
    that my websites were the best thing on the internet. But just because I had mastered enough to make
    a decent webpage, it still isn't enough. i love coding webpages, but html isn't the best
    script to use. I've been seeing a lot of CSS style sheets and php tutorials, and my favorite
    layouts are all div and table. So, I was wondering, can you target a link into a certain part of the
    webpage on any of these "new" scripts like you could in frames. I don't want to....
  10. Help In Dreamweaver
    inline frames (5)
    how do i insert an inline frame with dreamweaver...i need help...plz....
  11. I Frames
    (3)
    Ok...this might not apply to many of you but....if your in my situation (which ur porbably not)
    ...you may have a laptop which your school gives you for the whole year and has unlimited blocks on
    it......of cource ive gotten past all these blocks and one of them is the blocking of
    websites..........first...just go t netscape and download the browser....boom....when your not on
    the schools network and are on your own.....you can view ANY webpage whether its blocked or
    not.....ok...so ur in school and you want to go to a blocked webpage and netscape doesnt
    work.....theres....
  12. Video Editing Software
    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
    individual frames. For example, if there was someones face in a video, could you add a black square
    to censor the person's face.....
  13. Frames
    Need help!! (3)
    Hello, I just added frames to my website, and am unsure how to upload the html to my site. When I
    upload index.html, it doesn't show the other frame. I'm entirely confused... -Kyle....
  14. Iis & Frames Help
    (3)
    I have IIS set up as a testing server and using DreamWeaver MX I have just recently changed my
    website to contain frames now when I try preview the design in a browser the Frame page comes up
    but there are no pages coming through, just Error 401 or 404, I can't remember which, in each
    frame. Is there some setting I've missed in IIS or is IIS not capable of this ? Note: I am
    uploading all the html files, the frame which is index.htm and cascading style sheets that are
    needed.....

    1. Looking for frames






*SIMILAR VIDEOS*
Searching Video's for frames
advertisement




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