[quote=lia_cantik]kk aku pernah liat jg ni tread, tp lupa dmn..

posting CREDITS na kk.. ntr ada yg marah..

[/quote]
huhuuu..

sapa yg marah

huhuu..inangg..

kamu liat dmana

minta linknya

sini saya kasih tau yah sist cara bikinnya

di caption kamu kan gini [b]› ajarin donk edit ef es..[/b]

pertama buka [b][url=http://www.dynamicdrive.com/dynamicindex1/slideinlink.htm]INI[/url][/b] buat liat script mentahnya

di sana ada kan code yg seperti ini

<">nah yg itu saya ubah jadi gini

<">trus code yg udah saya ubah itu saya taruh di dalem sini

[b][color=#ff0000]code 1[/color][/b]
[quote]navigate="[b][color=#ff0000]DISINI INI LOH SIST[/color][/b]";
gate=document.getElementById('flo_wrapper');
navi=document.createElement("div");
navi.innerHTML=navigate;
gate.parentNode.insertBefore(navi,gate);[/quote]
trus kan ada di sana code seperti ini

[spoiler][b][color=#0000ff]<style>
#divMenu {font-family:arial,helvetica; font-size:12pt; font-weight:bold}
#divMenu a{text-decoration:none;}
#divMenu a:hover{color:red;}
</style>
<script language="JavaScript1.2">
[b][color=#0000ff]/****************************************
Submitted with modifications by Jack Routledge (
http://fastway.to/compute) to DynamicDrive.com
Copyright (C) 1999 Thomas Brattli @
www.dhtmlcentral.com
This script is made by and copyrighted to Thomas Brattli
This may be used freely as long as this msg is intact!
This script has been featured on
http://www.dynamicdrive.com
****************************************
Browsercheck:*/[/color][/b]
ie=document.all?1:0
n=document.layers?1:0
ns6=document.getElementById&&!document.all?1:0
[b][color=#0000ff]//These are the variables you have to set:[/color][/b]
[b][color=#0000ff]//How much of the layer do you wan't to be visible when it's in the out state?[/color][/b]
lshow=60
[b][color=#0000ff]//How many pixels should it move every step? [/color][/b]
var move=10;
[b][color=#0000ff]//At what speed (in milliseconds, lower value is more speed)[/color][/b]
menuSpeed=40
[b][color=#0000ff]//Do you want it to move with the page if the user scroll the page?[/color][/b]
var moveOnScroll=true
[b][color=#0000ff]/***************************************
You should't have to change anything below this.
****************************************
//Defining variables[/color][/b]
var ltop;
var tim=0;
[b][color=#0000ff]//Object constructor[/color][/b]
function makeMenu(obj,nest){
nest=(!nest) ? '':'document.'+nest+'.'
if (n) this.css=eval(nest+'document.'+obj)
else if (ns6) this.css=document.getElementById(obj).style
else if (ie) this.css=eval(obj+'.style')
this.state=1
this.go=0
if (n) this.width=this.css.document.width
else if (ns6) this.width=document.getElementById(obj).offsetWidth
else if (ie) this.width=eval(obj+'.offsetWidth')
this.left=b_getleft
this.obj = obj + "Object"; eval(this.obj + "=this")
}
[b][color=#0000ff]//Get's the top position.[/color][/b]
function b_getleft(){
if (n||ns6){ gleft=parseInt(this.css.left)}
else if (ie){ gleft=eval(this.css.pixelLeft)}
return gleft;
}
[b][color=#0000ff]/***********************************
Deciding what way to move the menu (this is called onmouseover, onmouseout or onclick)
************************************[/color][/b]
function moveMenu(){
if(!oMenu.state){
clearTimeout(tim)
mIn()
}else{
clearTimeout(tim)
mOut()
}
}
[b][color=#0000ff]//Menu in[/color][/b]
function mIn(){
if(oMenu.left()>-oMenu.width+lshow){
oMenu.go=1
oMenu.css.left=oMenu.left()-move
tim=setTimeout("mIn()",menuSpeed)
}else{
oMenu.go=0
oMenu.state=1
}
}
[b][color=#0000ff]//Menu out[/color][/b]
function mOut(){
if(oMenu.left()<0){
oMenu.go=1
oMenu.css.left=oMenu.left()+move
tim=setTimeout("mOut()",menuSpeed)
}else{
oMenu.go=0
oMenu.state=0
}
}
[b][color=#0000ff]/*********************************
Checking if the page is scrolled, if it is move the menu after
**********************************[/color][/b]
function checkScrolled(){
if(!oMenu.go) oMenu.css.top=eval(scrolled)+parseInt(ltop)
if(n||ns6) setTimeout('checkScrolled()',30)
}
[b][color=#0000ff]/*********************************
Inits the page, makes the menu object, moves it to the right place,
show it
**********************************[/color][/b]
function menuInit(){
oMenu=new makeMenu('divMenu')
if (n||ns6) scrolled="window.pageYOffset"
else if (ie) scrolled="document.body.scrollTop"
oMenu.css.left=-oMenu.width+lshow
if (n||ns6) ltop=oMenu.css.top
else if (ie) ltop=oMenu.css.pixelTop
oMenu.css.visibility='visible'
if(moveOnScroll) ie?window.onscroll=checkScrolled:checkScrolled();
}
[b][color=#0000ff]//Initing menu on pageload[/color][/b]
window.onload=menuInit;
[b][color=#0000ff]</script>[/color][/b][/spoiler]
nah yg berwarna [b][color=#0000ff]biru[/color][/b] itu semua saya buang k laut
trus saya edit di beberapa bagian yg akhirnya menjadi seperti ini

[b][color=#ff0000]code 2[/color][/b]
[spoiler]ie=document.all?1:0
n=document.layers?1:0
ns6=document.getElementById&&!document.all?1:0
lshow=100
var move=10;
menuSpeed=40
var moveOnScroll=true
var ltop;
var tim=0;
function makeMenu(obj,nest){
nest=(!nest) ? '':'document.'+nest+'.'
if (n) this.css=eval(nest+'document.'+obj)
else if (ns6) this.css=document.getElementById(obj).style
else if (ie) this.css=eval(obj+'.style')
this.state=1
this.go=0
if (n) this.width=this.css.document.width
else if (ns6) this.width=document.getElementById(obj).offsetWidth
else if (ie) this.width=eval(obj+'.offsetWidth')
this.left=b_getleft
this.obj = obj + "Object"; eval(this.obj + "=this")
}
function b_getleft(){
if (n||ns6){ gleft=parseInt(this.css.left)}
else if (ie){ gleft=eval(this.css.pixelLeft)}
return gleft;
}
function moveMenu(){
if(!oMenu.state){
clearTimeout(tim)
mIn()
}else{
clearTimeout(tim)
mOut()
}
}
function mIn(){
if(oMenu.left()>-oMenu.width+lshow){
oMenu.go=1
oMenu.css.left=oMenu.left()-move
tim=setTimeout("mIn()",menuSpeed)
}else{
oMenu.go=0
oMenu.state=1
}
}
function mOut(){
if(oMenu.left()<0){
oMenu.go=1
oMenu.css.left=oMenu.left()+move
tim=setTimeout("mOut()",menuSpeed)
}else{
oMenu.go=0
oMenu.state=0
}
}
function checkScrolled(){
if(!oMenu.go) oMenu.css.top=eval(scrolled)+parseInt(ltop)
if(n||ns6) setTimeout('checkScrolled()',30)
}
function menuInit(){
oMenu=new makeMenu('divMenu')
if (n||ns6) scrolled="window.pageYOffset"
else if (ie) scrolled="document.body.scrollTop"
oMenu.css.left=-oMenu.width+lshow
if (n||ns6) ltop=oMenu.css.top
else if (ie) ltop=oMenu.css.pixelTop
oMenu.css.visibility='visible'
if(moveOnScroll) ie?window.onscroll=checkScrolled:checkScrolled();
}
window.onload=menuInit;
eckScrolled:checkScrolled();
}
window.onload=menuInit;[/spoiler]
nah [b][color=#ff0000]code 1[/color][/b] dan [b][color=#ff0000]code 2[/color][/b] saya gabungkan hingga akhirnya menjadi seperti ini

[spoiler]navigate="<div id=\"divMenu\" style=\"position:absolute; top:250; left:100; visibility:hidden;\"><nobr><a href=\"http://www.friendster.com\"><img src=\"http://i242.photobucket.com/albums/ff39/Donzy_2007/Navi/home.png\" title=\"Home\"></a> <a href=\"http://profiles.friendster.com/user.php\"><img src=\"http://i242.photobucket.com/albums/ff39/Donzy_2007/Navi/profile.png\" title=\"My Profile\"></a> <a href=\"http://www.friendster.com/widget_myapps.php\"><img src=\"http://i242.photobucket.com/albums/ff39/Donzy_2007/Navi/myapps.png\" title=\"My Apps\"></a> <a href=\"http://www.friendster.com/friends/"+pageOwnerID+"\"><img src=\"http://i242.photobucket.com/albums/ff39/Donzy_2007/Navi/friends.png\" title=\"My Friends\"></a> <a href=\"http://www.friendster.com/gallery.php\"><img src=\"http://i242.photobucket.com/albums/ff39/Donzy_2007/Navi/search.png\" title=\"Search\"></a> <a href=\"http://www.friendster.com/sendmessage.php?uid="+pageOwnerID+"\"><img src=\"http://i242.photobucket.com/albums/ff39/Donzy_2007/Navi/messages.png\" title=\"Send Messages\"></a> <a href=\"http://www.friendster.com/comments.php?uid="+pageOwnerID+"\"><img src=\"http://i242.photobucket.com/albums/ff39/Donzy_2007/Navi/comment.png\" title=\"Add comments\"></a> <a href=\"http://www.friendster.com/logout.php\"><img src=\"http://i242.photobucket.com/albums/ff39/Donzy_2007/Navi/logout.png\" title=\"Logout\"></a> <a href=\"#\" onclick=\"moveMenu()\"><img src=\"http://i242.photobucket.com/albums/ff39/Donzy_2007/Navi/menu.png\" title=\"Click for Navigation\"></a></nobr></div>";
gate=document.getElementById('flo_wrapper');
navi=document.createElement("div");
navi.innerHTML=navigate;
gate.parentNode.insertBefore(navi,gate);
ie=document.all?1:0
n=document.layers?1:0
ns6=document.getElementById&&!document.all?1:0
lshow=100
var move=10;
menuSpeed=40
var moveOnScroll=true
var ltop;
var tim=0;
function makeMenu(obj,nest){
nest=(!nest) ? '':'document.'+nest+'.'
if (n) this.css=eval(nest+'document.'+obj)
else if (ns6) this.css=document.getElementById(obj).style
else if (ie) this.css=eval(obj+'.style')
this.state=1
this.go=0
if (n) this.width=this.css.document.width
else if (ns6) this.width=document.getElementById(obj).offsetWidth
else if (ie) this.width=eval(obj+'.offsetWidth')
this.left=b_getleft
this.obj = obj + "Object"; eval(this.obj + "=this")
}
function b_getleft(){
if (n||ns6){ gleft=parseInt(this.css.left)}
else if (ie){ gleft=eval(this.css.pixelLeft)}
return gleft;
}
function moveMenu(){
if(!oMenu.state){
clearTimeout(tim)
mIn()
}else{
clearTimeout(tim)
mOut()
}
}
function mIn(){
if(oMenu.left()>-oMenu.width+lshow){
oMenu.go=1
oMenu.css.left=oMenu.left()-move
tim=setTimeout("mIn()",menuSpeed)
}else{
oMenu.go=0
oMenu.state=1
}
}
function mOut(){
if(oMenu.left()<0){
oMenu.go=1
oMenu.css.left=oMenu.left()+move
tim=setTimeout("mOut()",menuSpeed)
}else{
oMenu.go=0
oMenu.state=0
}
}
function checkScrolled(){
if(!oMenu.go) oMenu.css.top=eval(scrolled)+parseInt(ltop)
if(n||ns6) setTimeout('checkScrolled()',30)
}
function menuInit(){
oMenu=new makeMenu('divMenu')
if (n||ns6) scrolled="window.pageYOffset"
else if (ie) scrolled="document.body.scrollTop"
oMenu.css.left=-oMenu.width+lshow
if (n||ns6) ltop=oMenu.css.top
else if (ie) ltop=oMenu.css.pixelTop
oMenu.css.visibility='visible'
if(moveOnScroll) ie?window.onscroll=checkScrolled:checkScrolled();
}
window.onload=menuInit;
eckScrolled:checkScrolled();
}
window.onload=menuInit;[/spoiler]
capee deehh


kalo kurang jelas tanyakan lagi sist d sini k saya

jgn bikin saya merasa seperti d kejar˛ dosa
Last edited by Co_don SanAdH (2008-06-13 07:55:49)