on all the pages that I want the navigation bar to appear.
In the ItemName.js File I am using:
document.write("Insert Html code here");
This all works fine for me when I have a html code to insert in there as i just replace the "" in the html codes with '' and then it works.
However, Now i want to put javascript contents into the Itemname.js File as i want to add a google adsense onto it. However google adsense code is given in javascript and not html.
This is where I am confused and dont know what to do.
Is there a way that i can use the same method to include the google javascript in my ItemName.js file?
I want to do this because then i wont need to go through 100+ webpages and edit and update them all with the google adsense code.
Is that what you needed? Or is there some other problem?
Wanna install linux on a vacuum cleaner. Could anyone tell me which distro sucks better?
I had a nightmare last night. I was dreaming that I’m 64-bit and my blanket is 32-bit and I couldn’t cover myself with it, so I’ve spent the whole night freezing. And in the morning I find that my blanket just had fallen off the bed. =S(from: bash.org.ru)
//always looking for job opportunities in AU/NZ/US/CA/Europe :P
willCodeForFood(Arrays.asList("Java","PHP","C++","bash","Assembler","XML","XHTML","CSS","JS","PL/SQL")); USE [code] TAGS!Read this FAQ if you are new here. If this post was helpful, please rate it!
We don't delete threads when a question is answered. That would be ridiculous since we exist to help others. Why delete threads that might help.
However, there is the "Mark Thread Resolved" option under that "Thread Tools" menu. This helps to let others know that your original question has been answered.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Bookmarks