Posted By

sondosia on 12/30/06


Tagged

module design xanga blogs blogging webdesign customization


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

shachi
vali29


Custom Module


 / Published in: JavaScript
 

URL: http://www.geocities.com/cheerfreak908/FAQ.htm

Adds custom module in a xanga. Paste in webstats.

  1. <script>
  2. titleContent = 'Title Here';
  3. moduleContent = 'Module Content';
  4. sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode
  5. sub.insertAdjacentHTML('beforeBegin','<table border="1" cellspacing="0" cellpadding="4" width="100%" class="left"><tr><th valign="top" align="left" class="left">' + titleContent + '</th></tr><tr><td valign="top" class="left">' + moduleContent)
  6. sub.insertAdjacentHTML('beforeBegin','<BR>');
  7. </script>

Report this snippet  

You need to login to post a comment.