Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default Loading javascript files - prototip

    Hi guys

    i am trying to display prototip2 on a link in header. i have followed the instruction form this website
    http://www.nickstakenburg.com/projects/prototip2/

    if i implement these incstruction in a html page prototip works fine with no errors but when i try to access it in php it gives errors.
    i have found these errors with firebug which are

    1-Object.extend is not a function

    2-Tip is not a constructor
    [Break on this error] new Tip('bag', 'this is a test tip');


    i would like to request any guru of zencart to implement prototip2 in zencart or atleat guide me in right direction.

    for loading the javascript file i followed these instructions

    http://www.zen-cart.com/wiki/index.p...s_-_Javascript

    i have followed the instructions and to check if the files were loaded correctly i added a small function which alerts if called. then i called this fucntion in tpl_header and index pages, this fucntion was successfully executed. so this means that files are loaded perfectly in the zencart. also to double check, i viewed the page source and both the script files where included in the head section of the page.

    now any one who want to get me out of misery plzzzz help me

    regards
    salman sadiq

  2. #2
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: Loading javascript files - prototip

    Hi guys thanks again for not posting any solution

    i have fond it anyway

 

 

Similar Threads

  1. Javascript not loading on Checkout pages
    By tcarden in forum General Questions
    Replies: 3
    Last Post: 25 Mar 2014, 06:43 PM
  2. Javascript Files
    By sketchhgal in forum General Questions
    Replies: 2
    Last Post: 22 Feb 2009, 09:03 PM
  3. Loading a javascript site-wide
    By ckosloff in forum General Questions
    Replies: 10
    Last Post: 12 Dec 2008, 06:56 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