Saturday, September 4, 2010

It's been a long time since I wrote my last post... So here I post some Pop-Up Script.



In this First Script I'll give some example that You can use it in Your Blog...



Pop-up Script To Open A Window When Your Page Loads 



 Just put the following script between Your <HEAD> and </HEAD> tag



<script language="javascript">

<!-- begin



function popup(Site)

{

window.open(Site,'PopupName','toolbar=no,statusbar=no,

location=no,scrollbars=yes,resizable=yes,width=275,height=200')

}



// end -->

</script>


Then add the following code into your <BODY> tag:



onLoad="popup('URL/to/popup.html')"


Your<BODY> tag should then look something like this:



<BODY bgcolor="#ffffff" text="#000000"

onLoad="popup('http://doit2us.blogspot.com/popup.html')">


Note: In this and all script examples that follow, change the attributes "toolbar", "statusbar", etc., to on (1) or off (0) as you prefer (or omit them), and set the width and height to the size you require.



That's all.. Happy Pop-Up...

Monday, May 24, 2010

We have been discussed about How To Make A Blogger Related Post before, by written a JavaScript and CSS directly into our HTML Template.



Although this methode is more safer because we could see the naked ("true") JS and avoid the malicious script, to some people especially for newbie, it could be complicated to implemented this method.



If you are searching "The Simplest And The Smartest Blogger Related Posts" and did not bother with external JS.. (Before make this posting, I already checked that this code was "clean", even I used it too for this blog). Than I think this Blogger Related Post Tips will fit with you. I have found this code in more tech tips



To display related links at the end of every post. copy this code into a new HTML/Javascript widget and place at the bottom of the post or at the footer in the page elements section.

Widget uses jQuery v1.3.2, If you already included jQuery into your blog. no need to do it again.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"  type="text/javascript"></script>

<script src="http://blogger-related-posts.googlecode.com/files/related-posts-widget-1.0.js" type="text/javascript"></script>

<script type="text/javascript">

relatedPostsWidget({

   'containerSelector':'div.post-body'

   ,'loadingText':'loading...'

});</script>
And this what will we look after save...



Sunday, May 23, 2010

Instead of Removed the Blogger NavBar as I mention before (Removed Blogger NvBar), A lot of better if we  make it "toggle". We can set the display of the Blogger NavBar to disappear when our mouse pointer not in the Blogger NavBar position (top of our page),



To enable the Blogger NavBar Toggle function in your blog, you can follow these...



1. Log in to Blogger .

2. On your Dashboard, select the Layout menu, than click the Edit HTML. Under the Edit Template you can see your Blog's HTML.

3. If you already do "Blogger Tip Trick No.4.: Removed The Blogger NavBar", Then you must..! delete your code..

4. Then replace it / insert with this code..

/* Blogger Navigation Bar */

#navbar-iframe {

opacity:0.0;

height: 10px;

filter:alpha(Opacity=0)

}

#navbar-iframe:hover {

opacity:1.0;height: 30px;

filter:alpha(Opacity=100, FinishedOpacity=100)

border: 2px;}
If you never change your Blogger NavBar before, Just insert the code. You can Look at Blogger Tip Trick No.4. to see where you must put the code. (or see #5)





5. The final position is  shown as below..

  
 


5. Finish...
 


Disclaimer:We does not host any of the templates available on this blog. This blog merely indexes other sites contents.