Welcome to my blog.You want to Follow or go back Home.
Jquery Top Button for Blogskin
Wednesday, December 28, 2011 @ 12:46 AM | 1 Comment [s]
Assalammualaikum + annyeong, chingu :)
\Bismillahirrahmanirrahim/ Hello fellas. Hari neh Aleeya nak buat tutorial Jquery Top Button for Blogskin Ini untuk pengguna blogskin atau classic template sahaja. Harap maklum. Kalau tk faham, jangan segan silu untuk bertanya, ye. 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 Aleeya 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.
Wednesday, December 28, 2011 @ 12:46 AM | 1 heart[s]
Assalammualaikum + annyeong, chingu :)
\Bismillahirrahmanirrahim/ Hello fellas. Hari neh Aleeya nak buat tutorial Jquery Top Button for Blogskin Ini untuk pengguna blogskin atau classic template sahaja. Harap maklum. Kalau tk faham, jangan segan silu untuk bertanya, ye. 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 Aleeya 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.