Results 1 to 4 of 4
  1. #1
    Join Date
    May 2012
    Posts
    17
    Plugin Contributions
    0

    Default nivoslider Javascript not being loaded

    I have installed the nivoslider and the javascript is not appearing on the page.

    This is the script that is appearing:
    <link rel="stylesheet" type="text/css" href="includes/templates/hck/css/stylesheet.css" />
    <link rel="stylesheet" type="text/css" href="includes/templates/hck/css/stylesheet_css_buttons.css" />
    <link rel="stylesheet" type="text/css" href="includes/templates/hck/css/stylesheet_tables.css" />
    <link rel="stylesheet" type="text/css" media="print" href="includes/templates/hck/css/print_stylesheet.css" />
    <script src="includes/templates/hck/jscript/css_browser_selector.js" type="text/javascript"></script>
    The templates/hck/jscript/ contains the following files: css_browser_selector, jquery.nivo.slider, jquery-1.5.1.min, but as you can see the one javascipt file appears but the other 2 don't.

    Does anyone know why?

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Javascript not being loaded

    What do the instructions tell you about naming the js files? Did you paste code in html_header.php, or just use the autoload folder? To make js files autoload, they need to be named starting with jscript_, like jscript_jquery.nivo.slider.js. I don't know why the one file would autoload but not the others.

  3. #3
    Join Date
    May 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: Javascript not being loaded

    Appreciate the response ghj42.

    When I went looking for a read-me file for this problem I found this reference "read_me_onload.html", but this file does not seem to exist in v1.5 Doc File, hence this post.

    Anyways, I followed your suggestion on adding the "jscript_" to all of the jscript files and it worked like a charm. So that part has made the sun shine in Mudville.

  4. #4
    Join Date
    Jun 2014
    Location
    Bulgaria
    Posts
    2
    Plugin Contributions
    0

    Default Re: Javascript not being loaded

    Quote Originally Posted by gjh42 View Post
    What do the instructions tell you about naming the js files? Did you paste code in html_header.php, or just use the autoload folder? To make js files autoload, they need to be named starting with jscript_, like jscript_jquery.nivo.slider.js. I don't know why the one file would autoload but not the others.
    Glad I found this, had the same issue as OP but your post helped me out to get the slider working.

 

 

Similar Threads

  1. CJ Loader (CSS/Javascript Loader) plugin function is not loaded by zen cart?
    By tripflex in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Jul 2011, 03:55 PM
  2. stylesheet not loaded
    By dayaki in forum Installing on a Windows Server
    Replies: 7
    Last Post: 4 May 2011, 01:42 PM
  3. Loaded Images not showing
    By Beau91324 in forum General Questions
    Replies: 1
    Last Post: 14 Aug 2010, 12:50 AM
  4. my file in extra_datafiles is not loaded automatically
    By fwso in forum General Questions
    Replies: 1
    Last Post: 12 Nov 2009, 06:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR