farrahdiva
11-25-2011, 07:13 AM
Hello! I'm trying to use The Ultimate Fade-In Slideshow on Shopify.com, and I've hit a wall. Unfortunately, Shopify uses its own proprietary code called "Liquid", so I've been trying to shoehorn the header Script Tags into this code and it doesn't appear to be working. I'm wondering if it's because I don't know how to insert a comment inside a Script Tag in liquid (such as the mandatory notice for legal use). Would its placement be an issue? Here's the code that I think is the problem:
[CODE]
<head>
<title>{{ shop.name | escape }} — {% if template == "404" %}Page Not Found{% else %}{{ page_title | escape }}{% endif %}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="copyright" content="{{ shop.name | escape }}" />
{{ content_for_header }}
{{ "reset.css" | asset_url | stylesheet_tag }}
{{ "screen.css" | asset_url | stylesheet_tag }}
{{ "theme.css" | asset_url | stylesheet_tag }}
<!--[if lte IE 6]>{{ "ie6.css" | asset_url | stylesheet_tag }}<![endif]-->
<!--[if IE 7]>{{ "ie7.css" | asset_url | stylesheet_tag }}<![endif]-->
{{ "option_selection.js" | shopify_asset_url | script_tag }}
{{ "jquery-1-3-1.js" | asset_url | script_tag }}
{{ "jquery-ui-1-7-1.js" | asset_url | script_tag }}{% if template == "product" or settings.homepage_is_product_page %}
{{ "jquery-slimbox-2-02.js" | asset_url | script_tag }}{% endif %}
{{ "jquery-theme-1-0.js" | asset_url | script_tag }}{% if template contains 'customers' %}
{{ "shopify_common.js" | shopify_asset_url | script_tag }}
{{ "customer_area.js" | shopify_asset_url | script_tag }}{% endif %}
{{ "jquery.min.js" | shopify_asset_url | script_tag }}
{{ "fadeslideshow.js" | shopify_asset_url |script_tag }}
<script type="text/javascript">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library
(www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({ [ICODE]...
(I copied the jquery.min.js file to my assets folder just in case that was the problem. Didn't seem to help. )
I'm guessing you'll probably need the actual website address--if you do, I will happily email it to you (this is for a client, and the site isn't published yet).
Anyway, if anyone can offer some advice, please do!
Thanks in advance!
[CODE]
<head>
<title>{{ shop.name | escape }} — {% if template == "404" %}Page Not Found{% else %}{{ page_title | escape }}{% endif %}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="copyright" content="{{ shop.name | escape }}" />
{{ content_for_header }}
{{ "reset.css" | asset_url | stylesheet_tag }}
{{ "screen.css" | asset_url | stylesheet_tag }}
{{ "theme.css" | asset_url | stylesheet_tag }}
<!--[if lte IE 6]>{{ "ie6.css" | asset_url | stylesheet_tag }}<![endif]-->
<!--[if IE 7]>{{ "ie7.css" | asset_url | stylesheet_tag }}<![endif]-->
{{ "option_selection.js" | shopify_asset_url | script_tag }}
{{ "jquery-1-3-1.js" | asset_url | script_tag }}
{{ "jquery-ui-1-7-1.js" | asset_url | script_tag }}{% if template == "product" or settings.homepage_is_product_page %}
{{ "jquery-slimbox-2-02.js" | asset_url | script_tag }}{% endif %}
{{ "jquery-theme-1-0.js" | asset_url | script_tag }}{% if template contains 'customers' %}
{{ "shopify_common.js" | shopify_asset_url | script_tag }}
{{ "customer_area.js" | shopify_asset_url | script_tag }}{% endif %}
{{ "jquery.min.js" | shopify_asset_url | script_tag }}
{{ "fadeslideshow.js" | shopify_asset_url |script_tag }}
<script type="text/javascript">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library
(www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({ [ICODE]...
(I copied the jquery.min.js file to my assets folder just in case that was the problem. Didn't seem to help. )
I'm guessing you'll probably need the actual website address--if you do, I will happily email it to you (this is for a client, and the site isn't published yet).
Anyway, if anyone can offer some advice, please do!
Thanks in advance!