Log In · Register

 
custom left module
[Zero]
post Jul 21 2006, 09:53 PM
Post #1


Member
**

Group: Member
Posts: 14
Joined: Jun 2004
Member No: 21,251



i got the scripts for the custom left module from this site and nomadder what i try nothing seems to work. there is always some like left over code such as an extra > or soemthing on my page when i use it and if i take it away it doesnt show up. please help. one example of what doesn't show up is this code: http://www.createblog.com/scripts/download.php?id=157
 
 
Start new topic
Replies
[Zero]
post Jul 23 2006, 01:53 PM
Post #2


Member
**

Group: Member
Posts: 14
Joined: Jun 2004
Member No: 21,251



well i want to keep the original xanga modules, just add another custom one onto it. by the looks of your code, your telling me the delete all of them then add brand new ones right?
 
Layouts_by_leeuh
post Jul 23 2006, 07:22 PM
Post #3


Newbie
*

Group: Member
Posts: 3
Joined: Jul 2006
Member No: 442,666



If you want to keep the original module then do not add the first code. Just add the longer, second one. That one will also end up on the left. There is a custom right module one, where you keep the left module and also have a right one.




here is the custom mod. on the right just in case you wanted it. this one goes into website stats though.
CODE
<!-- Createblog --><td id="customRight" style="display:none" vAlign="top" width="200">

<!-- module:start -->
<table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1">
<tr><th class="left" vAlign="top" align="center">
<b>TITLE HERE</b>
</th></tr>
<tr><td class="left" vAlign="top">


MODULE INFO


</td></tr>
</table>
<br/>
<!-- module:end -->
<!-- module:start -->
<table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1">
<tr><th class="left" vAlign="top" align="center">
<b>TITLE HERE</b>
</th></tr>
<tr><td class="left" vAlign="top">

MOD. INFO


</td></tr>
</table>
<br/>
<!-- module:end -->
<!-- module:start -->
<table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1">
<tr><th class="left" vAlign="top" align="center">
<b>TITLE HERE</b>
</th></tr>
<tr><td class="left" vAlign="top">


MOD. INFO

</td></tr>
</table>
<br/>
<!-- module:end -->
</td>
<script>
extra=false;
j=document.getElementById('MoreoverModule1_lblModuleTitle')
if(j){extra=true}
index=0;
var mytds = document.getElementsByTagName('td');
var i = 0;
for(i=0;i<mytds.length-1;i++){
if(mytds[i].width=="200"){
  index++;
  if(index==(extra ? 2 : 1)){break;}}
}
var sidebar = (extra ? mytds[i]: mytds[i].parentNode)
var tsibpc = document.getElementById('customRight');
var rightSide = tsibpc.cloneNode(true);
rightSide.style.display = "block";
sidebar.appendChild(rightSide);
</script>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: