Trick And Information
☼ WELCOME IN PROFILE OPAMA FORUM ☼

Forum Orang Indo..!
Forum Orang Kreative..!

Salam Persaudaraan

Just For Fun



This Forum from http://opa-ma.blogspot.com
 
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share | 
 

 Frienster combinasi

View previous topic View next topic Go down 
AuthorMessage
Bimo

avatar

Posts : 12
Join date : 2009-04-21

PostSubject: Frienster combinasi   Wed Jun 10, 2009 3:00 pm



center box
Code:
//-----------------------------------centered left box
if (!attachOnLoadHandler(function(){leftBoxes()})) window.onload = function(){leftBoxes()};
function leftBoxes() {

        fixBox("0",null); //Cpanel
        fixBox("1",null); //Photos
        fixBox("6",null); //MoreAbout
        fixBox("18",null); //Comments
     

}

function fixBox(boxID,set) {
//by xavierkym

//set "CUSTOM" | null
//if "CUSTOM" set your settings in the function below
/* Available default boxID
RIGHT BOXES
        0 = controlpanel
        1 = photos
        13 = blogs
        12 = reviews
        6 = moreabout
        18 = publiccomments
        10 = scrapbook
*/
    var box;
    box = parent.document.getElementById(boxID);
      if (set == null) {
                box.style.position = "relative";
              box.style.overflow = "auto";
            box.style.overflowX = "hidden";
          box.style.overflowY = "hidden";
        box.style.left = "160px";
      box.style.width = "500px";
    }
      else if (set == "CUSTOM") {
                box.style.position = "relative";
              box.style.overflow = "hidden";
          box.style.left = "160px";
        box.style.width = "500px";
    }
}

//-------------------------centered right box
if (!attachOnLoadHandler(function(){rightBoxes()})) window.onload = function(){rightBoxes()};
function rightBoxes() {

        centerBox("2","0","DOWN",null); //Friends di bawah Blogs
        centerBox("7","1","UP",null); //Fanof di atas Media Box
        centerBox("8","18","DOWN",null); //Groups di bawah Comments
 

}


function centerBox(boxID,sibling,insert,set) {
//by xavierkym

//insert "UP" | "DOWN"
//set default is =  null
/* Available default boxID
RIGHT BOXES
        15 = meettrail
        2 = friends
        14 = googleads
        7 = fan
        8 = groups

    Available default sibling
LEFT BOXES
        0 = controlpanel
        1 = photos
        13 = blogs
        12 = reviews
        6 = moreabout
        18 = publiccomments
        10 = scrapbook
*/
        var baseID; var cNode; var module; var box;
      baseID = document.getElementById(sibling);
        cNode = baseID.parentNode;
          module = document.getElementById(boxID);
            box = parent.document.getElementById(boxID);
        if (set == null) {
                box.style.position = "relative";
                  box.style.overflow = "auto";
                  box.style.overflowY = "hidden";
                    box.style.overflowX = "hidden";
                    box.style.left = "160px";
                      box.style.width = "500px";
                }
        if (insert == "UP") {
                cNode.parentNode.insertBefore(module,cNode);
              }
        else if (insert == "DOWN") {
          cNode.appendChild(module);
      }
}
Back to top Go down
View user profile
Bimo

avatar

Posts : 12
Join date : 2009-04-21

PostSubject: Re: Frienster combinasi   Wed Jun 10, 2009 3:08 pm

code navigasi yang di banner
Code:
//navigation
x=banneradrow.getElementsByTagName("td")[0];
x.innerHTML="<div align='center'><a href='http://www.friendster.com'><blink><img src='http://images.friendster.com/images/friendster_nav_logo.png'></blink></a></br></br><input type='button' value='Message' onClick=\"top.location.href='http://www.friendster.com/messages.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MESSAGE]\"><input type='button' value='Settings' onClick=\"top.location.href='http://www.friendster.com/editaccount.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SETTINGS]\"><input type='button' value='Help' onClick=\"top.location.href='http://www.friendster.com/custhelp.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HELP]\"><input type='button' value='Log Out' onClick=\"top.location.href='http://www.friendster.com/logout.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[LOG OUT]\"></br><input type='button' value='Home' onClick=\"top.location.href='http://www.friendster.com'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HOME]\"><input type='button' value='My Profile' onClick=\"top.location.href='http://profiles.friendster.com/user.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY PROFILE]\"><input type='button' value='My Connections' onClick=\"top.location.href='http://www.friendster.com/friends.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY CONNECTIONS]\"><input type='button' value='Explore' onClick=\"top.location.href='http://friendster.com/explore.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[EXPLORE]\"><input type='button' value='Search' onClick=\"top.location.href='http://www.friendster.com/gallery.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SEARCH]\"><input type='button' value='Jobs' onClick=\"top.location.href='http://olx.friendster.com/gateway_cobranded.php?country=PH&target=jobs'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[JOBS]\"><input type='button' value='Invite' onClick=\"top.location.href='http://www.friendster.com/invite.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[INVITE]\"><br><br></div>"



taro ini di css..
Code:

    .xinoxs{color:#ddd;  font-family:'trebuchet ms',helvetica,sans-serif;  font-size:100%;  font-weight:bold;  border-top:1px #888 solid;  border-left:1px #666 solid;  border-right:1px #222 solid;  border-bottom:1px #000 solid;  background-color:#4d4d4d;  margin:3px;  padding:0px 3px}
    .xinoxs:hover{background-color:#666}




Back to top Go down
View user profile
Bimo

avatar

Posts : 12
Join date : 2009-04-21

PostSubject: Re: Frienster combinasi   Wed Jun 10, 2009 3:14 pm



opama jarang oline
kemana atuh ?
No No No

Back to top Go down
View user profile
zinestesia

avatar

Posts : 6
Join date : 2009-06-10
Age : 28
Location : Jabar

PostSubject: Re: Frienster combinasi   Thu Jun 11, 2009 9:27 pm

Kakak media box qyu kuc tak bisya napah ya?

Back to top Go down
View user profile
d.miskon

avatar

Posts : 4
Join date : 2009-06-11
Age : 34

PostSubject: Re: Frienster combinasi   Thu Jun 11, 2009 10:35 pm

multyple JS inject make
Code:
// for multiple js injection
scriptFolder = 'URL OF YOUR SCRIPT FOLDER HERE/'

var scripts = new Array()
scripts[0] = 'file1.js'
scripts[1] = 'file2.js'
scripts[2] = 'file3.js'

for(x in scripts){
myscripts = document.createElement('script')
myscripts.src = scriptFolder+scripts[x]
document.getElementsByTagName('head')[0].appendChild(myscripts);
}
Back to top Go down
View user profile
d.miskon

avatar

Posts : 4
Join date : 2009-06-11
Age : 34

PostSubject: Re: Frienster combinasi   Thu Jun 11, 2009 10:50 pm

Scipt Auto Bacground

Code:
randBgImg=Math.round(Math.random()*2)
myBgImg=new Array()
myBgImg[0]="URL OF 1ST IMAGE"
myBgImg[1]="URL OF 2ND IMAGE"
myBgImg[2]="URL OF 3RD IMAGE"
document.body.style.cssText="background-image:url("
+myBgImg[randBgImg]+");background-repeat:no-repeat;"
+"background-attachment:fixed"
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Frienster combinasi   

Back to top Go down
 
Frienster combinasi
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Trick And Information :: Ruang Design-
Jump to: