Gadgets Code for Blogsite and Website 2

It the very short way to scroll your text or headline. Text can be modified by your Post Editor.
Priyankartalking.blogspot.com 

<marquee direction="Left">UR TEXT HERE</marquee> 


Priyankartalking.blogspot.com   

<marquee direction="Right">UR TEXT HERE</marquee> 

You can change the direction like "Up" or "Down" also


Scroll Your Total Web Page very softly
  

<SCRIPT language=JavaScript1.2>
//change 1 to another integer to alter the scroll speed. Greater is faster

var speed=1

var currentpos=0,alt=1,curpos1=0,curpos2=-1

function initialize(){

startit()

}

function scrollwindow(){

if (document.all &&

!document.getElementById)

temp=document.body.scrollTop

else

temp=window.pageYOffset

if (alt==0)

alt=2

else

alt=1

if (alt==0)

curpos1=temp

else

curpos2=temp

if (curpos1!=curpos2){

if (document.all)

currentpos=document.body.scrollTop+speed

else

currentpos=window.pageYOffset+speed

window.scroll(0,currentpos)

}

else{

currentpos=0

window.scroll(0,currentpos)

}

}

function startit(){

setInterval("scrollwindow()",50)

}

window.onload=initialize

</SCRIPT>


Just Copy and pest the code on your website.

How To create floating Back To Top Button
Here is a simple and easy way to have your visitors jump to the top of your page without scrolling with a floating Back to the top Button.Just add a gadget for html/javascript and then paste the code in it.Replace the " LINK TOYOUR  IMAGE " with the url of the link to your image.If you dont have one you can just right click on the floating back to top button on my blog and select copy image url and then paste it in place of " LINK TO YOUR IMAGE " or you can search on the net for more ..  


<a style="display:scroll;position:fixed;bottom:5px;right:5px;" href="#" title="Back to Top"><img src="LINK TO YOUR IMAGE" /></a>  

Just Copy and pest the code on your website.

   
Priyankargeo@gmail.com


Share:

No comments:

Post a Comment

Popular Posts

Recent Posts

Total Pageviews