Jump to content
xt:Commerce Community Forum

2 Scripte in header.php | nur eins funktioniert


tomjons

Recommended Posts

Hallo,

bin am verzweifeln. Habe lt. Anweisungen Itratos-Slideshow und JQzoom installiert. Beide funktionieren für sich einwandfrei.

Binde ich jedoch beide gleichzeitig in die header.php ein, so geht nur die Slideshow und nicht die Zoomfunktion in Artikeldetails.

Ich meine evtl. einen Fehler in der header.php zu haben:

<meta name="generator" content="(c) by <?php echo PROJECT_VERSION; ?> , http://www.xt-commerce.com" />

<?php include(DIR_WS_MODULES.FILENAME_METATAGS); ?>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" />

<link rel="stylesheet" type="text/css" href="<?php echo 'templates/'.CURRENT_TEMPLATE.'/stylesheet.css'; ?>" />

<script type="text/javascript"><!--
if(navigator.appVersion.indexOf("MSIE 7")>-1)
document.write('<link rel="stylesheet" type="text/css" href="<?php echo 'templates/'.CURRENT_TEMPLATE.'/stylesheet-ie.css'; ?>"/>')
//--></script>

<?php
$varuri = strrchr($_SERVER['REQUEST_URI'],'/');
if(((substr($varuri,0,10) != "/index.php") or strchr($varuri,'cat=') == true) and ($varuri != "/")) {?>
<link rel="stylesheet" href="includes/slideshow/css/js_slide_small.css" type="text/css" media="screen" />
<link rel="stylesheet" href="style/jqzoom.css" type="text/css" media="screen" />
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/jquery.jqzoom.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".jqzoom").jqueryzoom({
xzoom: 280, //zooming div default width(default width value is 200)
yzoom: 280, //zooming div default width(default height value is 200)
offset: 10, //zooming div default offset(default offset value is 10)
position: "right", //zooming div position(default position value is "right")
preload:1,
lens:1
});
});
</script>
<script src="includes/slideshow/js/prototype.lite.js" type="text/javascript"></script>
<script src="includes/slideshow/js/moo.fx.js" type="text/javascript"></script>
<script src="includes/slideshow/js/moo.fx.pack.js" type="text/javascript"></script>
<script src="includes/slideshow/js/moo.fx.utils.js" type="text/javascript"></script>
<script src="includes/slideshow/js/slideshow_small.js" type="text/javascript"></script>
<?php } else { ?>
<script src="includes/slideshow/js/prototype.lite.js" type="text/javascript"></script>
<script src="includes/slideshow/js/moo.fx.js" type="text/javascript"></script>
<script src="includes/slideshow/js/moo.fx.pack.js" type="text/javascript"></script>
<script src="includes/slideshow/js/moo.fx.utils.js" type="text/javascript"></script>
<script src="includes/slideshow/js/slideshow.js" type="text/javascript"></script>
<link rel="stylesheet" href="includes/slideshow/css/js_slide.css" type="text/css" />
<?php } ?>

<?php if (ADD_CART_ENABLED == 'true') include('includes/addCart.js.php'); ?>
[/HTML]

Hoffe jemand kann mir hier weiterhelfen.

http://shop.quebag.de

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...