Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 07-29-2003, 06:27 PM Frames
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
Trades: 0
Alright, no matter what I do, I can't get my frames to work correctly. I was just wondering if somebody could tell me the proper code to do the following:

With a 100% window, I want to put humor_nav.html in the left window, 15%, and I want main_text.html in the right window, at 85%.

Thanks!
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
 
Register now for full access!
Old 07-29-2003, 06:46 PM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
Quote:
<html>

<frameset cols="15%,85%">
<frame src="humor_nav.html" name="leftframe" border="0" scrolling="auto">
<frame src="main_text.html" name="rightwindow" border="0" scrolling="auto">


</frameset>

</html>

the scrolling can have either : yes, no or auto as value.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Last edited by praveen; 07-29-2003 at 06:49 PM..
praveen is offline
Reply With Quote
View Public Profile
 
Old 07-29-2003, 09:03 PM Hmm...
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
Trades: 0
It doesn't help...

The exact code that I put in is:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
<title>Liquid Thought - Humor!</title>
</head>

<body>

<frameset cols="15%,85%">
<frame src="humor_nav.html" name="leftframe" border="2" scrolling="auto">
<frame src="/humor/main_text.html" name="rightwindow" border="2" scrolling="auto">
</frameset>
</body>
</html>
And all that I get is a blank page.
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
Old 07-29-2003, 09:37 PM
The Crow's Avatar
SHOW

Posts: 1,521
Location: USA
Trades: 0
Try this it works for me



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

</head>


<frameset cols=15%,85% border=0>
<Frame src="left.html"name="left" scrolling="auto">

<Frame src="right.html"name="right" scrolling="auto">

</frameset>


</html>
The Crow is offline
Reply With Quote
View Public Profile
 
Old 07-30-2003, 10:31 AM
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
Trades: 0
It doesn't help... I still get a blank page.

Does anyone know of an alternative to frames? (don't say tables)
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
Old 07-30-2003, 11:35 AM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
Are you getting the blank page on both sides? I mean, the entire window is blank? Or are you getting DNS error/page cannot be displayed errors? Are you working on this on your hard drive? Have you tested it by uploading? Are you using an editing program like dreamweaver or frontoage? Or are you using a text editor?

(edit: What browser(s) are you using?)
techwench is offline
Reply With Quote
View Public Profile
 
Old 07-30-2003, 11:38 AM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
Or...you could also try:

<FRAMESET COLS="15%,*" BORDER="0">
techwench is offline
Reply With Quote
View Public Profile
 
Old 07-30-2003, 11:39 AM
Experienced Talker

Posts: 33
Location: Portsmouth, UK
Trades: 0
Further to prissed's questions: can you upload your three html files (humor_nav.html, main_text.html, and whatever you've called the page with the frameset code in it) to a server and post the URL so we can see whether we have the same issue?
neOnbubble is offline
Reply With Quote
View Public Profile Visit neOnbubble's homepage!
 
Old 07-30-2003, 02:07 PM
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
Trades: 0
Prissed: It's just a flat out blank page, doesn't even have a seperator. I have tested it by uploading. I'm using a text editor, but am hopefully getting FrontPage soon (for free).

I'm using AoL, but have also tested it in Netscape and IE.

I've tried <frameset COLS="15%,*" border="0">

The addresses are http://www.liquid-thought.com/humor_nav.html (that's the 15%), and http://www.liquid-thought.com/humor/main_text.html (that's the 85%). The whole thing is http://humor.liquid-thought.com or http://www.liquid-thought.com/humor/index.html
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
Old 07-30-2003, 02:15 PM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
change your doctype from 4.0 Transitional to 4.01 Frameset
techwench is offline
Reply With Quote
View Public Profile
 
Old 07-30-2003, 02:53 PM
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
Trades: 0
So, instead of

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

I should put

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">

Okay. lemme go try it...
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
Old 07-30-2003, 02:55 PM
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
Trades: 0
Well, I still get a blank page...

And I don't want to go back to using tables, cause with tables, I don't get as much control as I'd like to have...
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
Old 07-30-2003, 03:11 PM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
got it

in your code the frameset are inside the body tag.

it should not inside the body tag.

remove the tags and place it before the <body>

it should be right after </head>


in your body you give the content for browsers which do not support frames.

now try it will work.

let know.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 07-30-2003, 03:14 PM
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
Trades: 0
YES!!! YES!!! THANK YOU SOOOOOOOO MUCH!

sorry for the caps...
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
Reply     « Reply to Frames
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.12036 seconds with 12 queries