Info

Tooltip Otomatis disetiap Link Berattribut Title

tooltip otomatis, link berattribut title, tooltip, attribut title, tooltip blogspot, Tooltip Otomatis disetiap Link Berattribut Title

Alhamdulillah. Bismillah. Enricumiz - Tooltip Otomatis disetiap Link Berattribut Title. Hayo udah pada tahukan? Ini dia caranya masang tooltip otomatis di setiap link berattribut title :). Enak bukan, tidak usah memasang class ataupun plugin. Tinggal pasang di template dan pasang attribut title disetiap link, dijamin berhasil :) #sory masih minimalist :D

Tutorial :
  • Masuk ke Editor template anda masing-masing.
  • Cari kode </head> , copas kode di bawah ini, paste di atas </head>
  • <script type='text/javascript'><!--tooltip-->
    this.tooltip = function(){
    xOffset = 20;
    yOffset = 20;
    $(&quot;a[title]&quot;).hover(function(e){
    this.t = this.title;
    this.title = &quot;&quot;;
    $(&quot;body&quot;).append(&quot;<p id='tooltip'>&quot;+ this.t +&quot;</p>&quot;);
    $(&quot;#tooltip&quot;)
    .css(&quot;top&quot;,(e.pageY - xOffset) + &quot;px&quot;)
    .css(&quot;left&quot;,(e.pageX + yOffset) + &quot;px&quot;)
    .fadeIn(&quot;fast&quot;);
    },
    function(){
    this.title = this.t;
    $(&quot;#tooltip&quot;).remove();
    });
    $(&quot;a[title]&quot;).mousemove(function(e){
    $(&quot;#tooltip&quot;)
    .css(&quot;top&quot;,(e.pageY - xOffset) + &quot;px&quot;)
    .css(&quot;left&quot;,(e.pageX + yOffset) + &quot;px&quot;);
    });
    };
    // starting the script on page load
    $(document).ready(function(){
    tooltip();
    });
    </script><!--tooltip ends-->
    NB : offsetnya bisa diganti sesuka anda.
  • Kemudian pasang kode CSS nya :
  • /* tooltip */
    #tooltip {
      width:auto;
      text-transform:capitalize;
      z-index:9999;
      position:absolute;
      background:#E9E7ED;
      -moz-border-radius:2px;
      -webkit-border-radius:2px;
      -khtml-border-radius:2px;
      border-radius:2px;
      -o-transition:0.5s ease-out;
      -moz-transition:0.5s ease-out;
      -webkit-transition:0.5s ease-out;
      padding:3px;
      font-family:arial,"Helvetica LT Std",sans-serif;
      font-size:12px;
      color:#000;
      border:1px solid #B0BECF;
      display:none;
      font-weight:bold;
    }
    Edit CSS-nya sesuka hati kalian.
  • Kalau tidak bisa atau berhasil, mungkin belum di pasang pemanggil jQuery. Pasang jquey pemanggil di atas </head> :
  • <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'/>
  • Simpan.
Oke, Semoga bermanfaat tutorial hari ini. Kalau berkenan, Like fanspage blog ini donk, diatas postingannya. Thanks be4 . Alhamdulillah.
Rahasia Master SEO
Name

Agama,14,Android,2,Aplication Software,41,Aplication Sony Ericsson,32,Belajar Ngebolg,3,Cedar,44,Design Software,3,Ebook,14,Elm,45,Gadget,39,Games,1,Games Sony Ericsson,25,Hacking,17,Hazel,44,Info,14,Megapack,100,Mod Pack,99,Modding SE,110,Mp3,1,Religi,14,SEO,6,Tips n Trik,31,Tutorial,21,Tutorial Adobe Photoshop,1,Zylo,45,
ltr
item
Enricumiz™: Tooltip Otomatis disetiap Link Berattribut Title
Tooltip Otomatis disetiap Link Berattribut Title
tooltip otomatis, link berattribut title, tooltip, attribut title, tooltip blogspot, Tooltip Otomatis disetiap Link Berattribut Title
http://3.bp.blogspot.com/-qKZJTOd1mZs/T9bo4qYziWI/AAAAAAAAAS8/7xLZZ937RSc/s320/tooltip_otomatis.PNG
http://3.bp.blogspot.com/-qKZJTOd1mZs/T9bo4qYziWI/AAAAAAAAAS8/7xLZZ937RSc/s72-c/tooltip_otomatis.PNG
Enricumiz™
http://enricumiz.blogspot.com/2012/06/tooltip-otomatis-disetiap-link.html
http://enricumiz.blogspot.com/
http://enricumiz.blogspot.com/
http://enricumiz.blogspot.com/2012/06/tooltip-otomatis-disetiap-link.html
true
2562988052077739708
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy