You can only use java script for this trick but if you use java script tricks then your blog will be heavier to open. Okay, the choice is yours, to use java script trick or css trick? But in this post I will explain the css tricks only :D
Here are the steps:
Step 1: Prepare a preload images!
Prepare a preload images like this , to preload images you can make an online here. But remember not to make the image size too big because if too much preload images may not appear when the main image is in load! You do not want that to happen right!?
Step 2: Input to the template CSS!
Go to the tab Edit HTML and look for the code ]]></b:skin> and input the code below before the code ]]></b:skin>!
.load{background:url(images/youricon.gif) no-repeat center;}
Do not forget to replace the red colored text with your preload images address!
Step 3: How to use the code.
The easiest way to use this trick is to add a div tag on every image in your blog, and also write down the length and width of the image that is loaded, for example like this:
<div class="load" style="width:200px;height:200px">
<img src="http://www.dynamixlabs.com/images/largeimage.bmp" alt="alternate text" /></div>
<img src="http://www.dynamixlabs.com/images/largeimage.bmp" alt="alternate text" /></div>
For example after the code added to images, like this:
You must clear the cache and reload this page first! Or you can see it here :D
Note:
This trick can be used in browsers Internet Explorer 5.5, 6, 7, Firefox (PC and Mac), Netscape and Safari (PC and Mac).
This trick can be used in browsers Internet Explorer 5.5, 6, 7, Firefox (PC and Mac), Netscape and Safari (PC and Mac).
wii.. blog cantik... Fiss..
ReplyDelete