Computer Talk Discussions here pertain to mods, troubleshooting, and PC/console gaming

html/frame help

Thread Tools
 
Search this Thread
 
Old Jan 18, 2005 | 02:19 PM
  #1  
doink's Avatar
Thread Starter
Contributing Member
 
Joined: Jul 2002
Posts: 3,112
Likes: 0
From: Atl. Georgia
html/frame help

hello.
i am trying to design a site and want to include frames. how can i move the frame to the center of the webpage.

hopefully that made sense..
Reply
Old Jan 18, 2005 | 03:01 PM
  #2  
jacksonpt's Avatar
Senior Member
 
Joined: May 2002
Posts: 2,752
Likes: 0
From: Binghamton, NY
Assuming you're using two frames (top and bottom or right and left), you should have 3 files. One for the frameset, one for the top/right frame, and one for teh bottom/left frame. You need to work with the frameset page. There are several properties you can set for the frames, including size, scrollbars, user adjustable, margins etc. You'll want to do something like this:

Code:
< frameset cols="50%,50%">
There are some good http://webmonkey.wired.com/webmonkey... webmonkey.com

Last edited by jacksonpt; Jan 18, 2005 at 03:05 PM.
Reply
Old Jan 18, 2005 | 03:32 PM
  #3  
doink's Avatar
Thread Starter
Contributing Member
 
Joined: Jul 2002
Posts: 3,112
Likes: 0
From: Atl. Georgia
thanks jackson. that website is pretty good.
Reply
Old Jan 18, 2005 | 06:13 PM
  #4  
doink's Avatar
Thread Starter
Contributing Member
 
Joined: Jul 2002
Posts: 3,112
Likes: 0
From: Atl. Georgia
ok. so i set up an iframe, and i am trying to change the color of the scroll bars. i have the code to do so, but cant figure out where to put it. everything i try doesnt work...

html rubs me the wrong way sometimes.
Reply
Old Jan 21, 2005 | 10:11 AM
  #5  
calrockx's Avatar
Contributing Member
 
Joined: Sep 2002
Posts: 4,749
Likes: 0
From: Santa Clarita, California
i also found this page: http://www.pageresource.com/jscript/jwinopen.htm
good future reference on how to make windowns open up like you want.

for changing the scrollbar colors, use CSS in the head of the iframe page.

< head>
< style>
scroll bar code here
< /style>
< /head>

Last edited by calrockx; Jan 21, 2005 at 10:12 AM.
Reply
Old Jan 21, 2005 | 10:16 AM
  #6  
doink's Avatar
Thread Starter
Contributing Member
 
Joined: Jul 2002
Posts: 3,112
Likes: 0
From: Atl. Georgia
cool thanks.
i actually just figured it out.

you guys can check out what i was workin on at www.companycar.tk


its fairly lame, but whatever. free is better than nothing.
Reply
Old Jan 21, 2005 | 10:26 AM
  #7  
doink's Avatar
Thread Starter
Contributing Member
 
Joined: Jul 2002
Posts: 3,112
Likes: 0
From: Atl. Georgia
yeah. i knew that code. i just couldnt figure out where to put it. i eventually worked things out and got things to how i want it.

and thanks calrockx about that code. i just figured it out, hense why i deleted that other post.

you can see what i was workin on at www.companycar.tk if you want.

its fairly lame, but, free isnt bad.
Reply
Old Jan 21, 2005 | 10:48 AM
  #8  
calrockx's Avatar
Contributing Member
 
Joined: Sep 2002
Posts: 4,749
Likes: 0
From: Santa Clarita, California
that website doesn't work for me...it's not loading.
Reply
Old Jan 21, 2005 | 11:02 AM
  #9  
Bob_98SR5's Avatar
Registered User
 
Joined: May 2002
Posts: 10,036
Likes: 5
From: Los Angeles
doink,

ugggh....frames! i haven't seen a website that has used frames that looked good. in fact, back in my days of website design and mgt (this is in 98-00), the concensus even back then was "frames are soooo early 90s!"

but sorry, i know that doesnt answer your question imho, youre better off using layers to create a cool navigation bar than frames. there are a bunch of great websites that will give you the code and allow you to modify it to customize your side.

google "layer scripts" and "free javascripts"

bob
Reply
Old Jan 21, 2005 | 11:31 AM
  #10  
lee's Avatar
lee
Contributing Member
 
Joined: Dec 2003
Posts: 6,729
Likes: 0
From: boston, ma
he was talking about "iframes", not frames.

thats what that is called... its an IMBEDDED frame. those are not only useful space-wise, but they look great too!
Reply
Old Jan 21, 2005 | 11:49 AM
  #11  
doink's Avatar
Thread Starter
Contributing Member
 
Joined: Jul 2002
Posts: 3,112
Likes: 0
From: Atl. Georgia
i used an iframe instead of normal frames.

i find it looks better.


as for the website, i dont know why it didnt load for you calrockx, i can view it?

and again, i did already find the answers to what i was looking for so thanks again guys.

Last edited by doink; Jan 21, 2005 at 11:51 AM.
Reply
Old Jan 21, 2005 | 12:14 PM
  #12  
calrockx's Avatar
Contributing Member
 
Joined: Sep 2002
Posts: 4,749
Likes: 0
From: Santa Clarita, California
Originally Posted by doink
i used an iframe instead of normal frames.

i find it looks better.


as for the website, i dont know why it didnt load for you calrockx, i can view it?

and again, i did already find the answers to what i was looking for so thanks again guys.
hm, beats me. i tried using firefox and IE. i'll try again later.
Reply



All times are GMT -8. The time now is 10:47 PM.