Ja, ik had e.e.a. ook al eens gelezen maar heb het geprobeerd maar het trekt de gehele pagina uit het verband.
Heb hier de code's maar eens geplakt met hetgeen erin verwerkt wat ik b.v. wil.
Wie kan mij zeggen wat ik fout doe zodat ik er bij andere paginadelen zelf uit kan komen?
De pagina werkt op zich prima zonder het extra script maar met...............NOT!
Het script wat ik toegevoegd heb, en dus het probleem is heb ik in de HEAD en de BODY aangegeven tussen de "pijlen" die aan de rechterkant te zien zijn.
Let dus niet op de pijlen zelf (<-------------b voor begin en <----------------e voor einde), het gaat erom wat er tussenin staat (van boven naar beneden)
Is mijn "verduidelijking" een beetje te begrijpen ?
Alvast bedankt.
Pieter
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v"/> <-------b
<style type="text/css">
v\:* { behavior: url(#default#VML); }
</style> <-------e
<script language="JavaScript" type="text/javascript">
<!--
var text, i, ticktext;
text="Welkom op de nieuwe website van stadsblad de Stadsomroeper !";
i=0;
function lichtkrant() {
if (i<text.length) {
i=i+1;
}
else {
i=0;
}
ticktext=text.substring(i,text.length)+text.substring(0,text.length);
window.status=ticktext;
setTimeout("lichtkrant()",100);
}
//-->
</script>
<title>de Stadsomroeper - Hét stadsblad van Sloten (Fr.)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
body {
background-image: url(Blauw%20satijn.jpg);
}
body,td,th {
font-family: "Edwardian Script ITC";
font-size: 97px;
}
.style6 {
color: #FF0000;
font-size: 140px;
}
.style7 {
font-family: "Times New Roman", Times, serif;
font-size: 24px;
}
.style15 {
color: #CC0000;
font-size: 36px;
font-family: "Times New Roman", Times, serif;
}
a:link {
color: #00FF00;
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
.style35 {font-family: "Copperplate Gothic Light"; font-size: 14px; color: #00CCFF; }
#Layer14 { position:absolute;
width:801px;
height:12px;
z-index:9;
left: 207px;
top: 247px;
}
.style37 {
font-family: "Times New Roman", Times, serif;
font-size: 105px;
}
#Layer6 {
position:absolute;
width:200px;
height:27px;
z-index:10;
left: 318px;
top: 294px;
}
.style24 {font-family: "Edwardian Script ITC"; font-size: 36px; color: #00CCFF; }
.style26 { font-family: "Copperplate Gothic Light";
font-size: 18px;
}
#Layer7 {
position:absolute;
width:465px;
height:285px;
z-index:10;
left: 267px;
top: 661px;
}
-->
</style>
</head>
<body onLoad="lichtkrant()">
<div id="Layer7">
<form> <-----------b
<table width=100 cellpadding=0 cellspacing=0 border=0><tr><td>
<script type="text/javascript">
var message=new Array("WebSonic", "www.websonic.nl", "de cirkel ticker", "bv om als intro te gebruiken")
var outlinecolor=new Array("white", "black")
var fillcolor1=new Array("red", "blue", "white", "blue")
var fillcolor2=new Array("yellow", "red", "black", "black")
var circlemark=new Array("-")
var strkweight=2
var pause=2
var strengthopacity="60%"
var circlesize=0.6
var outerwidth=document.body.clientWidth
var outerheight=document.body.clientHeight
var innerwidth=Math.floor(circlesize*outerwidth)
var innerheight=Math.floor(circlesize*outerheight)
var posleft=(outerwidth-innerwidth)/2
var postop=(outerheight-innerheight)/2+50
var path=new Array()
var i_message=0
var i_outlinecolor=0
var i_fillcolor1=0
var i_fillcolor2=0
var i_messagelength=0
var longestmessage=0
pause*=1000
var ie=document.getElementById&&document.all?1:0
for (i=0;i<=message.length-1;i++) {
if (message
.length>longestmessage) {
longestmessage=message.length
}
longestmessage+=4
}
for (i=0;i<=message.length-1;i++) {
var emptyspace=""
var i_emptyspace=(longestmessage-message.length)/2
for (ii=0;ii<=i_emptyspace;ii++) {
emptyspace+=circlemark
}
message=emptyspace+" "+message+" "+emptyspace
}
function changeform() {
if (i_outlinecolor >= outlinecolor.length) {i_outlinecolor=0}
if (i_fillcolor1 >= fillcolor1.length) {i_fillcolor1=0}
if (i_fillcolor2 >= fillcolor2.length) {i_fillcolor2=0}
document.getElementById('strokeid').color=outlinecolor[i_outlinecolor]
document.getElementById('fillid').color=fillcolor1[i_fillcolor1]
document.getElementById('fillid').color2=fillcolor2[i_fillcolor2]
if (i_message < message.length) {tick()}
else {document.getElementById('textpathid').string=""}
}
function tick() {
if (i_messagelength <= message[i_message].length) {
var messagestringend=""
var messagestring=message[i_message].substring(0, i_messagelength)+messagestringend
document.getElementById('textpathid').string=messagestring
var timer=setTimeout("tick()",50)
i_messagelength++
}
else {
clearTimeout(timer)
i_messagelength=0
i_message++
i_outlinecolor++
i_fillcolor1++
i_fillcolor2++
var timer=setTimeout("changeform()",pause)
}
}
if (ie) {
document.write('<div id="roofid" style="position:absolute;left:0px;top:0px;width:'+outerwidth+'px;height:'+outerheight+'px;overflow:hidden;">')
document.write('<vval id="tc" style="position:absolute;top:'+postop+';left:'+posleft+';width:'+innerwidth+';height:'+innerheight+'">')
document.write('<v:shadow on="t" opacity="'+strengthopacity+'"/>')
document.write('<v:stroke id="strokeid" weight="'+strkweight+'pt" color="blue"/>')
document.write('<v:fill id="fillid" on="True" color="'+fillcolor1[0]+'" color2="'+fillcolor2[0]+'" opacity="'+strengthopacity+'" opacity2="'+strengthopacity+'" type="gradient"/>')
document.write('<vath textpathok="t"/>')
document.write('<v:textpath id="textpathid" on="t" id="mytp" style="font-family:\'Arial Black\'; " fitpath="t" string=""/>')
document.write('</vval>')
window.onload=changeform
}
</script> <---------e
</div>
<div id="Layer14">
<p>
<marquee behavior="alternate">
<span class="style35">Deze pagina is het best te bekijken in de resolutie 1024 x 768</span>
</marquee>
</p>
</div>
<STYLE TYPE="text/css"><!--
BODY {
background-color: #000000;
background-image: url(Blauw satijn.jpg);
background-position: center;
background-repeat: repeat;
background-attachment: fixed;
}
--></STYLE>
<div id="Layer1" style="position:absolute; width:201px; height:692px; z-index:4; left: -4px; top: 268px;">
<p><a href="index.htm"><img src="Home.png" width="215" height="27" border="0"></a><a href="Redactie.htm"><img src="Redactie.png" width="215" height="27" border="0"></a><a href="Hjir%20en%20Hjoed.htm"><img src="Hjir.png" width="215" height="27" border="0"></a><a href="Ferline.htm"><img src="Ferline.png" width="215" height="27" border="0"></a><a href="Sleutelgat.htm"><img src="Sleutelgat.png" width="215" height="27" border="0"></a><a href="Utens.htm"><img src="Utens.png" width="215" height="27" border="0"></a><a href="Vvv.htm"><img src="Vvv.png" width="215" height="27" border="0"></a><a href="http://www.sloten.nl"></a><a href="Overzicht.htm"><img src="Jaaroverzicht.png" width="215" height="27" border="0"></a><a href="Jeugdfoto.htm"><img src="Jeugdfoto.png" width="215" height="27" border="0"></a><a href="Reacties.htm"><img src="Reacties.png" width="215" height="27" border="0"></a><a href="Fotoinl.htm"><img src="Reunie.png" width="215" height="27" border="0"></a><a href="mailto:info@destadsomroeper.nl"><img src="Email.png" width="215" height="27" border="0"></a><a href="Links.htm"><img src="Links.png" width="215" height="27" border="0"></a><a href="Aanmelden.htm"><img src="Aanmelden.png" width="215" height="27" border="0"></a><a href="Editie Info.htm"><img src="Info.png" width="215" height="27" border="0"></a><a href="Actueel.htm"><img src="Actueel.png" width="215" height="27" border="0"></a><a href="Luchtfoto.htm"><img src="Luchtfoto.png" width="215" height="27" border="0"></a><a href="Actief.htm"><img src="Actief.png" width="215" height="27" border="0"></a><a href="http://www.destadsomroeper.mygb.nl"><img src="Gastenboek.png" width="215" height="27" border="0"></a><a href="Disclaimer.htm"><img src="Disclaimer.png" width="215" height="27" border="0"></a></p>
<p> </p>
</div>
<div id="Layer5" style="position:absolute; width:801px; height:30px; z-index:7; left: 207px; top: 184px; font-size: 36px;">
<div align="center" class="style15">Hét stadsblad van Sloten (Fr.) </div>
</div>
<div id="Layer4" style="position:absolute; width:150; height:257; z-index:5; left: 23px; top: 2px;">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="150" height="257">
<param name="movie" value="Roterend Logo.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="Roterend Logo.swf" width="150" height="257" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</div>
<div id="Layer3" style="position:absolute; width:575; height:709px; z-index:3; left: 211px; top: 267px;">
<div align="left">
<blockquote>
<p class="style7"><u>Vvv Nieuws</u></p>
<p class="style26 style24"><strong><u>Interactief Stadsblad.</u></strong></p>
<p class="style24 style26">Om u een kijkje te laten nemen in ons blad kunt u op onderstaande link klikken.</p>
<p class="style24 style26">Een menu zal automatosch verschijnen waarop u aan kunt geven dat u het blad wilt openen.</p>
<p class="style24 style26">Door op de hoeken te klikken kunt u voor- en achteruit bladeren in ons on-line stadsblad van "de Stadsomroeper". </p>
</blockquote>
</div>
<div id="Layer6"><a href="blad.exe"><img src="Openblad.png" width="215" height="27" border="0"></a></div>
<p><a href="blad.exe"></a></p>
</div>
<div id="Layer2" style="position:absolute; width:799px; height:86px; z-index:6; left: 207px; top: 18px; font-family: "Edwardian Script ITC"; font-size: 97px; color: #00CC00;"> <span class="style6"><a name="boven"></a><span class="style37">De Stadsomroeper </span></span></div>
</body>
</html>