Nants Profile gallery adsense

13 years 3 months ago #12732 by kuato
Hi, is there a way to put adsense in the javascript popup of the items ? :dry: , i was trying but i dont know javascript :whistle:

OpEn YoUr MiNd
13 years 3 months ago #12840 by kuato
Looking at the php code in the file cb.profilegallery.php i note that the html of the popup window is generated using this kind of code ...
[code:1]$htmltext2 .= "newWindow.document.writeln(\"<div align='center' >\"«»);\n";[/code:1]
Then i beleave that calling an external javascript in that lines could be the sollution.
[code:1](\"<script src=' mysite.com/adsense.js '>
</script>\"«»);\n";[/code:1]
But it doesnt works, maybe because i dont know a s**** of javascript :whistle:
Anybody with any idea about it ?, if it just cant be done please tell me :dry:
Thanks in advance.
Moderators: beatnantkrileon
Time to create page: 0.375 seconds
Facebook Twitter Google LinkedIn