f ', //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 dest=jQuery('#'+dest).offset().top else dest=0 this.$body.animate({scrollTop: dest}, this.setting.scrollduration); }, keepfixed:function(){ var $window=jQuery(window) var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety this.$control.css({left:controlx+'px', top:controly+'px'}) }, togglecontrol:function(){ var scrolltop=jQuery(window).scrollTop() if (!this.cssfixedsupport) this.keepfixed() this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false if (this.state.shouldvisible && !this.state.isvisible){ this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0]) this.state.isvisible=true } else if (this.state.shouldvisible==false && this.state.isvisible){ this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1]) this.state.isvisible=false } }, init:function(){ jQuery(document).ready(function($){ var mainobj=scrolltotop var iebrws=document.all mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body') mainobj.$control=$('
The Webmiss
ASSALAMUALAIKUM ..
Hello Earth-lings ! The name given was Fatimah Husna. Just call me Husna. Thank you for your visit. Do follow and leave your footprint on my cbox. Be nice here and enjoy your stay :) Lullaby CLICK! Archieves » December 2012 » June 2013 » July 2013 Shout here ! No harshword :)Will follow back :) The Followers Credits Codes: ♥ ♥ Theme by: Lilaa Editor: Husna |
Sometimes i feel like..
Hai selamat malam semua , kenapa tak tido lagi ni? berpesbuk? bertwitter? hehe . Tetibe je ada feel nak bercompose malam ni . Pasal apa ek? tengok tajuk la . Sometimes saya rasa macam ada je kawan2 benci or bedengki kat saya . Maybe semua orang pernah rasa feeling macam ni. Dan mungkin juga ini satu lumrah. Hati aku selalu berbicara "ada tak aku sakitkan hati dia ek?" takut sangat kalau TERsalah sakitkan hati dia . Tapi apa yang perlu aku buat? just teruskan persahabatan dengan IKHLAS . Kena selalu letakkan kata2 nim dalam hati...... - Biarlah orang spread fitnah dekat kita, tapi kita jangan.. - Biarlah orang benci dekat kita, tapi kita jangan.. - Biarlah orang buat jahat dekat kita, tapi kita jangan.. - Biarlah orang kutuk hina dekat kita, tapi kita jangan.. Kita BUKANLAH BAIK, dan kita bukanlah jahat..sebab kita tahu, setiap orang baik ada sisi jahatnya dan setiap orang jahat ada sisi baiknya.. Tidak perlu membalas, ada Allah..cukuplah bagi kita.. Bye All =) |