Beruflich Dokumente
Kultur Dokumente
/*
<style type="text/css">
#ticker-container {
position: relative;
overflow: hidden;
width: 200px;
height: 800px;
background-color: #ffffff;
background-repeat: repeat;
padding: 2px;
border: Defaultpx dotted;
}
#ticker {
position:relative;
width:150px;
}
#ticker ul {
padding:0px;
margin:0px;
list-style-type:none;
}
#ticker ul li {
display:list-item;
margin-top: 1px;
margin-bottom: 1px;
padding-top: 1px;
padding-bottom: 1px;
font-family: arial;
font-size: xx-small;
font-weight: normal;
color: ;
padding-left: 2px;
}
#ticker ul li a {
font-family: arial;
font-size: xx-small;
font-weight: normal;
color: #000000;
text-decoration: none;
padding-left: 2px;
}
#ticker ul li a:hover {
font-family: arial;
font-size: xx-small;
color: ;
text-decoration: none;
padding-left: 2px;
}
</style>
<script language="JavaScript">
//scroller width
var swidth=200;
//scroller height
var sheight=200;
//background color
var sbcolor='#ffffff';
//scroller's speed
var sspeed=1;
var msg=''
msg +=
'<li>bbbb </li></ul>'+
'';
var resumesspeed=sspeed
function start() {
if (document.all) iemarquee(ticker);
else if (document.getElementById)
ns6marquee(document.getElementById('ticker'));
}
function iemarquee(whichdiv){
iediv=eval(whichdiv)
sheight += 50;
iediv.style.pixelTop=sheight
iediv.innerHTML=msg
sizeup=iediv.offsetHeight
ieslide()
}
function ieslide(){
if (iediv.style.pixelTop>=sizeup*(-1)){
iediv.style.pixelTop-=sspeed
setTimeout("ieslide()",100)
}
else{
iediv.style.pixelTop=sheight
ieslide()
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
sheight += 50;
ns6div.style.top=sheight + "px";
ns6div.innerHTML=msg
sizeup=ns6div.offsetHeight
ns6slide()
}
function ns6slide(){
if (parseInt(ns6div.style.top)>=sizeup*(-1)){
theTop = parseInt(ns6div.style.top)-sspeed
ns6div.style.top = theTop + "px";
setTimeout("ns6slide()",100)
}
else {
ns6div.style.top = sheight + "px";
ns6slide()
}
}
</script>
<script type="text/javascript">
function DuplicateDIV(srcDivName,insertDivName)
{
try
{
dupeCount++;
var srcDiv = document.getElementById(srcDivName);
var targetDiv = document.getElementById(insertDivName);
itemHeight = srcDiv.offsetHeight;
function StartScrolling()
{
scrollingPanes.push(document.getElementById("scrollingDiv0"));
panePositions.push(0);
setInterval("UpdateDivPanes()",updateSpeed);
}
function PauseScrolling()
{
allowScroll = false;
}
function ResumeScrolling()
{
allowScroll = true;
}
/*
//Update the current positions of all the duplicated divs
*/
function UpdateDivPanes()
{
if(allowScroll == true)
{
for(var i = 0; i < scrollingPanes.length; i++)
{
var thisPane = scrollingPanes[i];
thisPane.style.top = panePositions[i] + "px";
panePositions[i]--;
if(panePositions[i] <= 0 - (itemHeight + paneOffset))
{
panePositions[i] = EndPosition();
}
}
}
}
/*
//This function calculates what the current bottom-most div is
//and returns the value of that plus the pane offset value.
*/
function EndPosition()
{
var maxPosition = 0;
for(var i = 0; i < scrollingPanes.length; i++)
{
if(panePositions[i] > maxPosition)
{
maxPosition = panePositions[i];
}
}
</script>
<style>
*
{
font-family: Arial, sans-serif;
font-size: 12px;
}
.scrollPane
{
position: relative;
width: 200px;
height: 200px;
background: #000;
overflow: hidden;
}
.scrollItem
{
position: absolute;
width: 200px;
background: #039;
color: #fff;
background-color: #FFFFFF;
}
.innerPadding
{
padding: 18px;
}
#scrollingWindow {
color: rgba(0,0,0,1);
}
#scrollingWindow {
color: rgba(0,0,0,1);
}
#scrollingWindow #scrollingDiv0 .innerPadding p {
color: #000;
}
</style>
*/