das habe ich bereits gemacht, nur es erscheint kein Fehler.
Anbei mal das HTML Script
Code:
<html>
<head>
<title>Diashow</title>
<script type="text/javascript">
function switch_image(pathinfo){
mc = document.getElementById("big_pic");
mc.innerHTML = "<img src=" + pathinfo + ">";
mc = document.getElementById("big_pic");
}
function switch_div(div_name){
mc = document.getElementById("big_pic");
if (mc.style.display="none"){
mc.style.display="inline";
}else{
mc.style.display="none";
}
}
function show_zoomo_pano(articlename){
var mc = document.getElementById("big_pic");
var script = document.createElement("script");
script.setAttribute('type','text/javascript');
script.text= '###einbindung des Java-Script-Befehls###';
document.getElementById("big_pic").appendChild(script);
}
</script>
</style>
</head>
<body>
<script language='javascript' src='initial-path'></script>
<!-- BOX für Bilder -->
<div id="bfa" style="position:relative; width:950px; border: 1px solid green">
<div id="bfa_left" style="positon:absolute; width:150px; left:0px; border: 1px solid red">
<div id ="thumbs_products" align="left">
<div id="products_headline">
<b>Produkte</b><br/>
</div>
<div id="products_main">
<a href="javascript:switch_image('path to pic');">
<img border="0" style="width:75px; height:75px" src="path to pic">
</a>
</div>
</div>
<div id ="thumbs_anwend" align="left">
<div id="anwend_headline">
<b>Anwendung</b><br/>
</div>
<div id="anwend_main">
<a href="javascript:switch_image('path to pic');">
<img border="0" style="width:75px; height:75px" src="path to pic">
</a>
<a href="javascript:switch_image('path to pic');">
<img border="0" style="width:75px; height:75px" src="path to pic">
</a>
<a href="javascript:switch_image('path to pic');">
<img border="0" style="width:75px; height:75px" src="path to pic">
</a>
</div>
</div>
<div id="hires">
<div id="zoomo_headline" align="left">
<b>Zoomo</b><br />
</div>
<div id="zoom_main">
<a href="javascript:show_zoomo_pano('Test');"><img border="0" src="path to gif"></a>
</div>
</div>
</div>
<div id="bfa_right" style="positon:absolute; top:-250px;left:150px;">
<div id="big_pic" style="height:500px; width:500px">
<img src="path to pic">
</div>
</div>
</div>
<!-- // Bilderbox -->
</body>
Lesezeichen