Log In · Register

 
custom modules
sammy6440
post Dec 8 2004, 09:01 PM
Post #1


Senior Member
*****

Group: Member
Posts: 310
Joined: May 2004
Member No: 16,028



is it possible to have all the modules take out but
keep a custom module?

i have this code for the custom modules...
QUOTE
<!-- begin code provided by createblog.com -->

<div id="customLeft" style="display:none">
<!-- module:start -->
<table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1">
<tr><th class="left" vAlign="top" align="left">
Other Stuff
</th></tr>

<tr><td class="left" vAlign="top">
CONTENT HERE
<br/>
</td></tr>
</table>
<br/>
<!-- module:end -->
</div>
<script>
var sbpc = document.getElementById('customLeft');
var myForm = document.getElementById('__aspnetForm');
var leftSide = sbpc.cloneNode(true);
leftSide.style.display = "block";
if(!document.all){
range = document.createRange();
range.selectNode(myForm);
range.insertNode(leftSide);}
else{myForm.insertAdjacentElement('beforebegin', leftSide);}
</script>
<!-- Left Side Modules : Paul Chen -->

<!-- end code provided by createblog.com -->
 
 
Start new topic
Replies (1 - 3)
cu_tie_pie
post Dec 8 2004, 09:11 PM
Post #2


my moods are unpredictable
****

Group: Member
Posts: 148
Joined: Jun 2004
Member No: 20,201



don't use that code if you wanna get rid of the left modules...

use this code:
CODE
<!-- begin code provided by createblog.com -->
<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none}
table.blogbody tr td {width:0px; padding: 0px;}

/* edit to your liking */
table.module { border: 1px solid #000000; width:160px; background-color:f2f2f2; }
table.module th { background-color: #336699;font: bold 11px arial; text-transform: uppercase;color: #FFFFFF; border: none; }
table.module td {color: #000000; text-align: left; border: none; background-image: none; }
</style>

<!-- add this below all the CSS -->

<table border=0 width="660"><tr><td valign="top" width="160">
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>About Me</b></th></tr><tr><td valign="top" class="module">
<center><img src="http://p.xanga.com/USERNAME/profile.jpg"></center><p>

<b>name:</b> uhhhh..<br>
<b>gender:</b> errr<br>
<b>hobbies:</b> blah blah<br>

</td></tr></table><br>

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Subscriptions</b></th></tr><tr><td valign="top" class="module">

<!-- Add your subscriptions here -->

<a href="http://www.xanga.com/SOMEONE">someone</a><br>
<a href="http://www.xanga.com/SOMEONE2">someone 2</a>

</td></tr></table><br>

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Bloggies</b></th></tr><tr><td valign="top" class="module">

<!-- Add your blogrings here -->

<a href="http://www.xanga.com/blogrings/blogring.asp?id=200537">Xangans.com</a>

</td></tr></table><br>


<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>CUSTOM MODULE</b></th></tr><tr><td valign="top" class="module">

La la la =]

</td></tr></table><br>



</td><td width="500" valign="top" align="left">
<!-- end code provided by createblog.com -->


and if you only want the custom module and not the other added modules that use this code:

CODE
<!-- begin code provided by createblog.com -->
<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none}
table.blogbody tr td {width:0px; padding: 0px;}

/* edit to your liking */
table.module { border: 1px solid #000000; width:160px; background-color:f2f2f2; }
table.module th { background-color: #336699;font: bold 11px arial; text-transform: uppercase;color: #FFFFFF; border: none; }
table.module td {color: #000000; text-align: left; border: none; background-image: none; }
</style>

<!-- add this below all the CSS -->

<table border=0 width="660"><tr><td valign="top" width="160">

<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>CUSTOM MODULE</b></th></tr><tr><td valign="top" class="module">

La la la =]

</td></tr></table><br>



</td><td width="500" valign="top" align="left">
<!-- end code provided by createblog.com -->
 
sammy6440
post Dec 8 2004, 09:14 PM
Post #3


Senior Member
*****

Group: Member
Posts: 310
Joined: May 2004
Member No: 16,028



^ i know about that code but i cant do fullscreen becuase i have a div thingy around my entries...

is there something else i could use that could go into my div without ending up in my webstat area...that i could also completly customize ?
 
cu_tie_pie
post Dec 8 2004, 09:16 PM
Post #4


my moods are unpredictable
****

Group: Member
Posts: 148
Joined: Jun 2004
Member No: 20,201



well try putting this code before the code that you first gave and see if you can customize it that way...:

CODE
<!-- begin code provided by createblog.com -->
<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none}</style>
<!-- end code provided by createblog.com -->
 

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