Showing posts with label JQuery. Show all posts
Showing posts with label JQuery. Show all posts

Tuesday, July 3, 2012

How To Add Jquery Effect On Drop down Menu

Since every blogger Enchance their blog appeal, CSS3 and JQuery have been trend on them.As we can see , many site have used CSS3 and Jquery for Transition effect , slide effect and many more.
in this Post, i want to guide you, HOW TO APPLY JQUERY EFFECT on your Dropdown menu.

First Open your Template Editor and Expand template widget, then search your Dropdown menu section,
How to find it????
 Just look at the word of your menu and search with that word
Example, my menu has "link Exchange" , i will use that word for search the section

 i will explain the basic of dropdown menu
Alright, see the Contact that's <li> and Google+ , facebook , are on the <ul>
This is the source code of my dropdown menu section
<div style='clear:both;'/>
<div class='span-24'>
<div class='zmh-dropdown-container'>
<ul class='menus zmh-dropdown'>
<li><a href='zulkhamsyahmh.blogspot.com'>Home</a></li>
<li class='dropdown1'><a href='#' rel='nofollow'>Contact</a>
<ul class='sub_navigation1' style='display: none; '>
<li><a href='https://plus.google.com/u/0/102366695907680083909' rel='nofollow'>Google+</a></li>
<li><a href='https://www.facebook.com/zulkhamsyah' rel='nofollow'>Facebook</a></li>
<li><a href='https://twitter.com/ZulkhamsyahMH' rel='nofollow'>Twitter</a></li><li><a href='http://www.linkedin.com/pub/muhammad-h-zulkhamsyah/49/a62/197' rel='nofollow' target='_blank'>LinkedIn</a></li>
<li><a href='http://pinterest.com/zulkhamsyah/' rel='nofollow' target='_blank'>Pinterest</a></li>
</ul>
</li>
<li><a href='http://zulkhamsyahmh.blogspot.com/2012/05/link-exchange.html' target='_blank'>Link Exchange</a></li>
<li><a href='http://zulkhamsyahmh.blogspot.com/p/thank-you-for-donation.html' target='_blank'>Donate Us</a></li>
<li><a href='https://plus.google.com/102366695907680083909/about' rel='nofollow'>About Me</a></li>
</ul>
</div>
</div>
 ok, the blue colored word , add them to your code, do exactly what i do with my code, you only need to add that code inside your code. after That search  <head> and Paste the code below after it.
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js' type='text/javascript'/>
<script type="text/javascript">
  $.noConflict();
  // Code that uses other library's $ can follow here.
</script>
<script type="text/javascript">
       // Wait for the page and all the DOM to be fully loaded

               // Add the 'hover' event listener to our drop down class
$('.dropdown1').hover(function() {
                       // When the event is triggered, grab the current element 'this' and
                       // find it's children '.sub_navigation1' and display/hide them
$(this).find('.sub_navigation1').slideToggle();
});
</script>
Alright, that's all, easy , right??
Next Post, I will write about CSS3 Transition
Please kindly to Comment if you get some problem and Subscribe :)

Thursday, June 28, 2012

Pure CSS3 And Jquery Dropdown Menu


Two days ago , i surfed web and i saw something beauty ,Dropdown menu that uses pure CSS3 Dropdown and of course there is no image on it , the most important benefit of using CSS3 is making your site load faster. Here Is The Demo Video :


So???
What are you waiting for???
Let's Grab this

File Size no more than 2KB (compressed)


How To Edit the Code ???


  • Find " Main_link" And "Main_descripition" and replace it
  • and for the child menu , just search "Child_Description" and "child_link" and replace with your own setting

How To Add the Code ???

Go to Blogger.com >> Pageelements >> Add new gadget >> Add HTML// Java Script
then, paste the code

Please Ask me if you havesome problem with this
And Subscribe to get the latest post from my blog :)

Saturday, June 23, 2012

Floating Footer using mixed CSS3 And Jquery Effect


After a little Experiments, and finally it works......
this Widget uses Jquery and CSS3 code for the transitions, see video Below for Demo


Click The Button Below to Download The Code




  • Please Subscribe First
  • Fill your Email To Subscribe and hit Enter or Click Submit


  • The password is zulkhamsyahmh
How To Edit The Code.
Open The Source code and Find Some Code Below
For The LEFT menu

Find "YOUR_LINK" and "YOUR_LINK_DESCRIPTIONS"
and Replace With Your Own Link and Your Description


And Next UP for The Child Menu
Find "YOUR_CHILD_LINK" and "YOUR_CHILD_LINK_DESCRIPTIONS"
and Replace With Your Own Link and Your Description

For The Subscribe
Find "YOUR_FEED_BURNER_NAME" and Replace With You Own Feedburner
If you Have a problem With Feedburner, Please Kindly To See How to Setup feedburner on blogspot 

For The Right Menu (Like and G+ Button)
Like Button
Example :
My Facebook Fan Page Address : https://www.facebook.com/pages/Blog-Indonesia/300488916670626
The Green Colored Is MY-FACEBOOK-FANPAGE
And The red Colored Is My ID
So, find "YOUR-FACEBOOK-FANPAGE" and " YOUR-FACEBOOK-FANPAGE _ID" on my Code, Change it With Your Own . Easy Right
G+ Button
find "YOUR_SITE_ADDRESS" on my Code, Change it With Your Site Address, Change it Twice

How To Add To Your Blog???
Simply, Open Your Blogger Dashboard >> PageElements >> Add New Gadget >> Add HTML / Javascript , Then Paste the code that you've edited

If You Get Some Problem, Feel Free to Ask Me :)

Monday, June 18, 2012

Add Floating Subscribe Button Using Click



Blogwalking is the one of my hobbies, and i was lucky because i found something special yesterday on someone blog.He uses wordpress, so i adopted it, it looks great and doesn't need some spaces on your page. This is awesome....

Wednesday, June 13, 2012

Create Back To Top Button Widget Blogspot

In this tutorial , i'll show you how to make Back To Top or Up Button using Jquery, The benefit of this button is making reader navigate easy to Upwardof your page without scrolling, and make your blog more beutiful,
allright,
Open your template editor, and Click expand template Widget

Find </head> and paste the code Below just above it
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>