Search
Recommended Sites
Related Links






   

Informative Articles

6 Easy Ways to Create a Website
Creating a website is not as hard as you think it is. In fact you can do it in 6 easy steps. How? Here it is... 1. Conceptualize an idea. Think what you like your future website to be. What audience will you cater? Everything you...

7 Questions to Understand Your Customer Better
"Suggest your clients the exact services they need for Web Development" Customer service questionnaires can help your clients better understand their requirements. Your clients can benefit by: * Focusing on immediate project...

Fix Your Website Or Say Goodbye To Sales
Your website tells a lot about you and your product so if your website is poorly design you are sure to loose your entire investment as you will be loosing sales by the minute. In this article I have outlined some of the common problems common to...

The bread and butter of website accessibility
The main reason webmasters fail to make their websites accessible is because they don't understand the concept of an "accessible website" in the first place. Lets admit it, when the buzzword accessibility flies about over the web most of us...

Website Templates
Website Templates Looking to establish an online presence? Then, your most affordable solution is to buy a web template. It is important to determine what kind of templates are there in the market before you proceed to but one. The following is...

 
Showing and Hiding HTML elements using Layers

A long time back I visited a site that had a very fancy, animated navigation bar. Now, as a professional web developer, I'm not in favor of DHTML-supported, fancy navigation bars, but it was very fascinating. What they had done was, whenever you hovered your cursor over a link, a big, comics-type dialog balloon appeared to give further details of that link. I wondred how they did it, but then it slipped out of my mind.

That technique uses layers and Cascading Style Sheet definitions, and I'm going to tell you here, how it is done. Nothing pyrotechnic, but it'll pay a way to more complex tasks.

First, the demo. I believe once you visually see it, you'll understand better what I'm trying to accomplish here. Given below is a link. If you take your cursor over the link, an image appears somewhere on the screen. By tweaking you can control the placements. You can see the demo, along with the online version of this article at:

http://www.bytesworth.com/learn/dhtml00001.asp

I've purposely made the image appear over a text area so that you don't think it is a simple rollover image effect. The image actually appears above the text.

Below lies the code that of the effect that appears above.

First the HTML part that defines the general link and the division that defines the placement of the image. Take note of the CSS definitions required to set the z-index and the "hide" attributes. Before testing the code, remember to remove the preceding dots that I have appended so that your email software doesn't read the code as some "process-able" content.

.Bring Your Cursor Here and See The Image
.
.
.

Sign up for PayPal and start accepting credit card payments instantly.