Sunday, February 17, 2013

Tutorial Round Menu Spin Floating

My own code. Please credit and inform me if you copy this tutor. Thank you. { This tutorial for Round menu Floating without spin. }
Request via Ask.fm/MasErma



  • Layout | Add Gadget | HTML/Javascript
  • Copy the code and paste in HTML/Java
    <!-------http://chubbygurlzchumill.blogspot.com/ own. Do not remove this credit----> <style> #dhtmltooltip{ position: absolute; width: 60px; text-align:center; border: 2px solid #F9CDAD; padding: 2px; visibility: hidden; z-index: 100; font-family: ‘verdana'; text-transform: uppercase; color:#F9CDAD; font-size:10px; background: #fff; filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135); } #pos{ position:fixed; top:200px; left:10px; } a.nav{
    -webkit-transform: perspective(400px) rotateX(0deg);-moz-transform:perspective(400px) rotateX(0deg);-o-transform:perspective(400px) rotateX(0deg) ;-webkit-transition:All 1s ease;-moz-transition:All 1s ease;-o-transition:All 1s ease; color:#83AF9B; margin-bottom:24px; display:inline-block; width:50px; height:50px; background: url(background url) repeat; border:2px solid #F9CDAD; border-radius:1111px; -moz-box-shadow: 0px 0px 6px #000; -webkit-box-shadow: 0px 0px 6px #000; box-shadow: 0px 0px 6px #000; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } a.nav:hover{
    -webkit-transform: perspective(400px) rotateX(360deg) ;-moz-transform: perspective(400px) rotateX(360deg) ;-o-transform: perspective(400px) rotateX(360deg); border:2px solid #C8C8A9; } a.nav2{
    -webkit-transform: perspective(400px) rotateX(0deg);-moz-transform:perspective(400px) rotateX(0deg);-o-transform:perspective(400px) rotateX(0deg) ;-webkit-transition:All 1s ease;-moz-transition:All 1s ease;-o-transition:All 1s ease;color:#83AF9B; margin-bottom:24px; display:inline-block; width:50px; height:50px; background: url(background url) repeat;
    border:2px solid #FC9D9A; border-radius:1111px; -moz-box-shadow: 0px 0px 6px #000; -webkit-box-shadow: 0px 0px 6px #000; box-shadow: 0px 0px 6px #000;
    FE4365; }

    a.nav2:hover{

    -webkit-transform: perspective(400px) rotateX(360deg) ;-moz-transform: perspective(400px) rotateX(360deg) ;-o-transform: perspective(400px) rotateX(360deg);
    border:2px solid #FC9D9A;
    }
    </style> <div id="dhtmltooltip"></div> <script type="text/javascript"> /*********************************************** * Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ var offsetxpoint=-60 //Customize x offset of tooltip var offsetypoint=20 //Customize y offset of tooltip var ie=document.all var ns6=document.getElementById && !document.all var enabletip=false if (ie||ns6) var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : "" function ietruebody(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function ddrivetip(thetext, thecolor, thewidth){ if (ns6||ie){ if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px" if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor tipobj.innerHTML=thetext enabletip=true return false } } function positiontip(e){ if (enabletip){ var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft; var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop; //Find out how close the mouse is to the corner of the window var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20 var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20 var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000 //if the horizontal distance isn't enough to accomodate the width of the context menu if (rightedge<tipobj.offsetWidth) //move the horizontal position of the menu to the left by it's width tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px" else if (curX<leftedge) tipobj.style.left="5px" else //position the horizontal position of the menu where the mouse is positioned tipobj.style.left=curX+offsetxpoint+"px" //same concept with the vertical position if (bottomedge<tipobj.offsetHeight) tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px" else tipobj.style.top=curY+offsetypoint+"px" tipobj.style.visibility="visible" } } function hideddrivetip(){ if (ns6||ie){ enabletip=false tipobj.style.visibility="hidden" tipobj.style.left="-1000px" tipobj.style.backgroundColor='' tipobj.style.width='' } } document.onmousemove=positiontip </script> <link rel="stylesheet" type="text/css" href="stickytooltip.css" /> <div id="pos"> <a class="nav" href="LINK"  onMouseover="ddrivetip('Facebook')"; onMouseout="hideddrivetip()"></a><br/> <a class="nav2" href="LINK" onMouseover="ddrivetip('Twitter')"; onMouseout="hideddrivetip()"></a><br/> <a class="nav" href="LINK" onMouseover="ddrivetip('Tumblr')"; onMouseout="hideddrivetip()"></a><br/> <a class="nav2" href="LINK"onMouseover="ddrivetip('Formspring')";
    onMouseout="hideddrivetip()"></a><br/> </div> 
Make up the code 
  • Blue _border
  • Orange_ warna tulisan
  • Grey _ background
  • Brown _ Link page
  • Green _ Link’s name

  • " Biarpun kau tak lagi ada dengan ku.Takkan ku bisa melupakan mu. Caramu memanggil nama ku terasa seolah kau masih ada . Jauh di dalam sanubari ku tak ku relakan pemergianmu.. Namun ku,’kan selalu doakan mu agar kau takkan terus terluka

    No comments: