Thursday, 3 November 2011

How to add scroll back to the top image


Upgraded blogger ; Design -> Page Elements -> Add gadget -> Paste the code given into  "HTML/JavaScript".

Classic blogger ; Template -> Find "</title>" Paste the code given BELOW/UNDER </title>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
var scrolltotop={
   setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
    controlHTML: '<img src="图画 URL/IMAGE URL" style="filter:alpha(opacity=70); -moz-opacity:0.1; " />',
    controlattrs: {offsetx:40, offsety:70},
    anchorkeyword: '#top',
    state: {isvisible:false, shouldvisible:false},
    scrollup:function(){
        if (!this.cssfixedsupport)
            this.$control.css({opacity:0})
        var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
        if (typeof dest=="string" && jQuery('#'+dest).length==1)
            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=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
                .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
                .attr({title:'Back to Top'})
                .click(function(){mainobj.scrollup(); return false})
                .appendTo('body')
            if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='')
                mainobj.$control.css({width:mainobj.$control.width()})
            mainobj.togglecontrol()
            $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
                mainobj.scrollup()
                return false
            })
            $(window).bind('scroll resize', function(e){
                mainobj.togglecontrol()
            })
        })
    }
}
scrolltotop.init()
</script>

Preview and then save . 

Remember to delete 图画 URL/IMAGE URL and then replace it with your own image ^^

Colour code



Drag around to get the colour you want. Just copy the Hex code to get the colour code you want! :) 

Wednesday, 7 September 2011

Customise cbox

how to change the colour and text of it
firstly log in to your cbox
then click Look and Feel and then colours and fonts
the red box is where you change your cbox colours
3. is where you change your font style
different font style :
4. is where you change your font size.
to change the smilies go to
options > smilies
replace the URL with the smiles you want and then just click save ^^
to change the cbox size, cbox form, number of messages you can just change it here. 
Look & Feel > Layout Options 
when you are done, just click save ! ^^ 
if you want to delete messages go to messages > messages 
and then you can delete the messages you do not want :)

Monday, 5 September 2011

Piano

Here's a cute piano for those whom love playing piano ^^V


<center><embed height="80" src="http://musicsan.up.seesaa.net/image/flash_piano2.3.swf" width="250" wmode="transparent"></embed></center>

Thursday, 11 August 2011

Kim bum chatbox background

BY KRYSTAL ❤

Kim bum chatbox backgrounds for Ah Hui ♥: http://littlemisslovehappiness.blogspot.com/

Photobucket
 
http://i815.photobucket.com/albums/zz75/kiyouri/kimbum.png
 cbox size = width : 190 , height : 200 
shoutmix size = width : 190 , height : 290

#4 Cute cbox

 
http://i815.photobucket.com/albums/zz75/kiyouri/Cboxskins/muffin.jpg
cbox size = width : 200 , height : 270
shoutmix size = width : 200 , height : 360

 
http://i815.photobucket.com/albums/zz75/kiyouri/Cboxskins/strawberryy.jpg
cbox size = width : 195 , height : 280
shoutmix size = width : 195 , height : 370

Photobucket

http://i815.photobucket.com/albums/zz75/kiyouri/Cboxskins/CBOX_copycopy.png
cbox size = width : 200 , height : 260
shoutmix size = width : 200 , height : 350

Miss A chatbox background

BY KRYSTAL ❤

Miss A chatbox backgrounds for Jenelle


CLICK HERE TO LEARN HOW TO APPLY THIS cbox BACKGROUND!

Photobucket
http://i815.photobucket.com/albums/zz75/kiyouri/Cboxskins/missa.png
cbox size = width : 205 , height : 205
shoutmix size = width : 205 , height : 295

Photobucket
http://i815.photobucket.com/albums/zz75/kiyouri/Cboxskins/missa2.jpg
cbox size = width : 200 , height : 220
shoutmix size = width : 200 , height : 310

Photobucket
http://i815.photobucket.com/albums/zz75/kiyouri/Cboxskins/missa4.png
cbox size = width : 205 , height : 195
shoutmix size = width : 205 , height : 285