|
-
Is this code ok?
I am trying to display Adsense ads conditionally, is there anything wrong with the syntax of this code?
<script type="text/javascript">
if (asppg_showGoogleAds)
{
document.write("<sc"+"ript type='text/javascript' src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></scr"+"ipt>");
}
</script>
Thanks
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks