friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

#721  2008-06-15 10:09:19

mheng01
» FriendsterNewbie
mheng01's display avatar
i Lab mOi seLf..ü
Location: q.c. phiLippines
Registered: 2007-12-24
Posts: 49
Last visit: 2008-09-02
Reputation: ~
Friendster

Re: Compiling javascripts in one file

what is the new js and css Linker? pLs heLp me.. tanx..pm me instead.


#722  2008-06-16 16:07:40

vhon_skyy
» FriendsterTalker
vhon_skyy's display avatar
-b-O-N-b-O-N-
Rockstars
Location: manila
Registered: 2008-01-02
Posts: 160
Last visit: Today
Reputation: 2
Friendster

Re: Compiling javascripts in one file

thanks for this..

helped me alot..

now i can make other scripts work



#723  2008-06-17 23:44:28

fairydelights
» FriendsterTalker
fairydelights's display avatar
Location: davao
Registered: 2008-06-14
Posts: 158
Last visit: 2008-09-01
Reputation: 4

Re: Compiling javascripts in one file

its so long and i had a had tym to understand it all at once..

but il subscribe to this topic and pactice it all.. by the way thanks for sharing these..

its good to learn new this that sure will help me...

tnx.. tc



#724  2008-06-19 13:02:55

felicity_tine13
» FriendsterNewbie
Registered: 2008-04-15
Posts: 4
Last visit: 2008-06-20
Reputation: ~

Re: Compiling javascripts in one file

..but where should i put the codes over my friendster profile??..
..is it on media box??..

#725  2008-06-19 13:20:26

bobcbar
» SuperFriendster
bobcbar's display avatar
Broke arm, hard typing
Location: Texas USA
Registered: 2007-04-08
Posts: 7891
Last visit: Today
Reputation: 182
Friendster

Re: Compiling javascripts in one file

felicity_tine13 wrote:

..but where should i put the codes over my friendster profile??..
..is it on media box??..

You should read the tutorials about how to apply the codes. Check the sticky topics of the tricks and tutorial thread.



Sorry but I only understand english

#726  2008-06-19 19:37:36

fical
» FriendsterAddict
fical's display avatar
_.FT_Addict._
Location: MMC
Registered: 2008-02-19
Posts: 375
Last visit: 2008-09-04
Reputation: 15

Re: Compiling javascripts in one file

tnx 4 the tutorials :thumbsup:
it helps me a lot :D

#727  2008-06-20 22:08:30

arvie90
» FriendsterNewbie
saVe moTher earth
Black-Pinkers-Clan
Location: Bayawan
Registered: 2008-05-16
Posts: 17
Last visit: Yesterday
Reputation: ~
Friendster

Re: Compiling javascripts in one file

:evil:i dint get it:drool:


mOther earth!!

#728  2008-06-21 02:29:19

chokimochi
» FriendsterNewbie
chokimochi's display avatar
[ka waa eh]
Location: mochi vill.
Registered: 2008-06-20
Posts: 64
Last visit: 2008-07-28
Reputation: 1
Friendster

Re: Compiling javascripts in one file

great idea&guide for newbies.


smile when the world smiles with you.

#729  2008-06-21 04:05:13

cute_maxene
» FriendsterTalker
cute_maxene's display avatar
``Rated™``~~
Alchemy Explicit AE
Location: Friendstertalk™
Registered: 2008-06-16
Posts: 191
Last visit: 2008-08-31
Reputation: 2
Friendster

Re: Compiling javascripts in one file

im gonna try this one..
hope it works




ALCHEMY EXPLICIT - we are strict

Join NOW!

#730  2008-06-22 12:11:13

babnoob
» FriendsterNewbie
Registered: 2008-04-23
Posts: 2
Last visit: 2008-06-23
Reputation: ~

Re: Compiling javascripts in one file

san ba ipace laha ng ito????????????????????? pm in my ym babnoob@yahoo.com tnx!!!

#731  2008-06-24 04:56:49

cholzkih
» FriendsterTalker
cholzkih's display avatar
>>demolition lovers<<
Class X
Location: C:\Document and ..
Registered: 2008-05-05
Posts: 110
Last visit: Today
Reputation: ~
Friendster

Re: Compiling javascripts in one file

wowhh!!<<
diz iz a good tuts!!!>>>
hehe,..
ill try diz!!!<<<=):thumbsup:




tnx to:
iixx_kimizuki_xxii 4 my ava
mikai14 4 my siggy
hehe,.

#732  2008-06-27 16:31:16

chan2raagas
» FriendsterTalker
chan2raagas's display avatar
Location: Davao City
Registered: 2007-08-12
Posts: 222
Last visit: 2008-08-24
Reputation: 17
Friendster

Re: Compiling javascripts in one file

long but very helpful :thumbsup:



#733  2008-06-30 03:59:10

cneyo
» FriendsterNewbie
Registered: 2007-09-28
Posts: 3
Last visit: 2008-07-11
Reputation: ~

Re: Compiling javascripts in one file

how can i input the JS codes to CSS codes?. bcoz i dunno how to use JS. please reply. thanks!

#734  2008-07-02 09:54:01

bohemianabie
» FriendsterNewbie
bohemianabie's display avatar
Location: INdoNeSia
Registered: 2008-05-23
Posts: 13
Last visit: 2008-07-22
Reputation: ~
Friendster

Re: Compiling javascripts in one file

can u help me, how yo make those codes work on ie too ... ?
thx before. HERE THE CODE :

//CSS injection

function injectcss() {
   if(window.cssinjected == undefined) {
      cssinjected = 1;
      var css = document.createElement("link");
      css.setAttribute("type","text/css");
      css.setAttribute("rel","stylesheet");
      css.setAttribute("href","http://h1.ripway.com/bohemianabie/mcr.css");
      css.setAttribute("media","screen, print");
      document.getElementsByTagName("head")[0].appendChild(css);
   }
}injectcss();


// js injection
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/bohemianabie/welcome.js";
document.getElementsByTagName("head")[0].appendChild(myjs);

var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/bohemianabie/Boxpositioning.js";
document.getElementsByTagName("head")[0].appendChild(myjs);


be bohemian - emo heart you (//_+) abiemortal

#735  2008-07-06 07:15:24

johnray_kilabot016
» FriendsterNewbie
Registered: 2007-09-23
Posts: 1
Last visit: 2008-09-05
Reputation: ~

Re: Compiling javascripts in one file

pede poh b magtanong??? ano poh b ung tracker.php:crybaby::cry:???:(

Last edited by johnray_kilabot016 (2008-07-06 07:15:52)

#736  2008-07-08 21:51:07

ilustra_comp
» FriendsterTalker
ilustra_comp's display avatar
Location: Indonesia
Registered: 2007-07-03
Posts: 161
Last visit: 2008-09-04
Reputation: 3
Friendster

Re: Compiling javascripts in one file

thank's for share
nice job :D


#737  2008-07-09 12:08:51

sasuke18
» FriendsterNewbie
sasuke18's display avatar
Location: negros occidental
Registered: 2008-05-21
Posts: 3
Last visit: Today
Reputation: ~
Friendster

Re: Compiling javascripts in one file

=)=)=)=)


ahhm....,,..


can u help me,,...


.,.,,where can i find all the add boxs generators,,....


,...plsssssssssssssssssss.,.,.,



.,,..,help me pls.,,ssssssssssssss.,.,..,.,.



:crybaby::crybaby::crybaby::crybaby::crybaby::crybaby:


,,.,.im a new be here..,,..,.,



.,.,.,thanks to all,.,..,.,.,.,.,;];];];];];]


#738  2008-07-09 12:59:58

bloodyprinzes
» FriendsterTalker
bloodyprinzes's display avatar
piGgy mEan soo mUch t0 mE
Location: tsKtsK..heLL..:?
Registered: 2008-02-28
Posts: 173
Last visit: Yesterday
Reputation: ~

Re: Compiling javascripts in one file

is there any just a basic tutorial for this?waahh.. :crybaby:


