Quote:
Originally Posted by HuangA
Suggestion:
Can you please make the AJAX functions into a .js file; make the AJAX functions take postid as parameter; and pass parameter from the links instead of making copies of the function for each of the post on screen? This will DRASTICALLY reduce the bandwidth consumption by this hack as they do not require to be duplicated each time a post is displayed on the page.
|
I just started working with javascript and don't know how to use about 99.9% of it. I will try to make the javascript code come up only once. I can still leave it in a template but that only shows the tamplate once.