![]() |
| Lightbox mac style gadgets for blogger (google images) |
First thing to do is go click Login at Blogger.com Template / Design> Edit HTML
Find the code </ head> enter the following code right above </ head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js' type='text/javascript'/>
<script src='http://donor-ilmu.googlecode.com/files/fancybox-1.3.4.js' type='text/javascript'/>
<link href='http://masuk.webuda.com/fancybox-1.3.4.css' media='screen' rel='stylesheet' type='text/css'/> <script type="text/javascript">
$(document).ready(function() {
$("a[imageanchor=1]").fancybox({
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'titlePosition' : 'over',
'overlayColor' : '#000000',
'overlayOpacity' : 0.9,
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
}
});
$("#login").fancybox({
'titlePosition' : 'inside',
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
});
$("a.fancy").fancybox({
'width' : '75%',
'height' : '75%',
'autoScale' : false,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'type' : 'iframe'
});
});
</script>
3. Click Save Template
At this point the installation script Fancybox in your Blogger template has been completed. The next step is the application of Fancybox call effect of a link.
Guest Book
<a class="fancy" href="guestbook-url">Guest Book</a>
Replace the blue text with the address of your Guest Book, for example "http://www5.shoutmix.com/?jakarta?"
(Not a guest book that can only call, you can also make a lot of iframe links as long as the link between the opening <a class="fancy" her="...."> script contained class = "fancy".)
Login Menu Bogger
<a id="login" href="#login1">Login</a>
<div style="display: none;">
<div id="login1" style="width:400px;height:252px;overflow:auto;">
<form action='https://www.google.com/accounts/ServiceLoginAuth' id='gaia_loginform' method='get' onsubmit='return(gaia_onLoginSubmit();'>
<p>
<label>E-mail :<br />
<input type="text" name="Email" id="Email" class="input" value="" size="20" tabindex="4" /></label>
</p>
<p>
<label>Password :<br />
<input type="password" name="Passwd" id="Passwd" class="input" value="" size="20" tabindex="5" /></label>
</p>
<p class="forgetmenot"><label><input id='PersistentCookie' name='PersistentCookie' tabindex='7' type='checkbox' value='1'/> Remember Me</label></p>
<p class="submit">
<input type="submit" class="button-primary" value="Log In" tabindex="6" />
</p>
</form>
okay, may you want to see fancybox site, just click here
See you Gadgets For Blogger
Thanks for donorilmu ^^

0 comments:
Post a Comment