Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Where to add some javascript code?

    your script seems to need prototype frame work. did you add that to your site as well ??

    Internet Explorer Could Not Load The Page, is a result of bug in IE , due to when javascript manipulate DOM before page load . there is way around this you can look for it by googling
    Last edited by tony_sar; 22 Feb 2009 at 03:20 PM.

  2. #2
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Re: Where to add some javascript code?

    Thanks for the quick reply Tony - much appreciated! I would love this to work as it works just great on the shop home page but breaks the site on any other pages so it is turned off at the moment.

    Quote Originally Posted by tony_sar View Post
    can you provide link to your site ?

    did you name your javascript correctly ? it should be like this

    jscript_namehere.js

    if missing jscript_ at the beginning , zc wont load the script.
    I called it jscript_bannerfade.js

    Quote Originally Posted by tony_sar View Post
    your script seems to need prototype frame work. did you add that to your site as well ??
    erm... whats "prototype frame work" and how do I install it? lol!

  3. #3
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Where to add some javascript code?

    the reason i said prototype frame work , because i see function calls to prototype with in your code ..
    im not sure if needed but you can look at the original site that made that script and see if there is a mention of prototype .

    there are several javascript frame works out there prototype is being one , new javascript goodies use those frame work to do nice things

    here is the link to prototype framework ..

    http://www.prototypejs.org/

  4. #4
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Re: Where to add some javascript code?

    Quote Originally Posted by tony_sar View Post
    the reason i said prototype frame work , because i see function calls to prototype with in your code ..
    im not sure if needed but you can look at the original site that made that script and see if there is a mention of prototype .

    there are several javascript frame works out there prototype is being one , new javascript goodies use those frame work to do nice things

    here is the link to prototype framework ..

    http://www.prototypejs.org/
    You have a PM! :)

  5. #5
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Re: Where to add some javascript code?

    Just realised something!!! It only breaks in IE7 - It doesn't break in Firefox - it works just fine! Trouble is, I need it to work in IE as well !!!

 

 

Similar Threads

  1. Where can I hook in some code to run after an order is made?
    By Louise-Paisley in forum General Questions
    Replies: 9
    Last Post: 26 Jul 2012, 01:48 PM
  2. Adding some javascript code
    By sjohnstone in forum General Questions
    Replies: 3
    Last Post: 26 Mar 2009, 04:36 AM
  3. Where can I put some Google Analytics code?
    By Solarpitch in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Dec 2008, 03:09 PM
  4. Where to insert Comodo Trust Javascript and image code?
    By leeasteadman in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 27 Jul 2007, 05:09 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