Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Shadowbox Options On Static Pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-08-2011, 12:35 PM
 
websitesthatwork websitesthatwork is offline
 

Member
  
Join Date: Oct 2011
Posts: 11
 

Default 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.
__________________
Xcart Version 4.44
Site under development: http://shell22.tdl.com/~cochise/home.php
Reply With Quote
  #2  
Old 11-12-2011, 10:06 PM
  XCart4Life's Avatar 
XCart4Life XCart4Life is offline
 

Advanced Member
  
Join Date: Feb 2010
Posts: 62
 

Default 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>
__________________
X-Cart Pro v4.2.2 [Win]
X-Cart Pro v4.2.3 [Win]
X-Cart Pro v4.4.4 [Win]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:20 AM.

   

 
X-Cart forums © 2001-2020