/    Sign up×
Community /Pin to ProfileBookmark

Java script help query

Hello,

I am trying to add a java script into one block of webpage. In my website builder the script is added using an insert tab. insert–>script–> copy and paste the sript.

But no ads comes up after that.
The script itself which is generated automaticaly when giving my website details is

<!– Begin DynamicOxygen.com Code –>
<script type=”text/javascript”>
try{
var el743016=document.createElement(“script”);
el743016.type=”text/javascript”;
el743016.src=”http://pub.DynamicOxygen.com/script/script.jsp?val=7430&amp;type=Cursor“;
var el2743016=document.getElementsByTagName(“body”)[0];
el2743016.insertBefore(el743016, el2743016.firstChild);
}catch (e743016){}
</script>
<!– Copyright by DynamicOxygen.com –>

Also the company says “•Ad Code must be inserted within the “<body> </body>” section of the html”

BUt i dont see a body section when i change to the html view of the page. Here is the HTML view of one of the blocks.

Really appreciate any help.

Thanks

HTML view of a block where i am trying to add the java script.

<br />
<br />
<img alt=”” class=”script” src=”http://img1.wsimg.com/wst/old/ftb/images/utility/ss_kvk9LoefFL4BS-2F3rS95PzZG3w_gn3bS2z4ywE.gif” uid=”e9a654eb-47ec-4d89-be47-e513158cfdd9″ /><br />
<br />
<img alt=”” class=”script” src=”http://img1.wsimg.com/wst/old/ftb/images/utility/ss_kvk9LoefFL4BS-2F3rS95PzZG3w_gn3bS2z4ywE.gif” uid=”896ae519-a6fb-4965-869c-c60db04ae63b” /><br />
<br />
<br />

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @rajnair7 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...