Thread: js scroller

Results 1 to 4 of 4
  1. #1
    Join Date
    May 2010
    Posts
    125
    Plugin Contributions
    0

    Default js scroller

    losing hair trying to make this work

    Have to paste this into <head>
    <script type="text/javascript" src="js/stscode.js"></script>
    have done that in templates/mytemplate/common/html_header

    This into <body>
    <a href="http://www.dhtml-menu-builder.com" style="display:none;visibility:hidden;">Javascript DHTML Image Web Scroller Powered by dhtml-menu-builder.com</a>
    <script type="text/javascript" src="js/scroller.js"></script>

    bit lost on where to put that

    and then I have created a folder js in templates/my template and put the relevant files in that but nothing

    When I look at page with firebug I see a whole lot of yahoo blurb

    What exactly am i doing wrong all sounded so simple when i started stripeyfrog . com

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: js scroller

    I take it you've resolved this issue, as I see Featured and Best Sellers both scrolling?
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    May 2010
    Posts
    125
    Plugin Contributions
    0

    Default Re: js scroller

    Thanks so much for looking - I wish i was making some progress - the sidebox scroller is a zen cart addon and sliped in like silk. Now I am trying to add a "amazon type scroller" that would sit immediately below the welcome /login line

    The script is there and seems to call up but get a whole lot of "mistake blurb" from host yahoo. Have checked and checked but cannot see what i have done wrong - could I have a java conflict? I'm a bit of a noobie

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

    Default Re: js scroller

    Save the js file as /includes/templates/your_template/jscript/jscript_stscode.js. This will be automatically loaded and called in the <head> by html_header.php without touching that file.

    The other part would probably go in tpl_header.php in the sequence where you want it to display.

    <a href="http://www.dhtml-menu-builder.com" style="display:none;visibility:hidden;">Javascript DHTML Image Web Scroller Powered by dhtml-menu-builder.com</a>
    <script type="text/javascript" src="js/scroller.js"></script>

    I am not certain about this part; if js/scroller.js is supposed to be fetched from the dhtml site, maybe it will work as is... or if it is supposed to be fetched from a local copy, it should likewise be saved as /includes/templates/your_template/jscript/jscript_scroller.js, and filename references inside those files would be changed to reflect the revised filenames if necessary.
    I think a src="js/scroller.js" would look for the file in a /js/ folder in the root, which is not where js files should be.

 

 

Similar Threads

  1. Image Scroller
    By leilanddale in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 23 May 2010, 07:03 PM
  2. product scroller
    By dannyd in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 26 Jan 2010, 01:11 AM
  3. Specials Scroller
    By nebbuchadnezzar in forum Basic Configuration
    Replies: 1
    Last Post: 10 May 2007, 12:25 AM
  4. scroller customization
    By ado in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Dec 2006, 03:51 PM

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