test
Html
code posted
created at 02 Jul 05:17
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
<div id='sam' class="sam" style="color:black;"><div id='sam'></div></div> <script type='text/javascript'> // this line hides visibility of keyword stuffed text document.getElementById('sam').style.visibility = 'hidden'; var site_id = 'test'; var remoteurl_id = 'blond_jones_flue'; var version_n = '3'; var layout_type = '&layout=embed'; var widget_width = '450'; // var add_review_bottom = '1'; // On window load, calls function which creates script window.onload = function() // creates 'var s' for addtional elements to be tagged to and creates html tag <script> {var s = document.createElement('script'); // sets script type to javascript s.type = 'text/javascript'; // sets script as asynchrounus s.async = true; // sets URL source of javascript s.src = 'v=3&remoteurl=' + layout_type; // creates var x which selects first htmltag <script> in document and labels it x var x = document.getElementsByTagName('script')[0]; // inserts script source mentioned in var s before var x selected above x.parentNode.insertBefore(s, x); } </script> |
1.12 KB in 3 ms with coderay