• ARCHIVES 
  • » [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

Pages: 12345678910..10

[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

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]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" } setTimeout("addbox()",1000)[/quote] just remember to change the double quote[b] [color=#ff0000]" [/color][/b] to single[color=#ff0000][b] '[/b][/color] eg: if the width= [color=#ff0000]"[/color]500[color=#ff0000]"[/color] change it to width= [color=#ff0000]'[/color]500[color=#ff0000]'[/color] if u want to [b][color=#ff0000]reposition [/color][/b] it just change the [b][color=#001dff]getelementById ("0")[/color][/b] to any number that correspond the box u want it to appear if u want to [b][color=#ff0000]apply css [/color][/b] use the id u use for ur addbox in the code presented it uses playist as the id thus the css will be like this: [quote][b][color=#004eff]#playlist [/color][/b] {[color=#ff4400]margin-bottom: 40px[/color]! important; border etc etc} [b][color=#004eff]#playlist h2 [/color][/b] { [color=#ff4400]text-align:center[/color]! important; font etc etc! important}[/quote] if u wish [color=#ff4400][b]to add more box [/b][/color] just repeat the process [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 / SLIDE WHATEVER" [color=#ff4400]x2=document.createElement("div"); x2.id="anotherekek"; document.getElementById("0").parentNode.appendChild(x2); anotherekek.innerHTML="<h2>My Ewan</h2>" +"COMPLETE EMBED CODE HERE / SLIDE WHATEVER"[/color] } setTimeout("addbox()",1000)[/quote] for [color=#ff4400]ie user u may remove [/color] the function and setTimeout eg: [quote]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"[/quote] code provided by: [b]~ ArchAngell ~[/b] ---- Just to inform you guys, Maybe some of you are confused that this trick might need a onload handler or an addbox function or whatsoever. This trick doesn't need all of those ([i]onload handler or some addbox function[/i]). Just follow the given instructions on the 1st page. You just need to have a JS extention, ofcourse for your JS scripts file. so there. Good Luck. :)

Last edited by portuniecho (2009-01-06 19:28:00)

regiehiozn
» FTalkFreak
FTalk Level: zero
1819
0
1969-12-31

Re: [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

oh.. ur good with short scripts.. hehe:D
cklahrckiey
» FTalkFreak
FTalk Level: zero
1891
0
1969-12-31

Re: [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

is this compatible to al browsers? =|
switpotato
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: [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

yep.... thats why i indicate for ie u may remove this...
Lordheinz
» FTalkElite
FTalk Level: zero
4377
0
1969-12-31

Re: [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

another wonderful script swit..thank you so much for sharing... =)
sahabat.peterpan
» FTalkWhiz
FTalk Level: zero
2815
0
1969-12-31

Re: [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

Thanks for share.. =) :thumbsup:
bles_212000
» FTalkWhiz
FTalk Level: zero
2863
0
1969-12-31

Re: [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

wahaha! so many short script! love it.. :wow: thanks for it swit! :thumbsup:

Last edited by bles_212000 (2008-02-07 20:30:15)

dale
» FTalkAgent
FTalk Level: zero
2122
0
1969-12-31

Re: [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

thanks swit.. :kiss:
dreamcaster
» n00b
FTalk Level: zero
83
0
1969-12-31

Re: [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

wow!!great :eh: :thumbsup: asking... [quote]#playlist {style here! important; etc etc} #playlist h2 { style here! important; etc etc}[/quote] paste it in css??? [quote]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"[/quote] and this for j.s??? :redface:
dale
» FTalkAgent
FTalk Level: zero
2122
0
1969-12-31

Re: [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

css ext. <">js ext. <">
bobcbar
» FTalkElite
FTalk Level: zero
5223
0
1969-12-31

Re: [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

Thanks again for sharing even more short and simple codes :rose: =)
dreamcaster
» n00b
FTalk Level: zero
83
0
1969-12-31

Re: [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

thanks dale!! =) :thumbsup: and also 4 swit....

Last edited by dreamcaster (2008-02-08 23:35:08)

ameng
» n00b
FTalk Level: zero
11
0
1969-12-31

Re: [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

I tried this amazing codes, but how do i add the border to my new box?
switpotato
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: [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]if u want to apply css use the id u use for ur addbox in the code presented it uses [b]playist[/b] as the id thus the css will be like this: #playlist {style here! important; etc etc} #playlist h2 { style here! important; etc etc}[/quote]
flint_hydz
» FTalkGeek
FTalk Level: zero
1257
0
1969-12-31

Re: [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

like this? <">:question:
switpotato
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: [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=flint_hydz]like this? <">:question:[/quote] [quote]#playlist {border: 2px solid #000000[b]! important[/b];}[/quote]
adsbeh
» FTalker
FTalk Level: zero
132
0
1969-12-31

Re: [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

is this working?
ameng
» n00b
FTalk Level: zero
11
0
1969-12-31

Re: [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

: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?

Last edited by ameng (2008-02-13 00:42:14)

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

Re: [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)

Nooby_myke
» FTalker
FTalk Level: zero
121
0
1969-12-31

Re: [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

nice short codes you hav there! :D thanks for sharing wid us =)
  • ARCHIVES 
  • » [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

Pages: 12345678910..10

Board footer

© 2024 F Talk

Current time is 00:02

[ 10 queries - 0.038 second ]
Privacy Policy