tsk2->
nEver sTop learNing no matTer how mUch u know..

#739  2008-07-09 16:14:07

sasuke18
» FriendsterNewbie
sasuke18's display avatar
Location: negros occidental
Registered: 2008-05-21
Posts: 3
Last visit: Today
Reputation: ~
Friendster

Re: Compiling javascripts in one file

Code:

//Other Codes Here
// css injection
var css = document.createElement("link");
css.setAttribute("rel","stylesheet");
css.setAttribute("http://123456jr.fileave.com/onepieceedited.css");
document.getElementsByTagName("head")[0].appendChild(css);

//onload handler
function onProfileLoad() {
//insert generated boxes here

//Music Playlist
var code="<embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://www.loudfusion.com/widgets/music/5\" name=\"Loudfusion.com\" quality=\"high\" wmode=\"transparent\" flashvars=\"USERID=396572\" width=\"450\" height=\"150\" type=\"application/x-shockwave-flash\"></embed>";
addBox("RIGHT","mY pLaYlisT",code,"div_992","15");

//video
var code="<object allowScriptAccess=\"never\" allownetworking=\"internal\" width=\"450\" height=\"344\"><param allowScriptAccess=\"never\" allownetworking=\"internal\" name=\"movie\" value=\"http://www.youtube.com/v/RZxPZGtZknc&hl=en&fs=1\"></param><param allowScriptAccess=\"never\" allownetworking=\"internal\" name=\"allowFullScreen\" value=\"true\"></param><embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://www.youtube.com/v/RZxPZGtZknc&hl=en&fs=1\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" width=\"450\" height=\"344\"></embed></object>";
addBox("RIGHT","mY vidEo",code,"div_992","14");

//Cbox
var code="<object width=\"250\" height=\"360\" id=\"obj_1215615209798\"><param name=\"movie\" value=\"http://.chatango.com/group\"/><param name=\"wmode\" value=\"transparent\"/><param name=\"AllowScriptAccess\" VALUE=\"always\"/><param name=\"AllowNetworking\" VALUE=\"all\"/><param name=\"AllowFullScreen\" VALUE=\"true\"/><param name=\"flashvars\" value=\"cid=1215615209798&b=60&c=16777215&f=50&l=999999&q=999999&r=100&s=1\"/><embed id=\"emb_1215615209798\" src=\"http://.chatango.com/group\" width=\"250\" height=\"360\" wmode=\"transparent\" allowScriptAccess=\"always\" allowNetworking=\"all\" type=\"application/x-shockwave-flash\" allowFullScreen=\"true\" flashvars=\"cid=1215615209798&b=60&c=16777215&f=50&l=999999&q=999999&r=100&s=1\"></embed></object><br>[ <a href=\"http://.chatango.com/clonegroup?ts=1215615209798\">Copy this</a> | <a href=\"http://chatango.com/creategroup?ts=1215615209798\">Start New</a> | <a href=\"http://.chatango.com\">Full Size</a> ]";
addBox("RIGHT","mY cHatbOx",code,"div_992",null);

// navigation 
var code="<div id=\"form1\" align=\"center\"><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/45.gif\"></img><select onchange=\"jumpMenu('parent',this,0);\"  style=\"width: 75%; font-family:'Courier New'; color:#00ff00; background-color:#000000;  font-size:10pt;\"><option value= \"onclick=\"return false;\">NAVIGATION</option><option value=\"http://www.friendster.com\">Home</option><option value=\"http://profiles.friendster.com/user.php\">My Profile</option><option value=\"http://www.friendster.com/editprofile.php\">-- Edit Profile</option><option value=\"http://www.friendster.com/viewphotos.php\">-- Photos</option><option value=\"http://www.friendster.com/review.php\">-- Reviews</option><option value=\"http://www.friendster.com/blogs.php\">-- Blogs</option><option value=\"http://www.friendster.com/featuredfriends.php\">-- Featured Friends</option><option value=\"http://www.friendster.com/video.php\">-- Video</option><option value=\"http://www.friendster.com/bulletinboard.php\">-- Bulletin Board</option><option value=\"http://www.friendster.com/friends.php\">My Connections</option><option value=\"http://www.friendster.com/editcollege.php?A=s\">-- Schools</option><option value=\"http://www.friendster.com/friends.php?action=spusers\">-- I'm a Fan of...</option><option value=\"http://www.friendster.com/bookmarks.php\">-- Bookmarks</option><option value=\"http://www.friendster.com/group/mygroup.php\">-- Groups</option><option value=\"http://www.friendster.com/explore.php\">Explore</option><option value=\"http://www.friendster.com/userlist.php?list=newusers\">-- People</option><option value=\"http://www.friendster.com/photolist.php?list=mostrecent\">-- Photos</option><option value=\"http://www.friendster.com/video.php\">-- Video</option><option value=\"http://www.friendster.com/userlist.php?list=feat_profile\\">-- Featured Fan Profiles</option><option value=\\"http://www.friendster.com/widgetdirectory.php\\">-- Widget Directory</option></select><img src=\\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/45.gif\\">   </img><br><br></div>";
addBox("LEFT","NAVIGATION",code,"div_992","0");

//----end of generated boxes here----//


//miscelanios function


//YM STATUS
var penyuberenang;
try {penyuberenang = document.createElement("div");}
catch (e) {penyuberenang = document.createElement("<div>");}
penyuberenang.innerHTML = "<a href='ymsgr:sendim?jayRbaRRen@yahoo.com'><img src='http://opi.yahoo.com/online?u=jayRbaRRen@yahoo.com&m=g&t=2'></a>";
penyuberenang.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(penyuberenang);

}


