what do you mean?..pls help me i dont get it, im new here..tnx.. 
like this?
function addbox(){
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("14").parentNode.appendChild(x1);
playlist.innerHTML="<h2>MY MUSIC</h2>"
+"<embed src='http://media.imeem.com/pl/XykxiZRJ0v/' type='application/x-shockwave-flash' width='300' height='290' wmode='transparent'></embed></object>"
x1=document.createElement("div");
x1.id="cbox";
document.getElementById("14").parentNode.appendChild(x1);
cbox.innerHTML="<h2>CHAT ME HERE</h2>"
+"src='http://www4.cbox.ws/box/?boxid=3379717&boxtag=5849&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 1px solid;' id='cboxmain'></iframe><br/>"
}
setTimeout("addbox()",1000)
wait, only my playlist is working..i dont know how to get the embed of my cbox..
Last edited by sexy_martina (2008-02-16 15:47:41)
-Offline- |
they both have this >>> x1
you should change the other var to x2 or another var...
and btw, i don't think inline frame chatboxes would work because all frames in your profile will be targeted by Google ads
look at your profile's source code and you will see in the head part that there is a code which disables iframes...
Last edited by !? (2008-02-16 19:08:40)
-Offline- |

thanks for sharin.!

i got it.. its working..Thanks
another question?
how can i put my playlist in the center of the box?
change the value of:
getElementById("0").
// PLAYLIST LOUDFUSION
function addbox(){
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>Playlist</h2>"
+"<embed src='http://www.loudfusion.com/widgets/music/5' name='Loudfusion.com' quality='high' wmode='transparent' flashvars='USERID=343809' width='250' height='100' type='application/x-shockwave-flash'></embed>"
}
setTimeout("addbox()",1000)

-Offline- |

use the css id...
#playlist{text-align:center!important}

the code works in my profile and included the css part about 'center-align' thingy but i wanted the same header as the other boxes, just like the add box generator does, it carries the same background color as the original box header. would that be possible?
-Offline- |

alhakeem wrote:
the code works in my profile and included the css part about 'center-align' thingy but i wanted the same header as the other boxes, just like the add box generator does, it carries the same background color as the original box header. would that be possible?
yep i already included the css for header at first page .. read it again luk for h2....
heres the sample too.. look at my playlist...
http://profiles.friendster.com/61099256

i already inserted both codes in my css, but the blue bar that was suppose to carry the title header in it is transparent, as oppose to the other boxes, making it different from the others or the 'odd box out'.
this is what i placed in my js and it works....
function addbox(){
x1=document.createElement("div");
x1.id="friendpic";
document.getElementById("1").parentNode.appendChild(x1);
friendpic.innerHTML="<h2>niwde's friends in friendster</h2>"
+"<div style='visibility:visible'><embed src='http://flash.picturetrail.com/pflicks/3/spflick.swf' quality='high' FlashVars='ql=2&src1=http://pic60.picturetrail.com/VOL1744/10267010/flicks/1/4071664&src2=http://widgetize.picturetrail.com/flicks/4071664' wmode='transparent' bgcolor='#000000' width='500' height='300' name='puzzle' align='middle' allowScriptAccess='sameDomain' style='height:300px;width:500px' type='application/x-shockwave-flash'></embed><p style='whitespace:no-wrap;margin-top:10px;height:24px'><a href='http://www.picturetrail.com/misc/counter.fcgi?link=%2FphotoFlick%2Fsamples%2Fpflicks.shtml&cID=924'><img align='left' src='http://pics.picturetrail.com/res/pflicks/pt.gif' border='0'></a><a href='http://www.picturetrail.com/misc/counter.fcgi?link=%2FphotoFlick%2Fsamples%2Fpflicks.shtml&cID=925'><img align='left' style='margin-left:5px' src='http://pics.picturetrail.com/res/pflicks/pt2.gif' border='0'></a></p></div>"
}
setTimeout("addbox()",1000)
i also inserted this in my css.....
#friendpic {margin-bottom: 40px! important; border etc etc}
#friendpic h2 { text-align:left! important; font etc etc! important}
my profile is non-overlayed, am using FF. Sori for being pesky.
switpotato wrote:
alhakeem wrote:
the code works in my profile and included the css part about 'center-align' thingy but i wanted the same header as the other boxes, just like the add box generator does, it carries the same background color as the original box header. would that be possible?
yep i already included the css for header at first page .. read it again luk for h2....
heres the sample too.. look at my playlist...
http://profiles.friendster.com/61099256
-Offline- |

first no prob... u r not pesky .... u r just merely asking how..
anyways... have u injected ur image or style to ur h2...
eg;
#friendpic {margin-bottom: 40px! important; border etc etc}
#friendpic h2 { text-align:left! important;color: #000000! important; background-color:#ur color here! important; background-image: url( url of image here)! important; background-attachment: scroll; }
btw did u include the etc etc i put there.. those wer juz sample ..u dont have to include those..
i just included those with a purpose to emphasize u may add some more properties there....

