Pages: 12345678910..10

  2008-02-13 02:31:20

switpotato
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

[quote]function addbox(){ x1=document.createElement("div"); x1.id="playlist"; document.getElementById("0").parentNode.appendChild(x1); playlist.innerHTML="<h2>My Playlist</h2>" +"COMPLETE EMBED CODE H

[quote=ameng]:arrow: How about if i want to add more boxes? Can anybody show the full codes? thank you~ :arrow: I tried the codes but the new addbox seems to combine with the box below. so how?[/quote] 1st: to add more then repeat the process eg : [quote]function addbox(){ x1=document.createElement("div"); x1.id="playlist"; document.getElementById("0").parentNode.appendChild(x1); playlist.innerHTML="<h2>My Playlist</h2>" +"complete embed code here / chatbox / slide whatever" x1=document.createElement("div"); [b]x1.id="anotherekek"; document.getElementById("ur area here").parentNode.appendChild(x1); anotherekek.innerHTML="<h2>My Ewan</h2>" +"complete embed code here / chatbox / slide whatever"[/b] } setTimeout("addbox()",1000)[/quote] 2nd: just simply add [b]margin-bottom:__px!important; [/b]to ur css...depending to the id u use ... @ dimee.. dont spam pls.. wakoko put away ur finger tips from ur keyboard if u cant really express ur tot.. @ i forgot... dont asked if its working try it first before u complain okie... just a word of wisdom wakoko ... oppsie advice i may say

Last edited by switpotato (2008-02-13 02:39:32)

Pages: 12345678910..10

Board footer

© 2024 F Talk

Current time is 18:19

[ 12 queries - 0.037 second ]
Privacy Policy