Help - Search - Members - Calendar
Full Version: custom module...
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
lovexmelody
i use a code for a custom module but i'm wondering how to put images...i made an attempt on putting an image....but then the module wouldn't show....can anyone help me put images ^^

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 -->
mona lisa
CODE
<!-- begin code provided by createblog.com -->
<script>
titleContent = 'Pictures';
moduleContent = [B]'<img src="http://urltotheimage>'[/B];
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 -->


i think you would do something like that.
MrElsewhere
HTML doesnt work in that box. You need the other custom module script
lovexmelody
thnx for the help^^
sherryvu
QUOTE(lovexmelody @ Dec 20 2004, 3:05 PM)
thnx for the help^^

[ topic closed ]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.