Hallöchen ihr lieben, ich habe mich gerade hier angemeldet, um endlich klarheit zu bekommen, ich bin einfach mit meinem latein am ende....

folgendes problem:

ich habe einen script für einen mouseover effect(Image w/ description tooltip) und einen script für eine slideshow (Conveyor Belt slideshow script) auf einer seite eingefügt und nun hat die slideshow den mousehover effect irgendwie außer kraft gesetzt... also als ich die slideshow noch nicht drauf hatte, hat noch alles prima funtioniert, naja und dann hab ich die slideshow halt dazugefügt und nun funktioniert die slideshow zwar perfekt, aber der mouseover effect ist futsch... ich füge die "rohbau" scripts mal hier ein und ich hoffe, dass vielleicht irgendeiner weiß, wieso das nicht funktioniert oder was ich an einem script ändern muss, damit beides auf einer seite funktioniert....

Conveyor Belt slideshow script:

Code:
<script type="text/javascript">

/***********************************************
* Conveyor belt slideshow script- © Dynamic Drive DHTML code library &#40;www.dynamicdrive.com&#41;
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http&#58;//www.dynamicdrive.com/ for full source code
***********************************************/


//Specify the slider's width &#40;in pixels&#41;
var sliderwidth="300px"
//Specify the slider's height
var sliderheight="150px"
//Specify the slider's slide speed &#40;larger is faster 1-10&#41;
var slidespeed=3
//configure background color&#58;
slidebgcolor="#EAEAEA"

//Specify the slider's images
var leftrightslide=new Array&#40;&#41;
var finalslide=''
leftrightslide&#91;0&#93;='[img]dynamicbook1.gif[/img]'
leftrightslide&#91;1&#93;='[img]dynamicbook2.gif[/img]'
leftrightslide&#91;2&#93;='[img]dynamicbook3.gif[/img]'
leftrightslide&#91;3&#93;='[img]dynamicbook4.gif[/img]'
leftrightslide&#91;4&#93;='[img]dynamicbook5.gif[/img]'

//Specify gap between each image &#40;use HTML&#41;&#58;
var imagegap=" "

//Specify pixels gap between each slideshow rotation &#40;use integer&#41;&#58;
var slideshowgap=5


////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join&#40;imagegap&#41;+'</nobr>'
var iedom=document.all||document.getElementById
if &#40;iedom&#41;
document.write&#40;'<span id="temp" style="visibility&#58;hidden;position&#58;absolute;top&#58;-100px;left&#58;-9000px">'+leftrightslide+'</span>'&#41;
var actualwidth=''
var cross_slide, ns_slide

function fillup&#40;&#41;&#123;
if &#40;iedom&#41;&#123;
cross_slide=document.getElementById? document.getElementById&#40;"test2"&#41; &#58; document.all.test2
cross_slide2=document.getElementById? document.getElementById&#40;"test3"&#41; &#58; document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth &#58; document.getElementById&#40;"temp"&#41;.offsetWidth
cross_slide2.style.left=actualwidth+slideshowgap+"px"
&#125;
else if &#40;document.layers&#41;&#123;
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write&#40;leftrightslide&#41;
ns_slide.document.close&#40;&#41;
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write&#40;leftrightslide&#41;
ns_slide2.document.close&#40;&#41;
&#125;
lefttime=setInterval&#40;"slideleft&#40;&#41;",30&#41;
&#125;
window.onload=fillup

function slideleft&#40;&#41;&#123;
if &#40;iedom&#41;&#123;
if &#40;parseInt&#40;cross_slide.style.left&#41;>&#40;actualwidth*&#40;-1&#41;+8&#41;&#41;
cross_slide.style.left=parseInt&#40;cross_slide.style.left&#41;-copyspeed+"px"
else
cross_slide.style.left=parseInt&#40;cross_slide2.style.left&#41;+actualwidth+slideshowgap+"px"

if &#40;parseInt&#40;cross_slide2.style.left&#41;>&#40;actualwidth*&#40;-1&#41;+8&#41;&#41;
cross_slide2.style.left=parseInt&#40;cross_slide2.style.left&#41;-copyspeed+"px"
else
cross_slide2.style.left=parseInt&#40;cross_slide.style.left&#41;+actualwidth+slideshowgap+"px"

