
-Offline- |
where should i paste this codes???
-Offline- |

gomz311 wrote:
still nothing happens ms. swit
i cant help u now gomz.. try to figure it out kk...
nhatz wrote:
where should i paste this codes???
add the codes to the rest of ur js..

ei thre can u pls help me
dehins k maintindihan ung script cncya na
here's the copy of the code pls correct nmn ung mali
function addbox(){
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>Seek and Destroy</h2>"
+"<object width="250" height="300"><param name="movie" value="http://www.youtube.com/v/sUoWZ_zcPpE&hl=en&color1=0x5d1719&color2=0xcd311b"></param><embed src="http://www.youtube.com/v/sUoWZ_zcPpE&hl=en&color1=0x5d1719&color2=0xcd311b" type="application/x-shockwave-flash" width="425" height="344"></embed></object>"
}
setTimeout("addbox()",1000)
-Offline- |

just change the double quote to single quote
ex. "500" change it to '500'
-Offline- |
Sorry 4 asking.i want to know what code should i put in css ?
My clock js work but no add box below my friends..sorry i dont understand,i try css 1st page code but ist not working.
no addbox at my clock.
this my js clock code.
//Addbox
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("2").parentNode.appendChild(x1);
playlist.innerHTML="<center><b>Rina Clock</b>"
+"<br><br><embed src='http://www.clocklink.com/clocks/0012-red.swf?TimeZone=GMT0800&' width='150' height='150' wmode='transparent' type='application/x-shockwave-flash'></center></embed><br>"i just want to know css code.thanks 4 helping.
@edit-sorry its ok i got it.i read the 1 st page.my code was wrong.. .thanks 4 sharing the code.
Last edited by Wacko (2008-07-02 09:04:40)
-Offline- |

Wacko wrote:
@edit-sorry its ok i got it.i read the 1 st page.my code was wrong.. .thanks 4 sharing the code.
While ur editing please correct the link on the UserCP to show the correct url for ur profile or leave it blank, do not use the link you have now. 
how if i want to place it between "review" and "more about me"???
or how to make it stand itself like Apps, Slide Show, or application???
thx 4 d answer

-Offline- |

wat if i want to put my add box at the top of my control panel what id i should use? coz if am usin '0' it'll display below that controlpanel. so can't find a way to make it on the top of my cp anybody can help?
-Offline- |

ahahaha Sugoi desu Ne! ^^V

-Offline- |

weehh...
this is not a add box script.....
just a comment!....
lets call it content changer 'short' script...ayt miss switpotaty?...
coz its just change the content...of the box....
anyway tnx...!!!..
btw ....this is not new ayt?..
i like the one that ephe post somewer in this section too!..
the one that.................... you can change the boxcontent without removing the original content...
just use the div id inside the box...
brb!!
-Offline- |

@hael try to use the Box Positioning Short Script by switpotato...
function rePost(){
document.getElementById("ID OF UR ADDBOX").parentNode.appendChild(document.getElementById("0"));
}
setTimeout("rePost()",1000);
put the ID of ur Addbox on the red color part...
Last edited by bobskie (2008-07-23 18:07:39)
-Offline- |

intellisense wrote:
weehh...
this is not a add box script.....
just a comment!....
lets call it content changer 'short' script...ayt miss switpotaty?...
coz its just change the content...of the box....
anyway tnx...!!!..
btw ....this is not new ayt?..
i like the one that ephe post somewer in this section too!..
the one that.................... you can change the boxcontent without removing the original content...
just use the div id inside the box...
brb!!
heller... do u really know wat u talking about...
its an addbox... since u make a new div out of nowhere..
want a change content then visit this link..
http://friendstertalk.com/t20552-Compil…dules.html
next tym read and analyze...dont juz babble ...
funny ur sn suits u an intell without a gent and a sense without a common lol
juz kidding .. nha.... lollers. 
Last edited by switpotato (2008-07-24 04:09:08)

is it worked with javascript only??????

-Offline- |

odloc wrote:
is it worked with javascript only??????
Yes these are js code, just learn how to use them. You can do a search for css codes using the search feature at the top of the page and choose to search tricks and tutorials thread.

FINALLY! OMFG i've been searching for this for days now. hahaha when i saw the "add box" in the subejct i screamed a small scream! 
THANK YOU VERY MUCH!
for this, +repu for you!! thank you very much!!
-Offline- |

nice one..
tnx for share..

-Offline- |
ate swit, hey there. i've been reading this codes and i can fully understand it. one thing i have question in your codes is that why my bottom border duplicates infinitely (same as post#104). I've found out the reason for this. It is with your moveBox script. I've tried to remove your moveBox script in my JS and your addBox works fine but i need your moveBox script in my JS.
How will I combine this 2 scripts???
I've tried insertin your moveBox script in addBox function and vice versa, still the bottom margin/border duplicates. A co-scripter needs your help now heheh 
..edit
I've also tried Ephemeral AddBox script stil having the same problem but having the bottom border duplicates the whole box duplicate lol..help me out ate..
Last edited by ainhee22 (2008-09-12 15:52:12)
-Offline- |

switpotato wrote:
gomzzz try to change this part...
from this
Code:
x2.id="MY VIDEO"; document.getElementById("0").parentNode.appendChild(x2); MY VIDEO.innerHTML="<h2>MY VIDEO</h2>" +"<center><object width='425' height='344'><param name='movie' value='http://www.youtube.com/v/KGzdwoSEX2k&hl=en'></param><embed src='http://www.youtube.com/v/KGzdwoSEX2k&hl=en' type='application/x-shockwave-flash' width='425' height='344'></embed></object></center>" } setTimeout("gomzaddbox()",1000)to this
Code:
x2.id="MYVIDEO"; document.getElementById("0").parentNode.appendChild(x2); MYVIDEO.innerHTML="<h2>MY VIDEO</h2>" +"<object width='425' height='344'><param name='movie' value='http://www.youtube.com/v/KGzdwoSEX2k&hl=en'></param><embed src='http://www.youtube.com/v/KGzdwoSEX2k&hl=en' type='application/x-shockwave-flash' width='425' height='344'></embed></object>" } setTimeout("gomzaddbox()",1000);i remove the center tag... just centered ur content... using css...
#MYVIDEO h2 {text-align: center! important}
#MYVIDEO {text-align: center! important}
I scrambled the codes switpotato edited above and I use almost the same. Try using this one on your JS and follow the CSS provided by her:
x2.id="MYVIDEO";
document.getElementById("0").parentNode.appendChild(x2);
MYVIDEO.innerHTML="<h2>MY VIDEO</h2>"
+"<object width='425' height='344'><embed src='http://www.youtube.com/v/KGzdwoSEX2k&hl=en' type='application/x-shockwave-flash' width='425' height='344'></embed></object>"
}
setTimeout("gomzaddbox()",1000);Just remove that annoying param tag. 
Last edited by lalalalalalala (2008-10-18 07:17:27)
-Offline- |