ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Javascript problem - Template

June 15, 2011 12:22pm

Subscribe [2]
  • #1 / Jun 15, 2011 12:22pm

    virtualtutor

    1 posts

    Hello,

    I ve been using expression engine for quite some time now. Although I have a quick issue
    this is the first time I am using EE2 (being using 1.xx).

    I just created a template group called “javascripts” and add the javascript files as I will normally do. but when I render the template:

    http://www.virtualtutor.ca/index.php/main/interior

    I see the HTML/CSS correct but there is no javascript working. Although I can see that the templates are embedded (cufon not working, menu not working - with js I mean).

    Is there a particular reason for this?

    Thanks for your time!!

    this is how my embeded header looks:


    [removed][removed]
    [removed][removed]
    [removed][removed]
    [removed][removed]
    [removed][removed]


    [removed]

      Cufon.replace(’.red_titles,.din-text,.title_red_no_background,.jqueryslidemenu’);

    [removed]

    [removed]

          $(document).ready(function() {
    $.mask.masks = $.extend($.mask.masks,{
    phone:{ mask : '(999) 999-9999' },
                  price:{ mask : '99.999,999,999,999', type : 'reverse', defaultValue: '000' }
              });
              $(‘input:text’).setMask();
          });
    [removed]

  • #2 / Jun 15, 2011 12:27pm

    virtualtutor

    1 posts

    nevermind I find out why, my bad! Thanks anyways!

  • #3 / Jun 16, 2011 6:50am

    John Henry Donovan

    12339 posts

    Glad you figured it out. Feel free to start anew thread if you have any more questions

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases