Assalamualaikum And Hai World , Feel Free To Follow Me. Blog yang penuh dengan kisah hidup , isu semasa , dan freebies adn tutorial :D Be nice and read my blog.TQ
\Bismillahirrahmanirrahim/ Hello fellas. Hari neh Cha nak buat tutorial Jquery Top Button for Blogskin . Ini untuk pengguna blogskin atau classic template sahaja. Harap maklum. Tutorial neh, Okay, let us start.
1. Dashboard -> Template -> Edit HTML
2. Tekan CTRL+F and search untuk code neh : </html>
controlHTML: '<img onmousedown="event.preventDefault ? event.preventDefault() : event.returnValue = false" src="URL IMAGE"/>', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
controlattrs: {offsetx:5, offsety:5}, //offset of control relative to right/ center of window corner
anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
state: {isvisible:false, shouldvisible:false},
scrollup:function(){
if (!this.cssfixedsupport) //if control is positioned using JavaScript
this.$control.css({opacity:0}) //hide control immediately after clicking it
var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
4. Paste kan code tadi tu dekat atas code : </html> . Atas tau. Jangan bawah pulak.
5. Preview then save.
Yang tulisan Cha boldkan tu, sila lah ganti dengan URL IMAGE korang sendiri ye.
Dekat bawah neh ade beberape freebies image untuk top button tu. Kalau nak amik, comment lah ye? Tk perlu credit pon ^^ Tekan pade gambar untuk URL IMAGE nye.
Name : Cha Adriana
Birthday : 28 Ogos
Study at : Secret :) heheeh :)
Stay at : Shah Alam, Selangor, Malaysia
Status : Single Unavailable
Dreams : Wanna be a famous blogger & make the nice skin ever
Contact Me : Facebook | First Blog
Love It So Much
-Family
-Friends
-My Bloggie
-Reading
-Watching Movie & Online
-Love eating A Cupcake
-Hang out with family & friends
\Bismillahirrahmanirrahim/ Hello fellas. Hari neh Cha nak buat tutorial Jquery Top Button for Blogskin . Ini untuk pengguna blogskin atau classic template sahaja. Harap maklum. Tutorial neh, Okay, let us start.
1. Dashboard -> Template -> Edit HTML
2. Tekan CTRL+F and search untuk code neh : </html>
controlHTML: '<img onmousedown="event.preventDefault ? event.preventDefault() : event.returnValue = false" src="URL IMAGE"/>', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
controlattrs: {offsetx:5, offsety:5}, //offset of control relative to right/ center of window corner
anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
state: {isvisible:false, shouldvisible:false},
scrollup:function(){
if (!this.cssfixedsupport) //if control is positioned using JavaScript
this.$control.css({opacity:0}) //hide control immediately after clicking it
var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
4. Paste kan code tadi tu dekat atas code : </html> . Atas tau. Jangan bawah pulak.
5. Preview then save.
Yang tulisan Cha boldkan tu, sila lah ganti dengan URL IMAGE korang sendiri ye.
Dekat bawah neh ade beberape freebies image untuk top button tu. Kalau nak amik, comment lah ye? Tk perlu credit pon ^^ Tekan pade gambar untuk URL IMAGE nye.