i did include that one, silly me. that's what i get for being ignorant. that did the trick, tnx, swit!
switpotato wrote:
first no prob... u r not pesky .... u r just merely asking how..
anyways... have u injected ur image or style to ur h2...
eg;
#friendpic {margin-bottom: 40px! important; border etc etc}
#friendpic h2 { text-align:left! important;color: #000000! important; background-color:#ur color here! important; background-image: url( url of image here)! important; background-attachment: scroll; }
btw did u include the etc etc i put there.. those wer juz sample ..u dont have to include those..
i just included those with a purpose to emphasize u may add some more properties there....
-Offline- |

for eg. this is my slide code
<div><embed src="http://widget-72.slide.com/widgets/slideticker.swf" type="application/x-shockwave-flash" quality="high" scale="noscale" salign="l" wmode="transparent" flashvars="cy=ld&il=1&channel=360287970190567282&site=widget-72.slide.com" style="width:426px;height:320px" name="flashticker" align="middle"/><div style="width:426px;text-align:left;"><a href="http://www.slide.com/pivot?cy=ld&at=un&id=360287970190567282&map=1" target="_blank"><img src="http://widget-72.slide.com/p1/360287970190567282/ld_t024_v000_s0un_f00/images/xslide1.gif" border="0" ismap="ismap" /></a> <a href="http://www.slide.com/pivot?cy=ld&at=un&id=360287970190567282&map=2" target="_blank"><img src="http://widget-72.slide.com/p2/360287970190567282/ld_t024_v000_s0un_f00/images/xslide2.gif" border="0" ismap="ismap" /></a></div></div>
how can i add it? and can i just compile this jscode to my compilation....tnx!
-Offline- |

sis... wat u r asking are same with other ...
just read the post here... u got same query....
and the answer is the same.. convert the double quote to single...
muahhhsss 


tnx! i got it but i cant move it at the side bar heres my code
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("2").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My Playlist</h2>"
+"<div><embed src='http://widget-72.slide.com/widgets/slideticker.swf' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' flashvars='cy=ld&il=1&channel=360287970190567282&site=widget-72.slide.com' style='width:426px;height:320px' name='flashticker' align='middle'/><div style='width:426px;text-align:left;'><a href='http://www.slide.com/pivot?cy=ld&at=un&id=360287970190567282&map=1' target='_blank'><img src='http://widget-72.slide.com/p1/360287970190567282/ld_t024_v000_s0un_f00/images/xslide1.gif' border='0' ismap='ismap' /></a> <a href='http://www.slide.com/pivot?cy=ld&at=un&id=360287970190567282&map=2' target='_blank'><img src='http://widget-72.slide.com/p2/360287970190567282/ld_t024_v000_s0un_f00/images/xslide2.gif' border='0' ismap='ismap' /></a></div></div>"
-Offline- |

like wat i said ... to reposition it change this part
document.getElementById("2").
be sure the value u will set there do exist thou..
or u didnt hide it... or else nothing will happns
Last edited by switpotato (2008-03-24 11:36:23)


it really appears perfectly in the main bar wherever i put it there, either before the control panel or before the photo etc...but it wont appear at the side bar whatever no. i put and removed all my hide codes, it wont appear..if u dont mind can u give an eg. of a working code for the side bar so that i could check whats different with mine...thanks for ur tym always....
Last edited by alotta_warmhart (2008-03-24 13:26:48)
-Offline- |

http://profiles.friendster.com/dem0nix
refresh the page
im using loader for ie... so better view this using ie...
my codes for my ryt add box
function addbox(){
x3=document.createElement("div");
x3.id="playlist3";
document.getElementById("2").parentNode.appendChild(x3);
playlist3.innerHTML="<h2>Tigidong</h2>"
+"<br><object width='300' height='50'><param name='movie' value='http://media.imeem.com/v/ZHzplekEQa/aus=false/pv=2'></param><param name='allowFullScreen' value='true'></param><embed src='http://media.imeem.com/v/ZHzplekEQa/aus=false/pv=2' type='application/x-shockwave-flash' width='300' height='300' allowFullScreen='true'></embed></object>"
x3=document.createElement("div");
}
setTimeout("addbox()",1000);im wondering why ur code started wit <div><embed src= but ended with </div></div>
Last edited by switpotato (2008-03-24 13:53:10)


where does it have to end? when i try this at mainbar it really works, any place it worked but at the sidebar it wont.....
this is my code
function addbox(){
x1=document.createElement("div");
x1.id="friendpic";
document.getElementById("2").parentNode.appendChild(x1);
friendpic.innerHTML="<h2>My SLide</h2>"
+"<div><embed src='http://widget-72.slide.com/widgets/slideticker.swf' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' flashvars='cy=ld&il=1&channel=360287970190567282&site=widget-72.slide.com' style='width:250px;height:250px' name='flashticker' align='middle'/> </div>"
}
selfTimeout("addbox()",1000);this is my testpage http://profiles.friendster.com/44432191
i removed all my hide codes at the sidebar part and it wont appear, I'm sad i cant figure it out....help sis!
Last edited by alotta_warmhart (2008-03-24 14:02:06)
-Offline- |

may i suggest juz use the add box gen


am using IE but your eg. page wont open so i cant see it, anyway really thanks for ur help...maybe i can figure this out anytym soon...
-Offline- |

okie okie... heres ur code...
http://www.geocities.com/potato.tidbits…widget.txt
Last edited by switpotato (2008-03-24 15:04:42)
