• ARCHIVES 
  • » :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

Pages: 1

:arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

blurrycloud
» FTalkAgent
FTalk Level: zero
2177
0
1969-12-31

:arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

:arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img254/3357/58609633cm4.jpg[/img] Full Code: [quote]if (!addEvent(function() { onPageLoad();})) { window.onload = function() { onPageLoad();};} function onPageLoad() { //existing codes here var dk="<div id=\"object\"></div>"; addBox("top","<font size=2px>Object Switcher: <A HREF=\"javascript:normal()\">0</A> | <A HREF=\"javascript:one()\">1</A> | <A HREF=\"javascript:two()\">2</A> | <A HREF=\"javascript:three()\">3</A> | <A HREF=\"javascript:four()\">4</A></font>",dk,"DK"); normal(); } //ADDBOX FOR MULTIPLY function addBox (type,head,htm,id,sibling) { //by blurrycloud multiply version 2008-3000 //credits to marfillaster friendster version //type "top" | "bottoml" | "bottomr" | "siderail" //head header string //htm innerHTML string //id css_id string /* Available default Siblings Coming Soon */ try { var br=document.createElement("li"); } catch(e) { var br=document.createElement("<br>"); } if(type=="top") { var ul=document.getElementById("mainbox_1"); htm="<div class='itemboxsub'>"+htm+"</div>"; } else if(type=="bottomr") { var ul=document.getElementById("mainbox_4"); } else if(type=="siderail") { var ul=document.getElementById("rail"); } else var ul=document.getElementById("mainbox_3"); br.innerHTML="<br><div id='"+id+"' class='itemboxsub "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+htm+ "</div>"+ "</div>"; if(sibling==null) ul.appendChild(br); else { sibling=document.getElementById(sibling); ul.insertBefore(br,sibling); } } function normal() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\">[color=red]objects here,videos,mp3 or images deafult[/color]</div>"; } function one() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\">[color=red]objects here,videos,mp3 or images deafult[/color]</div>"; } function two() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\">[color=red]objects here,videos,mp3 or images deafult[/color]</div>"; } function three() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\">[color=red]objects here,videos,mp3 or images deafult[/color]</div>"; } function four() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\">[color=red]objects here,videos,mp3 or images deafult[/color]</div>"; }[/quote] replace those red parts in your own arrangement in each objects note: dont forget to add--> [b]\[/b] before each quotation of the object you want to put--> [b]\"[/b] or other way replace double quotation ([b]"[/b]) by single quote ([b]'[/b]) :arrow: for example in function normal we add a youtube video. [quote]function normal() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"left\">[b]<object width=\"95%\" height=\"370\"><param name=\"movie\" value=\"http://www.youtube.com/v/V-WVjl5n0JU&rel=1\"></param><embed src=\"http://www.youtube.com/v/V-WVjl5n0JU&rel=1\" type=\"application/x-shockwave-flash\" width=\"80%\"height=\"200\"></embed></object>[/b]</div>"; } function one() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\">[color=red]objects here,videos,mp3 or images deafult[/color]</div>"; } function two() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\">[color=red]objects here,videos,mp3 or images deafult[/color]</div>"; } function three() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\">[color=red]objects here,videos,mp3 or images deafult[/color]</div>"; } function four() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\">[color=red]objects here,videos,mp3 or images deafult[/color]</div>"; }[/quote] then after picking up the function put this code below the onloadhandler [b](inside)[/b] code-----> normal(); [quote]function onProfileLoad() { //existing codes here [b]normal();[/b] }[/quote] Complete Example: [quote]function onProfileLoad() { //existing codes here var dk="<div id=\"object\"></div>"; addBox("top","<font size=2px>Object Switcher: <A HREF=\"javascript:normal()\">0</A> | <A HREF=\"javascript:one()\">1</A> | <A HREF=\"javascript:two()\">2</A> | <A HREF=\"javascript:three()\">3</A> | <A HREF=\"javascript:four()\">4</A></font>",dk,"DK"); [b]normal();[/b] }[/quote] That's it your done... Goodluck [quote][b]FAQ[/b] Q: Can I change the position of the box? A: Yes Ofcourse: If you read how to apply the addbox function that i posted on the other thread.... you can change the position of your box Available positions if your boxes is in default mode.... :arrow: top :arrow: bottoml :arrow: bottomr :arrow: siderail Just look for the bod part here :arrow: addBox("[b]top[/b]","Object Switcher.........[/quote]

Last edited by blurrycloud (2008-05-17 02:03:29)

waway
» n00b
FTalk Level: zero
17
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

cool...but can it be use in friendster too?
blurrycloud
» FTalkAgent
FTalk Level: zero
2177
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

this tweak is originally made for friendster profile
Ephemeral
» FTalkElite
FTalk Level: zero
4669
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

[b]+1[/b] for you bro hehe nice research there! =)
blurrycloud
» FTalkAgent
FTalk Level: zero
2177
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

^ thanks bro.. more tweaks to come... hehe =) :thumbsup:
karuro72002
» FTalkWhiz
FTalk Level: zero
3325
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

nice thanks for sharing! :D
cremonti
» Banned
FTalk Level: zero
1250
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

thx for share bro . :thumbsup:
Lyas-rowkz
» FTalkElite
FTalk Level: zero
4246
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

thx for share...cool :thumbsup:
kangkong10
» FTalkManiac
FTalk Level: zero
617
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

wow! nice tricks! i'll try dis one later! cheers dude!
pulasara
» FTalkAddict
FTalk Level: zero
574
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

cool :cool:
valjesnet
» FTalker
FTalk Level: zero
154
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

here are my existing codes: //YOUTUBE var youtube7="<embed src='http://www.youtube.com/v/3X4CwGGJQMI&hl=1' type='application/x-shockwave-flash' width='90%' height='100'></embed>"; addBox("top","Holy is The Lord-Chris Tomlin",youtube7,"ul_youtube_content"); i dunno where will i put my other u tube codes below: <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/2YzhWLImPUE&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/2YzhWLImPUE&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object> <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/1frAsGmQHE8&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/1frAsGmQHE8&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object> is this correct? function one() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\"> [b]<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/1frAsGmQHE8&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/1frAsGmQHE8&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>[/b]</div>"; }

Last edited by valjesnet (2008-05-02 19:45:33)

blurrycloud
» FTalkAgent
FTalk Level: zero
2177
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

[quote]<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/1frAsGmQHE8&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/1frAsGmQHE8&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>[/quote] i told you before to change the double quotes into single quote right? so this will be the code refer below :/ [quote]function one() { ht = document.getElementById("object"); ht.innerHTML="<div align=\"center\"><object width='425' height='355'><param name='movie' value='http://www.youtube.com/v/1frAsGmQHE8&hl=en'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/1frAsGmQHE8&hl=en' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object></div>"; }[/quote]

Last edited by blurrycloud (2008-05-02 20:52:12)

Trixx.xii
» FTalkElite
FTalk Level: zero
3524
0
1969-12-31

Re: :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

[b] thanks for sharin. it will help me a lot. :D [/b]
  • ARCHIVES 
  • » :arrow: All the Credits to [b]Cip192[/b] :thumbsup: =) I will just interpret this tweak in Multiply Application Using the Addbox Function... Image Preview... [img]http://img254.imageshack.us/img

Pages: 1

Board footer

© 2024 F Talk

Current time is 16:52

[ 10 queries - 0.030 second ]
Privacy Policy