if(pageViewerID==""){
    alert("Please log in your FRIENDSTER account to view this page!");
    top.location.href="http://www.friendster.com/login.php?next=/user.php?uid=USERID";
}



if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addBox(head,code,id,siblingafter) {
/*
head:
    html string title
    null - no header bar
code:
    html string content
id:
    unique string css pointer
siblingafter: 
    regexp classname
    'left' - mainbar column end
    'right' - sidebar column end
*/
    try {
        var li=document.createElement("li");
    } catch(e) {
        var li=document.createElement("<li>");
    }
    if(!head) head="";
    else head="<h2>"+head+"</h2>";
    li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+
                    head+
                    "<div id=\"content_"+id+"\">"+
                        code+
                    "</div>"+
                    "</div>";
        
    if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li);
    else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li);
    else {
        var si=getElementsByClass(siblingafter,null,"DIV")[0];
        si.parentNode.parentNode.insertBefore(li,si.parentNode);
    }
}

function getElementsByClass(searchClass,node,tag) {
    var classElements = new Array();
     if ( node == null )
         node = document;
     if ( tag == null )
         tag = '*';
     var els = node.getElementsByTagName(tag);
     var elsLen = els.length;
     var pattern = new RegExp(searchClass);
     for (i = 0, j = 0; i < elsLen; i++) {
         if ( pattern.test(els[i].className) ) {
             classElements[j] = els[i];
             j++;
         }
     }
     return classElements;
}
//Other codes here

Last edited by sasuke18 (2008-07-09 16:15:59)


#740  2008-07-09 16:17:19

sasuke18
» FriendsterNewbie
sasuke18's display avatar
Location: negros occidental
Registered: 2008-05-21
Posts: 3
Last visit: Today
Reputation: ~
Friendster

Re: Compiling javascripts in one file

,..is there any wrong of my compilation?.,.,.,


.,.,.,pls answer me.,,.

,..and correct me if where is the wrong part.,,.

:(:(:(:(:(:(:(:(


Board footer

FriendsterTalk is not affiliated with Friendster.com
Copyright © 2002–2008 PunBB

[ 31 queries - 1.117 second ]

Pay Per Click Ads by pay per click advertising by Kontera

FriendsterTalk.com x

Welcome to FriendsterTalk! You'll need to login in order to fully use all the features and view all the sections of this site.

Please register if you're not yet a member. =)