/    Sign up×
Community /Pin to ProfileBookmark

bah! frames hate me! help!!

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>

to post a comment
JavaScript

8 Comments(s)

Copy linkTweet thisAlerts:
@pyroJun 29.2003 — 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
Copy linkTweet thisAlerts:
@irona_2authorJun 29.2003 — 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)
Copy linkTweet thisAlerts:
@pyroJun 29.2003 — 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.
Copy linkTweet thisAlerts:
@irona_2authorJun 29.2003 — 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
Copy linkTweet thisAlerts:
@pyroJun 29.2003 — 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:

&lt;frameset rows="50,50" frameborder="no"&gt;

&lt;frameset cols="70,30" frameborder="no"&gt;

&lt;frame src="http://www.geocities.com/irona_2/top_pic.html" scrolling="no" "noresize"&gt;

&lt;frame src="http://www.geocities.com/irona_2/navig_2.html" scrolling="yes" "noresize"&gt;

&lt;/frameset&gt;

&lt;frameset cols="30,40,30" frameborder="no"&gt;

&lt;frame src="http://www.geocities.com/irona_2/empty.html" scrolling="no"&gt;

&lt;frame src="http://www.geocities.com/irona_2/fun_1.html" scrolling="yes"&gt;

&lt;frame src="http://www.geocities.com/irona_2/empty.html" scrolling="NO"&gt;

&lt;/frameset&gt;

&lt;noframes&gt;
To view this document, you need a frames-compatible browser such as
Netscape Navigator or Microsoft Internet Explorer.
&lt;/noframes&gt;

&lt;/frameset&gt;
Copy linkTweet thisAlerts:
@irona_2authorJun 29.2003 — ? 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..
Copy linkTweet thisAlerts:
@pyroJun 29.2003 — Ok, sorry about that. All you need to do is add border="0" to the first <frameset> tag and it should work.
Copy linkTweet thisAlerts:
@CharlesJun 29.2003 — [font=georgia]You cannot have more than one FRAMESET in a frame set. See http://www.w3.org/TR/html4/present/frames.html.[/font]
×

Success!

Help @irona_2 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...