Posts Tagged ‘jQuery’


June 8th, 2010 by Brian under Web Development | No Comments »


HTML5/CSS3 Resume Demo

Recently I’ve been reading a lot about HTML5 and CSS3 and the amazing capabilities that these upcoming tools offer to us web developers. The border-radius and box-shadow properties themselves are huge steps forward. After looking at piles of HTML5 and CSS3 demos, I decided that it’s time to create one of my own.

For this project I decided to make a web-based resume. I actually began this project several months ago, but I was recently inspired to start over from scratch after viewing an HTML5/CSS3 layout by onextrapixel.com.

This demo works best in Google Chrome or Apple Safari. Firefox will work well enough if you don’t have either of those browsers available. I hope you enjoy it!

View The Demo: HTML5 and CSS3 Resume Demo

If you enjoyed this article then please share it!
  • email
  • Twitter
  • Digg
  • del.icio.us
  • LinkedIn
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit

Tags: , ,
March 8th, 2010 by Brian under Portfolio | No Comments »


eBid Auctions

eBid Auctions is an website that I made during my internship at Landscape Forms for internal company auctions. This website uses ASP.NET and SQL Server with the jQuery User Interface to create an easy-to-use rich web application for employees to bid on auction items.  Fancy Box was also employed for image pop-ups and item descriptions.

Unfortunately I cannot link you to the website since it is internal, however I have uploaded some screen shots for your viewing pleasure.  Enjoy!

If you enjoyed this article then please share it!
  • email
  • Twitter
  • Digg
  • del.icio.us
  • LinkedIn
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit

Tags: , ,
January 22nd, 2010 by Brian under News | 1 Comment »


It’s A New Year

Hello Everyone,

I would first like to apologize for not updating my site in a while. I’ve been extremely busy with the holidays and work and I just haven’t had the time! I finally finished my undergraduate program at Western Michigan University and I am now the proud owner of a BBA in Electronic Business Design! It feels incredible to be graduated from college and to be a part of the professional work force.

Speaking of which, I have been busy developing a website for the company where I am interning, Landscape Forms. This website is going to be the home for our new electronic auction system. Currently these auctions are all done via paper and pencil, and my job is to give them a more eBay like feel. I have been developing this website using ASP.NET and SQL Server, and it has been exciting learning new interactions between things such as ASP.NET and jQuery along the way. I would love to show you this website, but it is internal only. Sorry!

I hope that everyone reading this had a wonderful holiday season, and I’d like to remind you that Fro Designs is always happy to answer your web design and development needs. Enjoy the new year!

If you enjoyed this article then please share it!
  • email
  • Twitter
  • Digg
  • del.icio.us
  • LinkedIn
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit

Tags: , ,
July 28th, 2009 by Brian under Web Development | 12 Comments »


Image Rollovers in WordPress

This article is an expansion upon my last article which discusses how to set up jQuery in WordPress. In this article, you will learn how to create a simple rollover image using jQuery.

First of all, you need to have your images created of course. For the sake of this article, the images should be named imagename.png, and imagename-hover.png (or any other picture file extension).

As you learned in the previous article, you need to enclose your jQuery function in a special function of its own.

This is called from an external .js file, and will work for any images inside of a div called #quote (or whatever fits your website).

jQuery(function($) {                    < --This is the enclosing function
    $(document).ready(function(){       <--This is the overall jQuery function
 
        $("#content #quote img").each(function () {    <--This function determines img src
            rollsrc = $(this).attr("src");
            rollON = rollsrc.replace(/.png$/gi, "-hover.png");
            $("<img>").attr("src", rollON);
        });
 
        $("#content #quote a").mouseover(function () {  < --This displays the -hover image
            imgsrc = $(this).children("img").attr("src");
            matches = imgsrc.match(/-hover/);
            if (!matches) {
                imgsrcON = imgsrc.replace(/.png$/gi, "-hover.png");
                $(this).children("img").attr("src", imgsrcON);
            }
        });
 
        $("#content #quote a").mouseout(function () {  <--This returns the image to normal
            $(this).children("img").attr("src", imgsrc);
        });
 
    });
});

The first part of each of the 3 functions that actually change the image contain a css path to the hyperlink (‘a’ tag). This will vary depending on the structure of your website. A good way to find the css path is to use the Firefox plugin called FireBug.

I hope this helps other developers in their WordPress and jQuery endeavors!

If you enjoyed this article then please share it!
  • email
  • Twitter
  • Digg
  • del.icio.us
  • LinkedIn
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit

Tags: , ,
July 14th, 2009 by Brian under Web Development | 4 Comments »


jQuery In WordPress

When I was building this website, I wanted to add some simple hover effects, or image rollovers, to the home page of my site to enhance the look and feel of some of my buttons. I decided to use the jQuery JavaScript library to accomplish this. Now I have used jQuery in the past, and it is very easy to set up and use. Once I started working with WordPress and jQuery however, I discovered lots of fun little quirks.

First of all, it’s good to know that WordPress actually comes pre-bundled with jQuery. All you have to do is call it with a PHP command in your template’s header.php file like so (enclosed in php tags):

< ?php
   wp_enqueue_script('jquery');
   wp_enqueue_script('jquery-core-ui');
   wp_enqueue_script('jquery-tabs-ui');
   wp_enqueue_script('rollover', get_bloginfo('template_directory').'/rollover.js');
   wp_head();
?>

As you can see, the last one before wp_head(); is actually a custom JavaScript file stored in the template’s directory. This is where the jQuery code for the image rollover effect is stored.

A typical jQuery script is enclosed in a function like this:

$(document).ready(function(){
   jQuery script here
});

Secondly, you need to enclose your jQuery code in a special block to avoid conflict with other JavaScript libraries that come with WordPress. That is done like this:

jQuery(function($) {
   $(document).ready(function(){
      jQuery script here
   });
});

Following these simple steps should get your jQuery code to work within WordPress (provided your jQuery code is correct).

If anyone is interested in the code for getting image rollovers to work, please just leave a comment. I may be up for posting a tutorial for that in the future.

Next: Learn how to create the rollover functionality!

If you enjoyed this article then please share it!
  • email
  • Twitter
  • Digg
  • del.icio.us
  • LinkedIn
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit

Tags: , ,