Waarom werkt de ene script wel ... andere niet!?

Pagina: 1
Acties:

  • Zephyer
  • Registratie: Juni 2001
  • Laatst online: 01-09 21:22
Ok.... hieronder ff snel copy / past....
Alles scrippies doen het... de enige die het vertikt is het deel van css style...... (voor de scroll bar... ) :?

<HTML>

<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<TITLE>Copyright</TITLE>
<style type="text/css">
BODY {
SCROLLBAR-BASE-COLOR: 3D4B6B;
SCROLLBAR-ARROW-COLOR: #FFFFFF;
}
</style>


<body background="kmar.jpg">

<SCRIPT language="JavaScript">

<!--
function runClock() {
theTime = window.setTimeout("runClock()", 1000);
var today = new Date();
var display = today.toLocaleString();
window.status = display;
}
runClock();
-->
</SCRIPT>

<script>

// SET THE VARIABLES BELOW

// Set your messages below -- follow the pattern. To add
// more messages, just add more elements to the array.
var message = new Array() // leave this as is

message[0] = "Bla1";
message[1] = "Bla2";
message[2] = "Bla3";
message[3] = "Bla4";
message[4] = "Bla5";
message[5] = "Bla6"


// Set the number of repetitions (how many times the arrow
// cycle repeats with each message).

var reps = 2

// Set the overall speed (larger number = slower action).

var speed = 200

// DO NOT EDIT BELOW THIS LINE.
// ============================
var p=message.length;
var T="";
var C=0;
var mC=0;
var s=0;
var sT=null;
if(reps<1)reps=1;
function doTheThing(){
T=message[mC];
A();}
function A(){
s++
if(s>8){s=1}
// you can fiddle with the patterns here...
if(s==1){document.title=''+T+''}
if(s==2){document.title=''+T+''}
if(s==3){document.title=''+T+''}
if(s==4){document.title=''+T+''}
if(s==5){document.title=''+T+''}
if(s==6){document.title=''+T+''}
if(s==7){document.title=''+T+''}
if(s==8){document.title=''+T+''}
if(C<(8*reps)){
sT=setTimeout("A()",speed);
C++
}else{
C=0;
s=0;
mC++
if(mC>p-1)mC=0;
sT=null;
doTheThing();}}
doTheThing();

</script>
<SCRIPT LANGUAGE="JavaScript">
<!--
var sorry="Ja dag !"

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(sorry);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(sorry);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</SCRIPT>
</HEAD>
<BODY bgColor=#ffffff>
</BODY>

<font color="#00006F"><script type="text/javascript">


function Go(){return}

</script>

<script
type="text/javascript" src="exmplmenu_var.js"></script>
<script
type="text/javascript" src="menu_com.js"></script>
</noscript>
</font>

<P CLASS="copyright" align="center"><font face="Comic Sans MS" size="1">Copyright
&copy; 2002 All rights reserved.<BR> If there are any remarks or questions please
mail <A HREF="mailto:bla@bla.nl">the webmaster.</A></font></P>
<center><img src="bla.jpg"></center>
</HTML>

MW | BF1 Stats


Verwijderd

2 body-tags? :?

Tip:
[url="http://validator.w3.org/"]http://validator.w3.org/[/url]

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 14:33

crisp

Devver

Pixelated

code:
1
&lt;font face=&quot;Comic Sans MS&quot; size=&quot;1&quot;&gt;

;(

Maar goed, scrollbar kleurtjes is IE-only en werkt alleen vanaf IE5.5; kan het daaraan liggen?

Intentionally left blank


  • Zephyer
  • Registratie: Juni 2001
  • Laatst online: 01-09 21:22
Op donderdag 25 juli 2002 12:54 schreef crisp het volgende:
code:
1
&lt;font face=&quot;Comic Sans MS&quot; size=&quot;1&quot;&gt;

;(

Maar goed, scrollbar kleurtjes is IE-only en werkt alleen vanaf IE5.5; kan het daaraan liggen?
Dammm.... zit dus te hobbien op m'n werk.....
Hier gebruikt men IE 4.0 |:(
Laat maar hangen dus.... thuis maar eens ff kijken... op IE 6.0

MW | BF1 Stats


  • Clay
  • Registratie: Oktober 1999
  • Laatst online: 22-06 13:51

Clay

cookie erbij?

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var T=&quot;&quot;;
var C=0;
var mC=0;
var s=0;
var sT=null;

...

C++
}else{
C=0;
s=0;
mC++
if(mC&gt;p-1)mC=0;
sT=null;
doTheThing();}}

duidelijk :)

Instagram | Flickr | "Let my music become battle cries" - Frédéric Chopin


  • Zephyer
  • Registratie: Juni 2001
  • Laatst online: 01-09 21:22
Op donderdag 25 juli 2002 13:18 schreef Clay het volgende:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var T=&quot;&quot;;
var C=0;
var mC=0;
var s=0;
var sT=null;

...

C++
}else{
C=0;
s=0;
mC++
if(mC&gt;p-1)mC=0;
sT=null;
doTheThing();}}

duidelijk :)
Hmmmm ... don't see it.... :?

MW | BF1 Stats


  • Bosmonster
  • Registratie: Juni 2001
  • Laatst online: 29-08 19:47

Bosmonster

*zucht*

offtopic:
wel grappig hoe dit script zichzelf tegenspreekt ;)

// DO NOT EDIT BELOW THIS LINE.
// ============================

[..]

// you can fiddle with the patterns here...

:D

  • Zephyer
  • Registratie: Juni 2001
  • Laatst online: 01-09 21:22
Op donderdag 25 juli 2002 13:39 schreef Bosmonster het volgende:
offtopic:
wel grappig hoe dit script zichzelf tegenspreekt ;)

// DO NOT EDIT BELOW THIS LINE.
// ============================

[..]

// you can fiddle with the patterns here...

:D
:P

MW | BF1 Stats

Pagina: 1