Click to See Complete Forum and Search --> : bah! frames hate me! help!!


irona_2
06-28-2003, 10:05 PM
k i know the title implies frame troubles (which i am having) but i'm posting this message for help with javascript problems...
i'm trying to change the scrollbar color and i just can't get it to work! i'm including the html to the page i'm working on as well as the script i'm trying to use with it.
i would be emensely greatful for any help you can pass along!

<html>
<head>
</head>

<frameset rows="50,50" border="1">

<frameset cols="70,30">

<frame src="http://www.geocities.com/irona_2/top_pic.html" scrolling="no" "noresize">

<frame src="http://www.geocities.com/irona_2/navig_2.html" scrolling="yes" "noresize">

</frameset>

<frameset cols="30,40,30">

<frame src="http://www.geocities.com/irona_2/empty.html" scrolling="no">

<frame src="http://www.geocities.com/irona_2/fun_1.html" scrolling="yes">

<frame src="http://www.geocities.com/irona_2/empty.html" scrolling="NO">

</frameset>

<noframes>
To view this document, you need a frames-compatible browser such as
Netscape Navigator or Microsoft Internet Explorer.
</noframes>

</frameset>

</html>


AND:

<STYLE>
BODY{
scrollbar-face-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #000000;
scrollbar-arrow-color: #CC6600;
}</STYLE>

pyro
06-28-2003, 10:08 PM
It is actually a CSS question, but what you need to do is include the CSS for the scrollbars on each page that you want to display the colored scrollbars, not the page that sets up the frameset. For instance, you need to include it on these pages:

http://www.geocities.com/irona_2/navig_2.html
http://www.geocities.com/irona_2/fun_1.html

irona_2
06-28-2003, 10:15 PM
ahh thank you soo much! (i'm pretty new with all this html/etc stuff *blushes*)
that definately explains my problems with it hehe

oh another quick question..what's used to change the color of frame borders? (so that i can blend them into the page rather than having them white and tacky)

pyro
06-28-2003, 10:22 PM
Add something like this to your <frame> tags:

style="border-right: #cccccc 1px solid;"

Where right is the direction (right, left, top, or bottom). If you want to do all borders, just use border.

irona_2
06-28-2003, 10:37 PM
if i'm being a pest, please let me know hehe

k, here is the url to my frames page (with the added source you gave me): http://www.geocities.com/irona_2/testing.html

the white lines are still there... (guessing i don't know the proper name for them)

thanks bunches again

pyro
06-28-2003, 10:58 PM
If you just want to get rid of the lines, add this code to each of your <frameset> tags:

frameborder="no"

so your tags will look like this:

<frameset rows="50,50" frameborder="no">

<frameset cols="70,30" frameborder="no">

<frame src="http://www.geocities.com/irona_2/top_pic.html" scrolling="no" "noresize">

<frame src="http://www.geocities.com/irona_2/navig_2.html" scrolling="yes" "noresize">

</frameset>

<frameset cols="30,40,30" frameborder="no">

<frame src="http://www.geocities.com/irona_2/empty.html" scrolling="no">

<frame src="http://www.geocities.com/irona_2/fun_1.html" scrolling="yes">

<frame src="http://www.geocities.com/irona_2/empty.html" scrolling="NO">

</frameset>

<noframes>
To view this document, you need a frames-compatible browser such as
Netscape Navigator or Microsoft Internet Explorer.
</noframes>

</frameset>

irona_2
06-28-2003, 11:20 PM
:D i's back *muhahaha*

anyways..i tried frameborder="no" and the white lines are still there..i don't know what i'm doing wrong..

pyro
06-29-2003, 09:14 AM
Ok, sorry about that. All you need to do is add border="0" to the first <frameset> tag and it should work.

Charles
06-29-2003, 11:22 AM
You cannot have more than one FRAMESET in a frame set. See http://www.w3.org/TR/html4/present/frames.html.