I have add this code on my page
http://technotweaker.com/tutorials/how-to-add-ajax-page-loading-effect-to-blogger-and-wordpress/
and it working fine but there is a lot of empty space at the middle of page and i can't fix it
http://www.arianrp.ir/index2.php

empty space not related to loading effect and is result of your css and html codes , but perhaps u write middle things into a div tag with loading id. in this case , u shuold change #loading style and remove 'line-height: 350px;' or decrease its value.( hamkeshavari! )

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.