custom module, one w/ html |
![]() ![]() |
custom module, one w/ html |
Nov 12 2004, 08:08 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 4 Joined: Oct 2004 Member No: 58,090 |
Can anyone get me a code for a custom module that you can put HTML into? I think all of the ones in the scripts section are for text only, and I don't want to redo all of my modules, I just want to add one beneath them.
Thanks in Advance |
|
|
|
Nov 12 2004, 08:12 PM
Post
#2
|
|
![]() The voices talk too much... -.-u ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,099 Joined: Aug 2004 Member No: 39,078 |
Um... You can put HTML into that single module script.....
It just has to be adjacent to whatever text you're putting in. As in..... (__________ code __________) As opposed to (_________code_____) (_______code_______) You get it? |
|
|
|
Nov 12 2004, 08:45 PM
Post
#3
|
|
|
#1 CreateBlog Membiez n Fan ![]() ![]() ![]() ![]() Group: Member Posts: 182 Joined: Oct 2004 Member No: 56,247 |
This code was made for having a mood secion in ur module but ofcourse..u can change the words around.
where it says INSERT TITLE HERE and where it says to insert..put watever u like. For ex. on my xanga i put linkz n fansites take a look n leave a commen my xanga : HERE QUOTE <!-- begin code provided by createblog.com --> <script> // Programmed By Paul Chen aka Coyote // Head scripter at blogring if (location.pathname.match ("/home.aspx")) { titleContent = 'INSERT TITLE HERE'; moduleContent = 'INSERT WATEVER YOU WANT IN HERE'; defStatus = 'INSERT WATEVER YOU WANT HERE 2'; 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 --> I hope it works! enjoy!!!!!! -jessie |
|
|
|
Nov 12 2004, 09:01 PM
Post
#4
|
|
![]() High Voltage!∞ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 4,728 Joined: Jul 2004 Member No: 29,157 |
^ er.. that code doesn't work, i tried it, but it could be something i did
|
|
|
|
Nov 12 2004, 09:02 PM
Post
#5
|
|
|
#1 CreateBlog Membiez n Fan ![]() ![]() ![]() ![]() Group: Member Posts: 182 Joined: Oct 2004 Member No: 56,247 |
very weird..but if u go to my xanga..it works...so..i think u might have to go n edit somethin
|
|
|
|
Nov 12 2004, 09:11 PM
Post
#6
|
|
![]() High Voltage!∞ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 4,728 Joined: Jul 2004 Member No: 29,157 |
yeah...hm..i'll play around with the code =]...i'm sure it'll work lol
|
|
|
|
Nov 12 2004, 09:12 PM
Post
#7
|
|
|
#1 CreateBlog Membiez n Fan ![]() ![]() ![]() ![]() Group: Member Posts: 182 Joined: Oct 2004 Member No: 56,247 |
glad to hear! if u need ne more! just comment on mine xanga!
|
|
|
|
![]() ![]() |