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)
-   -   Shadowbox Options On Static Pages (https://forum.x-cart.com/showthread.php?t=61528)

websitesthatwork 11-08-2011 12:35 PM

Shadowbox Options On Static Pages
 
I've got shadowbox installed on my static pages. An example here...
http://shell22.tdl.com/~cochise/Events.html


Uploaded shadowbox 3 folder to the root directory and then added this code to skin/common_files/customer/service_head.tpl

<link rel="stylesheet" type="text/css" href="./shadowbox/shadowbox.css">
<script type="text/javascript" src="./shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init();
</script>

But try as I might, I have not been able to add/edit options in any way, shape or manner. Anybody know the solution? Thanks in advance.

XCart4Life 11-12-2011 10:06 PM

Re: Shadowbox Options On Static Pages
 
There's a difference between:
shadowbox/shadowbox.css
/shadowbox/shadowbox.css
./shadowbox/shadowbox.css

Try removing the periods before the first slash in the path:

Code:

<link rel="stylesheet" type="text/css" href="/shadowbox/shadowbox.css">
<script type="text/javascript" src="/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init();
</script>



All times are GMT -8. The time now is 03:14 AM.

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