Log In · Register

 
 
Closed TopicStart new topic
about custom modules.
pengu1n
post Jun 14 2004, 08:06 AM
Post #1


f o u r
****

Group: Member
Posts: 283
Joined: Jun 2004
Member No: 19,829



how do you adjust one custom modules size instead having to adjust all of them?
also...in the modules properties, where it says font, how do you make the title in a custom font?
 
Retrogressive
post Jun 14 2004, 08:36 AM
Post #2


Don't wake ghostie.
*******

Group: Official Member
Posts: 3,546
Joined: Jan 2004
Member No: 2,405



when i used:

<!-- begin code provided by createblog.com -->
<script>
if (location.pathname.match ("/home.aspx"))
{

titleContent = 'Module Text here';
moduleContent = '';
defStatus = 'TEXT HERE';

sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode
current = "";

if (typeof istatus != 'undefined'){
if (istatus.length > 1)
{
current = istatus [0].innerHTML
}
else
{
current = istatus.innerHTML
}}
else{current = defStatus}
}
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 + " " + current)
sub.insertAdjacentHTML ('beforeBegin', '<BR>');
</script>

<!-- end code provided by createblog.com -->


it made the custom module the same size, color, font as the rest of mine...?
 

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