&#125;
else if &#40;document.layers&#41;&#123;
if &#40;ns_slide.left>&#40;actualwidth*&#40;-1&#41;+8&#41;&#41;
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+slideshowgap

if &#40;ns_slide2.left>&#40;actualwidth*&#40;-1&#41;+8&#41;&#41;
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+slideshowgap
&#125;
&#125;


if &#40;iedom||document.layers&#41;&#123;
with &#40;document&#41;&#123;
document.write&#40;'<table border="0" cellspacing="0" cellpadding="0"><td>'&#41;
if &#40;iedom&#41;&#123;
write&#40;'<div style="position&#58;relative;width&#58;'+sliderwidth+';height&#58;'+sliderheight+';overflow&#58;hidden">'&#41;
write&#40;'<div style="position&#58;absolute;width&#58;'+sliderwidth+';height&#58;'+sliderheight+';background-color&#58;'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">'&#41;
write&#40;'<div id="test2" style="position&#58;absolute;left&#58;0px;top&#58;0px"></div>'&#41;
write&#40;'<div id="test3" style="position&#58;absolute;left&#58;-1000px;top&#58;0px"></div>'&#41;
write&#40;'</div></div>'&#41;
&#125;
else if &#40;document.layers&#41;&#123;
write&#40;'<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>'&#41;
write&#40;'<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>'&#41;
write&#40;'<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>'&#41;
write&#40;'</ilayer>'&#41;
&#125;
document.write&#40;'</td></table>'&#41;
&#125;
&#125;
</script>

&#91;color=red&#93;
Image w/ description tooltip&#40;mouseover effect&#41;&#58;&#91;/color&#93;

<head><script language="javascript" type="text/javascript">
<!--

/*
Image w/ description tooltip- By Dynamic Web Coding &#40;www.dyn-web.com&#41;
Copyright 2002 by Sharon Paine
Visit http&#58;//www.dynamicdrive.com for this script
*/

/* IMPORTANT&#58; Put script after tooltip div or 
	 put tooltip div just before </BODY>. */

var dom = &#40;document.getElementById&#41; ? true &#58; false;
var ns5 = &#40;&#40;navigator.userAgent.indexOf&#40;"Gecko"&#41;>-1&#41; && dom&#41; ? true&#58; false;
var ie5 = &#40;&#40;navigator.userAgent.indexOf&#40;"MSIE"&#41;>-1&#41; && dom&#41; ? true &#58; false;
var ns4 = &#40;document.layers && !dom&#41; ? true &#58; false;
var ie4 = &#40;document.all && !dom&#41; ? true &#58; false;
var nodyn = &#40;!ns5 && !ns4 && !ie4 && !ie5&#41; ? true &#58; false;

// resize fix for ns4
var origWidth, origHeight;
if &#40;ns4&#41; &#123;
	origWidth = window.innerWidth; origHeight = window.innerHeight;
	window.onresize = function&#40;&#41; &#123; if &#40;window.innerWidth != origWidth || window.innerHeight != origHeight&#41; history.go&#40;0&#41;; &#125;
&#125;

// avoid error of passing event object in older browsers
if &#40;nodyn&#41; &#123; event = "nope" &#125;

///////////////////////  CUSTOMIZE HERE   ////////////////////
// settings for tooltip 
// Do you want tip to move when mouse moves over link?
var tipFollowMouse= true;	
// Be sure to set tipWidth wide enough for widest image
var tipWidth= 160;
var offX= 20;	// how far from mouse to show tip
var offY= 12; 
var tipFontFamily= "Verdana, arial, helvetica, sans-serif";
var tipFontSize= "8pt";
// set default text color and background color for tooltip here
// individual tooltips can have their own &#40;set in messages arrays&#41;
// but don't have to
var tipFontColor= "#000000";
var tipBgColor= "#DDECFF"; 
var tipBorderColor= "#000080";
var tipBorderWidth= 3;
var tipBorderStyle= "ridge";
var tipPadding= 4;

// tooltip content goes here &#40;image, description, optional bgColor, optional textcolor&#41;
var messages = new Array&#40;&#41;;
// multi-dimensional arrays containing&#58; 
// image and text for tooltip
// optional&#58; bgColor and color to be sent to tooltip
messages&#91;0&#93; = new Array&#40;'red_balloon.gif','Here is a red balloon on a white background',"#FFFFFF"&#41;;
messages&#91;1&#93; = new Array&#40;'duck2.gif','Here is a duck on a light blue background.',"#DDECFF"&#41;;
messages&#91;2&#93; = new Array&#40;'test.gif','Test description','black','white'&#41;;

