2008-10-28 02:46:25

__High Level__
» FTalker
FTalk Level: zero
195
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

[align=center][/align][quote=Q-Doth]ada navigation yg udah jadi ga bro.... navigasinya tinggal aku caplok aja ??[/quote] nieh code HTML nya [spoiler]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" / > <title>..:: Navigation ::..</title> <script type="text/javascript" src="http://h1.ripway.com/rajetungau/dock/jquery.js"></script> <script type="text/javascript" src="http://h1.ripway.com/rajetungau/dock/interface.js"></script> <!--[if lt IE 7]> <style type="text/css"> .dock img { behavior: url(iepngfix.htc) } </style> <![endif]--> <link href="http://h1.ripway.com/rajetungau/dock/style.css" rel="stylesheet" type="text/css" /> </head> <body> <script type="text/javascript" src="http://h1.ripway.com/rajetungau/dock/efek.js"></script> <!--bottom dock --> <div class="dock" id="dock2"> <div class="dock-container2"> <a class="dock-item2" href="#" onClick="expandingWindow('http://www.friendster.com');return false"><span>Home</span><img src="URL IMAGE BUTTON KAMU" class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this);top.focus()" onClick="top.focus()" alt="home" /></a> <a class="dock-item2" href="#" onClick="expandingWindow('http://profiles.friendster.com/user.php');return false"><span>Profile</span><img src="URL IMAGE BUTTON KAMU" class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this);top.focus()" onClick="top.focus()" alt="Profile" /></a> <a class="dock-item2" href="#" onClick="expandingWindow('http://www.friendster.com/logot.php');return false"><span>Log Out</span><img src="URL IMAGE BUTTON KAMU" class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this);top.focus()" onClick="top.focus()" alt="Log Out" /></a> </div> </div> <!--dock menu JS options --> <script type="text/javascript"> $(document).ready( function() { $('#dock2').Fisheye( { maxWidth: 40, items: 'a', itemsText: 'span', container: '.dock-container2', itemWidth: 100, proximity: 75, alignment : 'left', valign: 'bottom', halign : 'center' } ) } ); </script> <style> .shakeimage{ position:relative } </style> <script language="JavaScript1.2"> /* Shake image script (onMouseover)- © Dynamic Drive (www.dynamicdrive.com) For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com */ //configure shake degree (where larger # equals greater shake) var rector=3 ///////DONE EDITTING/////////// var stopit=0 var a=1 function init(which){ stopit=0 shake=which shake.style.left=0 shake.style.top=0 } function rattleimage(){ if ((!document.all&&!document.getElementById)||stopit==1) return if (a==1){ shake.style.top=parseInt(shake.style.top)+rector } else if (a==2){ shake.style.left=parseInt(shake.style.left)+rector } else if (a==3){ shake.style.top=parseInt(shake.style.top)-rector } else{ shake.style.left=parseInt(shake.style.left)-rector } if (a<4) a++ else a=1 setTimeout("rattleimage()",50) } function stoprattle(which){ stopit=1 which.style.left=0 which.style.top=0 } </script> </body> </html>[/spoiler] trus jangan lupa taruh code ini disamping URL IMAGE BUTTON KAMU [spoiler]class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this);top.focus()" onClick="top.focus()" contoh :<img src="man.gif" class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this);top.focus()" onClick="top.focus()">[/spoiler] abis itu simpan pake extensi .html nah ini kode js na : [spoiler]// Navigation ver. Vista var navidock; try {navidock = document.createElement("div");} catch (e) {navidock = document.createElement("<div>");} navidock.innerHTML = "<iframe id=\"datamain\" src=\"URL HTML KAMU\" width=\"800\" height=\"115px\" marginheight=\"0\" hspace=\"0\" vspace=\"0\" frameborder=\"0\" scrolling=\"no\"></iframe>"; navidock.setAttribute("style","text-align:center;padding-top:10px"); document.getElementById("logo").parentNode.appendChild(navidock);[/spoiler]

Board footer

© 2024 F Talk

Current time is 06:47

[ 12 queries - 0.236 second ]
Privacy Policy