Jul 26, 2008

Frames

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Frames

Danny
I need help with frames... ok so this is what i have.

A folder "Danny"

Things Inside

Danny:

Index.html

CODE
<HTML>
<HEAD>
<TITLE></TITLE>
<link rel="stylesheet" href="style.css" type="text/css">
</HEAD>

<FRAMESET cols="15%, 85%">

  <FRAME src="nav.html" Scrolling=NO NoResize FrameBorder="0" Marginwidth="100" MarginHeight="100">
      <frame src="home.html" noresize frameborder="0" name=Home>
      <frame src="images.html" noresize frameborder="0" name=IMAGE>  

</FRAMESET>
</HTML>


Home.html

CODE
<HTML>
<HEAD>
<TITLE></title>
</head>


<body>
<IMG SRC=DANNY.GIF>
</body>
</html>


Images.html

CODE
<html>
<head>
<title></title>
</head>

<body>

Some pictures here..

</body>

</html>


nav.html

CODE
<HTML>
<HEAD>
<TITLE></title>
<link rel="stylesheet" href="style.css" type="text/css">


</head>

<body>

<BR><BR><BR>
<A HREF="home.html" target=Home>Home</A>
<A HREF="images.html" target=IMAGE>Pictures</A>

<A HREF=""></A>
<A HREF=""></A>
<A HREF=""></A>


    

</body>
</html>


and a

style.css



I typed all of this, and now nav.html, should be my navigation bar which looks great so far, but when i press pictures link, which i used Target=IMAGE so it would appear in the frame i belive. What am i doing wrong? I would really appreciate all the help possible. Thanks.

 

 

 


Reply

jlhaslip
Try using the following:
CODE
<A HREF="images.html" target=Images>Pictures</A>

For all I know, it might work.

Reply

hype
Its better to place quotations on every attribute so as to conform to the standard now... Using lower caps maybe more of a help... So maybe you can put something like

CODE
<frame src="images.html" noresize frameborder="0" name="IMAGE"/>


CODE
<a href="images.html" target="IMAGE">Pictures</a>


Maybe this would solve the problem, and also try to get your html pages validated with the standard to be able to work on all browser...

http://validator.w3.org/

Reply

Urza
like hype said you really should use quotations around ALL attributes, and i believe the standard is they should all be in lower case as well.

also from what i hear and personal preference regular frames are a bad a bad idea. I think it's a better idea to put the dynamic part(s) of the page within an iframe and using css positioning or just regular HTML for the rest of the page

Reply

Lozbo
I would also advice to try to switch from html frames to a xhtml + css based design... here at the trap seventeen forums we can help make the transition smoother for you =D

It's not actually that hard to swicth from frames to server side includes in php (for example), and they work the same way (more or less hehe) and you can even have the css display the items as if it was a frame... like this page

www.cucea.udg.mx/ineser/alap/congreso/

notice how the content stays absolutely positioned in the browser window, and yet I was not using frames there, its just pure xhtml and css!

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.
Confirm Code:

Similar Topics

Keywords : frames

  1. Frames Tutorial - (2)
  2. Advanced Html Frame Tag - Frames and Tables (3)
    FRAME SYNTAX Frame syntax is similar in scope and complexity to that used by tables, and has been
    designed to be quickly processed by Internet client layout engines. CODE <FRAMESET>
    This is the main container for a Frame. It has 2 attributes ROWS and COLS. A frame document has
    no BODY, and no tags that would normally be placed in the BODY can appear before the FRAMESET tag,
    or the FRAMESET will be ignored. The FRAMESET tag has a matching end tag, and within the FRAMESET
    you can only have other nested FRAMESET tags, FRAME tags, or the NOFRAMES tag. ...
  3. Need Help With Frames - (6)
    Hey everyone, I need help with frames. Say I click a button/link, I want it to appear in a certain
    box of the template. My friend just made a template from a tutorial, and wants me to make a site for
    him. With some knowledge of HTML, I ended up doing mostly everything, except for the framing.
    Because I'm going to use a shoutcast radio, I don't want the page to refresh everytime they
    visit a new link, otherwise the radio will restart for them. Can someone please give me a tag so if
    I click a button/link, it will appear in a certain area? Thanks....
  4. Frames And Scrolling - (2)
    I am wondering if it is possible to have a frameset with frames on the top, left and right of the
    main content. The frames would all be non scrollable except for the 'main content' (center
    frame). The problem i am having is that when the 'main content' needs to scroll, it places
    the scroll bar between the 'main content' frame and the 'right frame'. I need the
    scrollbar to be at the right of the 'right frame' so that the 'right frame' is not
    visually apart from the 'main content' frame. Is it possible to somehow posi...
  5. Frames And Links - (3)
    I don't often use frames and I am having a problem linking from page to page. I am using php.
    I have a link with goes: result 1 In results.php I create my frames and use 'if' queries
    to select a frameset depending on the variable passed in the link, so it goes: if ($_GET ) {
    else ...and so on. My problem is this - when I use target="result1", a new window opens and loads
    the page the way I want it, but I don't want a new window to open. If i put target="_self",
    then the page loads in the same window, but the page 'results.php' ap...



Looking for frames

Searching Video's for frames
advertisement



Frames



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
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