////////////////////  END OF CUSTOMIZATION AREA  ///////////////////

// preload images that are to appear in tooltip
// from arrays above
if &#40;document.images&#41; &#123;
	var theImgs = new Array&#40;&#41;;
	for &#40;var i=0; i<messages.length; i++&#41; &#123;
  	theImgs&#91;i&#93; = new Image&#40;&#41;;
		theImgs&#91;i&#93;.src = messages&#91;i&#93;&#91;0&#93;;
  &#125;
&#125;

// to layout image and text, 2-row table, image centered in top cell
// these go in var tip in doTooltip function
// startStr goes before image, midStr goes between image and text
var startStr = '<table width="' + tipWidth + '"><tr><td align="center" width="100%"><img src="';
var midStr = '" border="0"></td></tr><tr><td valign="top">';
var endStr = '</td></tr></table>';

////////////////////////////////////////////////////////////
//  initTip	- initialization for tooltip.
//		Global variables for tooltip. 
//		Set styles for all but ns4. 
//		Set up mousemove capture if tipFollowMouse set true.
////////////////////////////////////////////////////////////
var tooltip, tipcss;
function initTip&#40;&#41; &#123;
	if &#40;nodyn&#41; return;
	tooltip = &#40;ns4&#41;? document.tipDiv.document&#58; &#40;ie4&#41;? document.all&#91;'tipDiv'&#93;&#58; &#40;ie5||ns5&#41;? document.getElementById&#40;'tipDiv'&#41;&#58; null;
	tipcss = &#40;ns4&#41;? document.tipDiv&#58; tooltip.style;
	if &#40;ie4||ie5||ns5&#41; &#123;	// ns4 would lose all this on rewrites
		tipcss.width = tipWidth+"px";
		tipcss.fontFamily = tipFontFamily;
		tipcss.fontSize = tipFontSize;
		tipcss.color = tipFontColor;
		tipcss.backgroundColor = tipBgColor;
		tipcss.borderColor = tipBorderColor;
		tipcss.borderWidth = tipBorderWidth+"px";
		tipcss.padding = tipPadding+"px";
		tipcss.borderStyle = tipBorderStyle;
	&#125;
	if &#40;tooltip&&tipFollowMouse&#41; &#123;
		if &#40;ns4&#41; document.captureEvents&#40;Event.MOUSEMOVE&#41;;
		document.onmousemove = trackMouse;
	&#125;
&#125;

window.onload = initTip;

/////////////////////////////////////////////////
//  doTooltip function
//			Assembles content for tooltip and writes 
//			it to tipDiv
/////////////////////////////////////////////////
var t1,t2;	// for setTimeouts
var tipOn = false;	// check if over tooltip link
function doTooltip&#40;evt,num&#41; &#123;
	if &#40;!tooltip&#41; return;
	if &#40;t1&#41; clearTimeout&#40;t1&#41;;	if &#40;t2&#41; clearTimeout&#40;t2&#41;;
	tipOn = true;
	// set colors if included in messages array
	if &#40;messages&#91;num&#93;&#91;2&#93;&#41;	var curBgColor = messages&#91;num&#93;&#91;2&#93;;
	else curBgColor = tipBgColor;
	if &#40;messages&#91;num&#93;&#91;3&#93;&#41;	var curFontColor = messages&#91;num&#93;&#91;3&#93;;
	else curFontColor = tipFontColor;
	if &#40;ns4&#41; &#123;
		var tip = '<table bgcolor="' + tipBorderColor + '" width="' + tipWidth + '" cellspacing="0" cellpadding="' + tipBorderWidth + '" border="0"><tr><td><table bgcolor="' + curBgColor + '" width="100%" cellspacing="0" cellpadding="' + tipPadding + '" border="0"><tr><td>'+ startStr + messages&#91;num&#93;&#91;0&#93; + midStr + '<span style="font-family&#58;' + tipFontFamily + '; font-size&#58;' + tipFontSize + '; color&#58;' + curFontColor + ';">' + messages&#91;num&#93;&#91;1&#93; + '</span>' + endStr + '</td></tr></table></td></tr></table>';
		tooltip.write&#40;tip&#41;;
		tooltip.close&#40;&#41;;
	&#125; else if &#40;ie4||ie5||ns5&#41; &#123;
		var tip = startStr + messages&#91;num&#93;&#91;0&#93; + midStr + '<span style="font-family&#58;' + tipFontFamily + '; font-size&#58;' + tipFontSize + '; color&#58;' + curFontColor + ';">' + messages&#91;num&#93;&#91;1&#93; + '</span>' + endStr;
		tipcss.backgroundColor = curBgColor;
	 	tooltip.innerHTML = tip;
	&#125;
	if &#40;!tipFollowMouse&#41; positionTip&#40;evt&#41;;
	else t1=setTimeout&#40;"tipcss.visibility='visible'",100&#41;;
