multiple javascript on same page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bigjimmy
    New Member
    • Mar 2007
    • 1

    multiple javascript on same page

    I'm currently testing http://fsviewr.lackadaisical.com/ on my blogger.
    I use the script in my post and put the js file location (<script type="text/javascript" src="fjs.js"></script>) in my template's <head> so that when I post, the script would work automatically.
    Now my problem is that when I have multiple posts using the same .js file, only the newest post on top works.
    Does anyone have a solution to this? besides putting multiple .js in the header? (this is won't work for me, because I use almost 1 script per post, which mean I'll have n number of .js files per posts)

    help appreciated

    thank you
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    It'd be difficult to say without code (the app has been removed), but check the source in your browser to see the difference. If there's no difference, you'd have to see how the JavaScript file/function is supposed to be used multiple times in one page.

    Comment

    Working...