PDA

Volledige versie bekijken : aanpassing color scrollbar werkt niet


Wolf-Design
%Europe/Berlin %561 %2005, 14:29
Beste Flashfocus lezers,

Ik heb al enige code gebruikt om de scrollbar in een pagina binnen een frameset van een pagina te wijzigen.
Als ik dit test bij een blank page, dan werkt het script prima, maar niet in mijn frameset of aparte pagina hiervan.

Wie ziet wat er mis gaat? Ik heb al van alles geprobeerd.

idw

Dit is het frameset, waarin ik de code heb geplaatst:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>

<!-- Deze code werkt niet in IE5.0 en Safari 1.0 -->
<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#E3E3E3;
scrollbar-darkshadow-color:#000000;
scrollbar-shadow-color:#808080;
scrollbar-track-color:#FFFFFF;
scrollbar-arrow-color:#000000;
}
-->
</STYLE>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Pizzeria Contini</title>
</head>

<frameset rows="*" cols="*,750,*" framespacing="0" frameborder="NO" border="0">
<frame src="frame_leftright.htm" name="left" scrolling="no" id="left" title="mainFrame">
<frameset rows="204,*,17" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="frame_top.htm" name="mainnav" scrolling="NO" noresize marginwidth="0" marginheight="0" id="mainnav" title="topFrame">
<frame src="html/profiel_frameset.htm" name="main" scrolling="yes" marginwidth="0" marginheight="0" id="main">
<frame src="frame_bottom.htm" name="copyright" scrolling="no" id="copyright" title="undefined">
</frameset>

</frameset>

<noframes>
<body>
</body>

</noframes>
</html>

Marcellino
%Europe/Berlin %602 %2005, 15:27
Je hebt dat script op de framepagina gezet maar de frame pagina heeft zelf ook niet nog
niet eens een scrollbalk: de oplossing is om deze code op de pagina's te zetten die je
laad in je frame pagina

Khoop dat dit een beetje duidelijk is :D :P ;)

Quevi
%Europe/Berlin %605 %2005, 15:32
Over de <noframes>-tag
Het NOFRAMES element kan gebruik worden om inhoud op te nemen, welke alleen moet worden weergegeven indien de browser geen frames ondersteunt, of indien het gebruik van frames is uitgeschakeld. Het NOFRAMES element wordt geplaatst aan het eind het frameset gedeelte van het document (voor de laatste beëindiging van het FRAMESET element).
De opbouw is:

<FRAMESET>

<NOFRAMES>
inhoud noframes-versie
</NOFRAMES>
</FRAMESET>

In dit geval dus:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>

<!-- Deze code werkt niet in IE5.0 en Safari 1.0 -->
<STYLE type="text/css">
<!--
BODY {
scrollbar-face-colorFFFFFF;
scrollbar-highlight-colorFFFFFF;
scrollbar-3dlight-colorE3E3E3;
scrollbar-darkshadow-color000000;
scrollbar-shadow-color808080;
scrollbar-track-colorFFFFFF;
scrollbar-arrow-color000000;
}
-->
</STYLE>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Pizzeria Contini</title>
</head>

<frameset rows="*" cols="*,750,*" framespacing="0" frameborder="NO" border="0">
<frame src="frame_leftright.htm" name="left" scrolling="no" id="left" title="mainFrame">
<frameset rows="204,*,17" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="frame_top.htm" name="mainnav" scrolling="NO" noresize marginwidth="0" marginheight="0" id="mainnav" title="topFrame">
<frame src="html/profiel_frameset.htm" name="main" scrolling="yes" marginwidth="0" marginheight="0" id="main">
<frame src="frame_bottom.htm" name="copyright" scrolling="no" id="copyright" title="undefined">
</frameset>
<noframes>
<body>
</body>
<img src="http://scripts.qweb.nl/counter/Count.cgi?df=www.contini.nl">
</noframes>
</frameset>


</html>

Wolf-Design
%Europe/Berlin %687 %2005, 17:29
Bedankt voor de uitleg, ik ga er mee bezig.

idw

brossiekoppie
%Europe/Berlin %748 %2005, 18:58
Mozilla / Netscape accepteert dat trouwens ook niet dus je zal dit enkel zien in IE.

josko
%Europe/Berlin %916 %2005, 22:59
<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color: #FFFFFF;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #E3E3E3;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #808080;
scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #000000;
}
-->
</STYLE>

Wolf-Design
%Europe/Berlin %983 %2005, 00:36
Bedankt voor jullie antwoorden. Ik ben er al uit.

idw (http://www.wolf-design.nl)