&#125;

var mouseX, mouseY;
function trackMouse&#40;evt&#41; &#123;
	mouseX = &#40;ns4||ns5&#41;? evt.pageX&#58; window.event.clientX + document.body.scrollLeft;
	mouseY = &#40;ns4||ns5&#41;? evt.pageY&#58; window.event.clientY + document.body.scrollTop;
	if &#40;tipOn&#41; positionTip&#40;evt&#41;;
&#125;

/////////////////////////////////////////////////////////////
//  positionTip function
//		If tipFollowMouse set false, so trackMouse function
//		not being used, get position of mouseover event.
//		Calculations use mouseover event position, 
//		offset amounts and tooltip width to position
//		tooltip within window.
/////////////////////////////////////////////////////////////
function positionTip&#40;evt&#41; &#123;
	if &#40;!tipFollowMouse&#41; &#123;
		mouseX = &#40;ns4||ns5&#41;? evt.pageX&#58; window.event.clientX + document.body.scrollLeft;
		mouseY = &#40;ns4||ns5&#41;? evt.pageY&#58; window.event.clientY + document.body.scrollTop;
	&#125;
	// tooltip width and height
	var tpWd = &#40;ns4&#41;? tooltip.width&#58; &#40;ie4||ie5&#41;? tooltip.clientWidth&#58; tooltip.offsetWidth;
	var tpHt = &#40;ns4&#41;? tooltip.height&#58; &#40;ie4||ie5&#41;? tooltip.clientHeight&#58; tooltip.offsetHeight;
	// document area in view &#40;subtract scrollbar width for ns&#41;
	var winWd = &#40;ns4||ns5&#41;? window.innerWidth-20+window.pageXOffset&#58; document.body.clientWidth+document.body.scrollLeft;
	var winHt = &#40;ns4||ns5&#41;? window.innerHeight-20+window.pageYOffset&#58; document.body.clientHeight+document.body.scrollTop;
	// check mouse position against tip and window dimensions
	// and position the tooltip 
	if &#40;&#40;mouseX+offX+tpWd&#41;>winWd&#41; 
		tipcss.left = &#40;ns4&#41;? mouseX-&#40;tpWd+offX&#41;&#58; mouseX-&#40;tpWd+offX&#41;+"px";
	else tipcss.left = &#40;ns4&#41;? mouseX+offX&#58; mouseX+offX+"px";
	if &#40;&#40;mouseY+offY+tpHt&#41;>winHt&#41; 
		tipcss.top = &#40;ns4&#41;? winHt-&#40;tpHt+offY&#41;&#58; winHt-&#40;tpHt+offY&#41;+"px";
	else tipcss.top = &#40;ns4&#41;? mouseY+offY&#58; mouseY+offY+"px";
	if &#40;!tipFollowMouse&#41; t1=setTimeout&#40;"tipcss.visibility='visible'",100&#41;;
&#125;

function hideTip&#40;&#41; &#123;
	if &#40;!tooltip&#41; return;
	t2=setTimeout&#40;"tipcss.visibility='hidden'",100&#41;;
	tipOn = false;
&#125;

//-->
</script></head>
Link 1

Link 2
<body><div id="tipDiv" style="position&#58;absolute; visibility&#58;hidden; z-index&#58;100"></div></body>
ich hoffe, es kann mir jemand helfen.
Achtung: Dies ist ein alter Thread im HTML und Webmaster Forum
Diese Diskussion ist älter als 90 Tage. Die darin enthaltenen Informationen sind möglicherweise nicht mehr aktuell. Erstelle bitte zu deiner Frage ein neues Thema im Forum !!!!!