(Jquery) boost your website's fanciness factor

Source: Internet
Author: User

During development, there were a lot of fashionable and fancy web page elements, which were a good option to attract users' attention and enhance user experience, we recommend that you combine the user's taste and experience to create fashion and personalized elements to stay close to Web2.0. The following describes four fashionable and practical things.

  • Dockmenu--- An essential part of a personalized website
  • Greybox---- I personally think it is quite good. It can open the web pages of other sites on the basis of the current page. You do not need to open a new tab page or open a new browser page,

Good interoperability; and greybox also sticks to multi-page switching, great cool!

  • Amberjack--- Suitable for the website wizard function, you can use it, you can promptly introduce new things on the website, new content, news, videos, photos, etc.
  • Imageflow--- People who have used iPod Touch or iTunes will know that it is a good choice to display images on webpages. (Currently, images on many websites are displayed on the next page, or click the next image, which is too earthy .)

1. Dock menu

If you are a Big Mac fan, you will love this CSS dock menu that I designed. it is using jquery JavaScript library and fisheye component from interface and some of my icons. it comes with two dock styles-top and bottom. this CSS dock menu is perfert to add on to my itheme. here I will show you how to implement it to your web page.

Download CSS dock menu

(View demo)
Zip package embedded ded JS, CSS, and icons

1. Download source files

Download the CSS dock menu zip package.

2. insert Code

In between the HTML

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/interface.js"></script>

<link href="style.css" rel="stylesheet" type="text/css" />

<!--[if lt IE 7]>
<style type="text/css">
.dock img { behavior: url(iepngfix.htc) }
</style>
<![endif]–>

The first part is the Javascript, second part is CSS stylesheet, and last part is the PNG hack for IE 6.

3. Configuration

Don't forget to add the following code to anywhere within the <body> tag:

<script type="text/javascript">
$(document).ready(
function()
{
$(’#dock2′).Fisheye(
{
maxWidth: 60,
items: ‘a’,
itemsText: ’span’,
container: ‘.dock-container2′,
itemWidth: 40,
proximity: 80,
alignment : ‘left’,
valign: ‘bottom’,
halign : ‘center’
}
)
}
);
</script>

4. add or remove item

To add menu item to the top dock (Note: span tag is after the IMG tag ):

<a class="dock-item" href="#">

<span>Home</span>

</a>

To add menu item to the bottom dock (Note: span tag is before the IMG tag ):

<a class="dock-item2" href="#">

<span>Home</span>

</a>

Browser compatibility

I have tested on IE 6, IE 7, opera 9, Firefox 2, and Safari 2 (although there are some minor rendering issues with Safari ).

2Greybox

Greybox allows you to launch other websites in a modal window (like a pop-up window, but it doesn' t open another browser ). this is great for when you're linking to multiple websites and don't want the user to navigate away from your Web page or to open another browser window that might be blocked by the user' s browser. using greybox is easy and involves a 3-step process outlined in the web page.

Here's some key pages regarding greybox: Download Page, documentation, examples, installation, and advanced usage (for the more experienced JavaScript 'ers, check this page out for tips on how you can extend the Library's functionality ).

3 amberjack: site tour creator

Here's a lightweight JavaScript library that allows you to create a scripted website tour, allowing users to visit key web pages in real-time with a small description box on each page.

This allows users to take a tour of the various sections of a website, without them having to view a static demo created in flash or some other method. extra bonus, you can download varous "skins" or even create your own, to match the look and feel of your website. here's the skins gallery so you may see if they have a theme that doesn't clash with your website.

4 imageflow

Specified red by iPod's "coverflow", imageflow is a simple effect thatDisplays a collection of images that the user can scroll thereUsing a scroll bar at the bottom of the image set. Advanced developers can probably modify the slider to spruce it up a bit more.

When the user clicks on an image, it re-directs them to another web page with the image displayed, so an excellent idea wocould be to use this in conjunction with a modal box script to open the image instead.

Update:Just now, the author of imageflow emailed me announcing imageflow version 0.9. check it out here (it fixes the issue of the image opening another browser window when clicked, and it works with lightbox compatibility ). thanks for the update Finn!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.