Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: java script not loading

    I believe that one the js should be in includes/templates/NAHID_ARTISTIC/js/

    Second - have you installed other associated files that would load this js as I assume that it is part of a module and if IH2 did you configure it in the admin?

  2. #2
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    Default Re: java script not loading

    I'll try moving it my override folder, but I just followed the install instructions. I've installed the associated IH2 files and it's working except that the hover does work because this js is not loadin.

  3. #3
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    Default Re: java script not loading

    I moved the file to the override jscript folder and the hover works.

    Shouldn't jscript files in the template_default/jscript run as well?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: java script not loading

    I moved the file to the override jscript folder and the hover works.

    Shouldn't jscript files in the template_default/jscript run as well?
    There are some quirks???

  5. #5
    Join Date
    Jun 2009
    Location
    Brisbane, QLD AUS
    Posts
    210
    Plugin Contributions
    0

    Default Re: java script not loading

    sorry, wasn't sure where to post but my problem is sort of similar...

    i initially had some problems with loading js files, and eventually gave up and just loaded them manually through includes/templates/MYTEMPLATE/common/html_header.php

    i then found out about stylesheets loading automatically if there was a particular aming convention used, and wondered if this was the case with js files?

    exactly how do i get them to load automatically, or is this not possible?

    cheers
    andy

  6. #6
    Join Date
    Jul 2009
    Location
    CA of USA
    Posts
    24
    Plugin Contributions
    0

    Default Re: java script not loading

    @ ALiepinieks: May be you need to read some code from 'html_header.php' file which lie in your current template.

    For more, read the definition of get_template_part and get_template_dir these two crucial functions.

  7. #7
    Join Date
    Jun 2009
    Location
    Brisbane, QLD AUS
    Posts
    210
    Plugin Contributions
    0

    Default Re: java script not loading

    nice work : )

    i saw the function calls, but never read the comments... now i feel a little silly.

    thanks
    andy

 

 

Similar Threads

  1. Java script restrict loading in specific page only
    By time111 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 28 Jun 2010, 08:53 AM
  2. Java Script problem..
    By fatum112 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 May 2006, 06:21 AM

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