Erstmal danke für die Antwort. Aktuell hab ich die aus dem Modul mit drin, hatte es aber vorher auch mit den bereits vorhandenen Bibliotheken versucht.
<?php/* -----------------------------------------------------------------------------------------
$Id: general.js.php 1262 2005-09-30 10:00:32Z mz $
XT-Commerce - community made shopping
http://www.(( Wir dulden keine kommerziellen Werbelinks - Bitte Forenregeln beachten! ))
Copyright (c) 2003 XT-Commerce
-----------------------------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------------------------*/ // this javascriptfile get includes at the BOTTOM of every template page in shop // you can add your template specific js scripts here?><script src="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/jquery.js" type="text/javascript"></script>
<script src="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/thickbox.js" type="text/javascript"></script>
<script src="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/jquery-ui.js" type="text/javascript"></script>
<script src="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/jquery-searchbox.js" type="text/javascript"></script>
<!-- Imageslider (c)2008 by Hetfield - www.MerZ-IT-SerVice.de - Begin -->
<script src="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/jquery.innerfade.js" type="text/javascript"></script>
<script src="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/imageslider.js" type="text/javascript"></script>
<!-- Imageslider (c)2008 by Hetfield - www.MerZ-IT-SerVice.de - End -->
<!-- Products-Treadmill (c)2008 by Hetfield - www.MerZ-IT-SerVice.de - Begin -->
<link rel="stylesheet" href="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/treadmill.css" type="text/css" media="screen" />
<script src="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/jquery.easing.1.3.js" type="text/javascript"></script>
<script src="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/jcarousellite_1.0.1.pack.js" type="text/javascript"></script>
<script src="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/products_treadmill.js" type="text/javascript"></script>
<?php if (SHOW_PRODUCTS_TREADMILL_POSITION
== 'box') { require(DIR_WS_MODULES
. FILENAME_PRODUCTS_TREADMILL
); } ?> <!-- Products-Treadmill (c)2008 by Hetfield - www.MerZ-IT-SerVice.de - End -->
<?phpif (strstr($PHP_SELF, FILENAME_DEFAULT
)) {?><script src="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/jquery.nivo.slider.js" type="text/javascript"></script>
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider({
effect: 'random', // Specify sets like: 'fold,fade,sliceDown'
slices: 15, // For slice animations
boxCols: 8, // For box animations
boxRows: 4, // For box animations
animSpeed: 500, // Slide transition speed
pauseTime: 3000, // How long each slide will show
startSlide: 0, // Set starting Slide (0 index)
directionNav: true, // Next & Prev navigation
controlNav: true, // 1,2,3... navigation
controlNavThumbs: false, // Use thumbnails for Control Nav
pauseOnHover: true, // Stop animation while hovering
manualAdvance: false, // Force manual transitions
prevText: 'Zurück', // Prev directionNav text
nextText: 'Weiter', // Next directionNav text
randomStart: false, // Start on a random slide
beforeChange: function(){}, // Triggers before a slide transition
afterChange: function(){}, // Triggers after a slide transition
slideshowEnd: function(){}, // Triggers after all slides have been shown
lastSlide: function(){}, // Triggers when last slide is shown
afterLoad: function(){} // Triggers when slider has loaded
});
});
</script>
<?php}?><?php // BOF - web28 - 2010-07-09 - TABS/ACCORDION in product_info ?><?phpif (strstr($PHP_SELF, FILENAME_PRODUCT_INFO
)) {?><!--<script src="
<?php #echo 'templates/'.CURRENT_TEMPLATE; ?>/javascript/jquery-ui.js" type="text/javascript"></script>-->
<script type="text/javascript">
/* <![CDATA[ */
//Laden einer CSS Datei mit jquery
$.get("
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>"+"/css/javascript.css", function(css) {
$("head").append("<style type='text/css'>"+css+"<\/style>");
});
$(function() {
$("#tabbed_product_info").tabs();
$("#accordion_product_info").accordion({ autoHeight: false });
});
/*]]>*/
</script>
<?php}?><?php // EOF - web28 - 2010-07-09 - TABS/ACCORDION in product_info ?> <?php/* -----------------------------------------------------------------------------------------
$Id: general.js.php 1262 2005-09-30 10:00:32Z mz $
XT-Commerce - community made shopping
http://www.(( Wir dulden keine kommerziellen Werbelinks - Bitte Forenregeln beachten! ))
Copyright (c) 2003 XT-Commerce
-----------------------------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------------------------*/ // Put CSS-Definitions here, these CSS-files will be loaded at the TOP of every page?><link rel="stylesheet" href="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/stylesheet.css" type="text/css" />
<link rel="stylesheet" href="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/css/thickbox.css" type="text/css" media="screen" />
<link rel="stylesheet" href="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/javascript/treadmill.css" type="text/css" media="screen" />
<?phpif (strstr($PHP_SELF, FILENAME_DEFAULT
)) {?><link rel="stylesheet" href="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/css/nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" href="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/css/nivo-slider/default/default.css" type="text/css" media="screen" />
<?php}?><?php// BOF - web28 - 2010-07-09 - TABS/ACCORDION in product_info ?><?php//if (strstr($PHP_SELF, FILENAME_PRODUCT_INFO )) {?><link rel="stylesheet" href="
<?php echo 'templates/'.CURRENT_TEMPLATE
; ?>/css/jquery-ui.css" type="text/css" media="screen" />
<?php//}?><?php// EOF - web28 - 2010-07-09 - TABS/ACCORDION in product_info ?>