Log In · Register

 
can i put images in extra custom modules?
lilbaybipinay19
post Jan 16 2005, 12:33 AM
Post #1


Newbie
*

Group: Member
Posts: 8
Joined: Jan 2005
Member No: 85,056



I know how to get an extra custom module with this code....



<!-- begin code provided by createblog.com -->
<script>
titleContent = 'Title Here';
moduleContent = 'Module Content';
sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode
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)
sub.insertAdjacentHTML('beforeBegin','<BR>');
</script>
<!-- end code provided by createblog.com -->



But is there a way that i can add pictures to it at all? or do i absolutely need to have a different code so i can have pictures in the custom module?


if anybody knows please helpp... biggrin.gif
 
 
Start new topic
Replies
CKae
post Jan 17 2005, 05:05 AM
Post #2


What r u looking at!?
***

Group: Member
Posts: 34
Joined: Jan 2005
Member No: 85,144



QUOTE(lilbaybipinay19 @ Jan 16 2005, 1:33 PM)
I know how to get an extra custom module with this code....
<!-- begin code provided by createblog.com -->
<script>
titleContent = 'Title Here';
moduleContent = 'Module Content';
sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode
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)
sub.insertAdjacentHTML('beforeBegin','<BR>');
</script>
<!-- end code provided by createblog.com -->
But is there a way that i can add pictures to it at all? or do i absolutely need to have a different code so i can have pictures in the custom module?
if anybody knows please helpp...  biggrin.gif
*


Actually you CAN insert image into the extra module using the above script!
And other HTML codes as well!
Just edit the "moduleContent" like this:



you just edit the urls to what you want!
 

Posts in this topic


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