X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Problem inserting Javascript slideshow (https://forum.x-cart.com/showthread.php?t=39622)

itsmeee 05-07-2008 12:09 PM

Problem inserting Javascript slideshow
 
I want a slideshow on the front page of my site which contains a few category images with links to them. At first I thought this was going to be really easy. I tried and tried and couldn't get one running myself so I turned to a simple jquery slideshow. Still no good, so I figure I'll try a really really simple one like this http://www.rob-watson.co.uk/?page=38# Still nothing, no errors, just nothing happens.

I've tried having the javascript included in the <head> of the home.tpl via this
Code:

<script type="text/javascript" src="{$SkinDir}/slideshow.js"></script>

I've tried putting the code directly into home.tpl a few ways including this

Code:

<script language="JavaScript">
{literal}
<!--
//code
//-->
{/literal}
</script>


I've tried putting the <div> that calls it in home.tpl and also via the webmaster mode into the actual sql bit. Nothing works and this is driving me crazy! What am I doing wrong?

itsmeee 05-08-2008 09:11 AM

Re: Problem inserting Javascript slideshow
 
nm it was a problem with the javascript in this case. Now I need to go back through my old code and see what that stuffs problem was.


All times are GMT -8. The time now is 11:59 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.