Banner

 zurück zur Themenseite
Author (ot) Test (Scrollbar)

GEN - Nation
Posted: 2002-01-13 10:29



Funzt nicht ...
Zum Glück
aber nur im Forum !



BODY{
scrollbar-face-color:`#008080`;
scrollbar-arrow-color:`#000000`;
scrollbar-track-color:`#000000`;
scrollbar-shadow-color:`#808080`;
scrollbar-highlight-color:`#808080`;
scrollbar-3dlight-color:`#808080`;
scrollbar-darkshadow-Color:`#808080`;
}
//generated
by Visual Scrollbar Builder http://peachwaresoftware.com/
-->



_________________

[
This Message was edited by: GEN - Nation on 2002-01-13 10:36 ]

Mail Icon
Author (ot) Test (Rechtsklick)

GEN - Nation
Posted: 2002-01-13 10:31



Funzt nicht ...
Zum Glück
aber nur im Forum !




function right(e) {
if (navigator.appName ==
`Netscape` &&
(e.which == 3 || e.which == 2))
return
false;
else if (navigator.appName == `Microsoft Internet Explorer` &&

(event.button == 2 || event.button == 3)) {
alert("Rechtsklick ist
deaktiviert");
return false;
}
return
true;
}
document.onmousedown=right;
if (document.layers)
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
//
End -->




// to prevent right click on
images include:
for (var i=0; idocument.images[i].onmousedown=right;

// to prevent right
click on links include:
for (var i=0; idocument.links[i].onmousedown=right;
// End
-->



_________________

[
This Message was edited by: GEN - Nation on 2002-01-13 10:37 ]

Mail Icon
Author (ot) Test (Newsticker)

GEN - Nation
Posted: 2002-01-13 10:34



Funzt nicht ...
Aberhaupt
nicht !



var speed = 75
var pause =
1500
var timerID = null
var NewsRunning = false
var
MessageArray = new Array()
MessageArray[0]="Ich hoffe,
...";
MessageArray[1]="... dass ich euch ...";
MessageArray[2]="...
nicht die ...";
MessageArray[3]="... Geduldsspanne überspanne
!";
var currentMessage = 0
var offset = 0
function stopNews()
{
if (NewsRunning)
clearTimeout(timerID)
NewsRunning =
false
}
// start the News
function startNews()
{
stopNews()
showNews()
}

function showNews()
{
var text = MessageArray[currentMessage]
if (offset if (text.charAt(offset) == " ")
offset++
var partialMessage
= text.substring(0, offset + 1)
document.NewsForm.NewsField.value =
partialMessage
offset++
timerID = setTimeout("showNews()",
speed)
NewsRunning = true
} else {
offset =
0
currentMessage++
if (currentMessage ==
MessageArray.length)
currentMessage = 0
timerID =
setTimeout("showNews()", pause)
NewsRunning =
true
}
}
//
-->



Startet nachdem alle Datein geladen wurden... und
wenn JavaScript aktiviert
ist!


_________________

[
This Message was edited by: GEN - Nation on 2002-01-13 10:38 ]

Mail Icon






Forum rekonstruiert von Drow
Copyright © 2010 www.seizewell.de