Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default my Javascript functions are not working. Please help.

    I know its not my computer.
    I have a few mods that are not working properly and I know they are using
    javascript funtions. (Advanced Attributes Controller on the admin side, The Product Listing Tabs Mod on the catalog side)

    Its as if there was a setting on the server that says Javascript = Off

    How would I go about troublewhooting this.

  2. #2
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Javascript functions are not working. Please help.

    I'm still learning the ins and outs of servers, but I think JavaScript is left up to the browsers.

    If your using Firefox, try 'DOM Inspector' plugin for deep probing of the DOM. Also 'FireBug' is grate for looking at scripting, CSS and more. Both can set breakpoints.

    Another problem could be how your scripts are loading and functioning agents each other. You can have more then one 'onload' event, but they have to done correctly. I would try removing your scripts back until one works, then start reloading them until you find the one conflicting.

    If I remember right, IE shows a icon in the lower left corner before it crashes. Without the plugins, Firefox just keeps on going, FireBug will show how many errors are on the page and at what line number.
    Dave
    Always forward thinking... Lost my mind!

  3. #3
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Javascript functions are not working. Please help.

    I am not sure which applications I used that have them.
    Although I will try to guess.

    Is there a command I can add to just re initialize the new mod?

  4. #4
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Javascript functions are not working. Please help.

    I hate looking through code, that's way firebug comes in handy for me. So far for the mods I've installed have scripts placed in the /templates/jscript/ folder and some times in the /modules/pages/.

    Is there a command I can add to just re initialize the new mod?
    I haven't came across one, but I'm still some what new here.

    When your viewing the page where the script should be running, try viewing the page source. The links for loading scripts is just above the body tag, if not then there in the page body somewhere.
    Dave
    Always forward thinking... Lost my mind!

  5. #5
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: my Javascript functions are not working. Please help.

    ok Ill try...

    www.allforyourwedding.com

    is the site... If you happen to see anything... Let me know....
    Ill be looking up and down now...

  6. #6
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: my Javascript functions are not working. Please help.

    Quote Originally Posted by milobloom View Post
    ok Ill try...

    www.allforyourwedding.com

    is the site... If you happen to see anything... Let me know....
    Ill be looking up and down now...
    Could be that you don't have the script(s) file uploaded or in the wrong place.
    Should be in
    Code:
    includes/templates/zencart_zen/jscript
    Your using Tablite mod so that script is the correct place.
    Code:
    includes/templates/zencart_zen/jscript/jscript_tablitev3.js
    Your using Image Handler but you don't have the script file uploaded so its not going to work.
    You should have
    Code:
    includes/templates/zencart_zen/jscript/jscript_imagehover.js
    M

  7. #7
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: my Javascript functions are not working. Please help.

    Ok.

    My problem I am trying to resolve then might not be Java Script.

    Your using Image Handler but you don't have the script file uploaded so its not going to work.
    You should have
    Code:

    includes/templates/zencart_zen/jscript/jscript_imagehover.js
    That worked perfectly! Now I have my Image Handler Working Thank You!


    What I am dying to get working is the Improved Attributes Controller
    http://www.zen-cart.com/index.php?ma...roducts_id=114

    The instructions said it uses Java Script to improve the functionality.
    Its a replacement of 1 file. However it does not work for me.
    It wont load in the Names or Values.

    I have seen it work once... I don't know what happened on my site. Starting from fresh is not an option since this site is heavily modified.

  8. #8
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: my Javascript functions are not working. Please help.

    Quote Originally Posted by milobloom View Post
    Ok.

    My problem I am trying to resolve then might not be Java Script.



    That worked perfectly! Now I have my Image Handler Working Thank You!


    What I am dying to get working is the Improved Attributes Controller
    http://www.zen-cart.com/index.php?ma...roducts_id=114

    The instructions said it uses Java Script to improve the functionality.
    Its a replacement of 1 file. However it does not work for me.
    It wont load in the Names or Values.

    I have seen it work once... I don't know what happened on my site. Starting from fresh is not an option since this site is heavily modified.
    Have you tried uploading the file again?

    M

  9. #9
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: my Javascript functions are not working. Please help.

    Yes I did,

    Still the same.

    For the life of me I cant figure this one out...

 

 

Similar Threads

  1. Certain email functions not working...
    By peanut77 in forum General Questions
    Replies: 4
    Last Post: 25 Nov 2011, 01:57 PM
  2. Replies: 4
    Last Post: 1 Oct 2010, 05:09 AM
  3. Please Please HELP! Cross Sell not working... Any ideas People?
    By jorsara in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Mar 2010, 12:08 AM
  4. Certain Admin Functions Not Working
    By garyclemens in forum General Questions
    Replies: 3
    Last Post: 24 Oct 2009, 04:19 PM
  5. Xmasy javascript working in IE7 but not firefox - help
    By sparkyidr in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Dec 2006, 10:11 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