In the past few days, I’ve been getting my hands dirty with jQuery for the development of a particular website and one of the things that I developed was a sticky hover line for the site’s menu.

And as you probably know, a  jQuery function is (much) easier to use when it is a plugin, so here we are..

If you still haven’t understood what this plugin does, check out the demo page and hover your mouse over one of the menus.

As a bonus, this plugin also gives you an option to create a menu from a list of links, in case you have trouble doing that with CSS alone. So, lets go through the motions now..

  • Here is the HTML markup
<div id="navbar">
      <ul>
            <li><a href="#ex1">Home</a></li>
            <li><a href="#ex1">Blog</a></li>
            <li><a href="#ex1">Portfolio</a></li>
            <li><a href="#ex1">Projects</a></li>
            <li><a href="#ex1">Design</a></li>
      </ul>
</div>
  • Now, include the jQuery and hoverline js files (Download links at the bottom of the post)
<script type="text/javascript" src="scripts/jquery.js"></script>
<script type="text/javascript" src="scripts/hoverline.js"></script>
  • Turn the list(markup) into a menu (Skip if you have already created a CSS menu)
$('#navbar').makeNavbar();
  •  Finally, we add the hover effect to the menu
$('#navbar').hoverline();

Voila!! there you have it, a Navbar with a funky hoverline.

Options

By the way, our plugin can take a number of options, here is a list of all the options it can take alongside their default values.

$('#navbar').hoverline({
       'color' : '#333',
       'height' : '2px',
       'start' : '1',
       'speed' : '200',
       'border' : 'none',
       'borderwidthside' : '1px',
       'borderwidthtop' : '1px',
       'borderstyle' : 'solid'
});

A detailed explanation on using these options can be seen in the demo page

Downloads:

hoverline.js

Examples

jquery-1.7.1.min.js

In my efforts to create a seminar report for my B.Tech presentation, I realized that the default report class in LaTeX has a poor rendition of header, footer and chapter main pages.

So, I looked around and found some fixes thanks mostly to WikiBooks.

With two LaTeX packages titlesec and fancyhdr, I managed to improve the first page of each chapter and also the header and footer.

Here is the fix and a mini-guide to using it.

  • Download the file hack.tex
  • Use the two following commands to call the  default LaTeX report class and to include the fixes.
    \documentclass{report}
    \input hack.tex

Downloads:

hack.tex

report.tex (Demo TeX file)

report.pdf (Demo Report)

Useful Links:

titlesec documentation

fancyhdr documentation

After a lot of searching for B.Tech seminar topics in IEEEXplore and other journals, I ended up choosing ‘Open Source Cloud Computing Management Tools’  inspired by Marten Mickos’ talk at OSCON 2010.

The topic covered cloud computing basics, the open source philosophy, its impact and some of the open source tools used in managing the cloud.

The slide was created using LaTeX beamer, here is the tex file used to generate the slide.
         seminar.tex

TweetWall++ LogoThere is quite a long story behind my eventual decision to develop this app. Last year, during an event in my college we decided to put up a TweetWall, but the staff in charge wanted to filter the tweets, make sure nothing “inappropriate” showed up…

The troubles we had to go to do this was nothing short of epic (We used ‘safe’ screenshots instead of a real time updating Wall). This was when I decided to create a similar app only more customizable and feature rich.

But it took my lazy-self a year before I started to develop it.

Enough of the boring story, now !! lets get down to business…

TweetWall++ is a webapp that displays tweets on a screen (with real-time updation) related to a search such as ‘#Christmas’ or ‘Linkin Park’. Check out some of its screenshots.

Main Page Options Menu The Tweet Wall

Here is a list of Features

  • Custom Options
    • No. of Tweets
    • Auto Refresh Delay
    • Background Color
    • Background Image
    • Font Color
    • Font Size
  • Tweet Highlight (Click on a Tweet to Highlight it)
  • Tweet Moderation (Double Click on a Tweet to Delete it)
  • Quick Options Menu to the Top (Appears on Mouse Hover)
  • Pause and Resume Auto-updation
  • Manually force to check for updates at any time

 

 >> Go to TweetWall++

 

I’ve been working on WordPress themes and templates for the past few days and ended up designing two of them, first one is used by this blog right now, and second is the one that I’m handing out in this post.

This theme is based on the last theme I designed for blogger before we moved to wordpress and hence the name “Farewell”

Farewell

Preview | Download