Search
Recommended Sites
Related Links






   

Informative Articles

5 Tips For A Better Website
Having an eye catching website is great, but are you optimizing your website to allow the best performance possible? I receive several emails a day from clients asking how they can get more hits to their websites, what can be done to increase...

Is a Web Site Builder Right for You?
A web site builder can be a real life saver to someone without advanced HTML knowledge or tools. Web site builders allow a relative newbie to the internet create a professional website in very little time. How can you know if using a web site...

Keep Visitors Coming Back Over & Over! Offer Them What They Want!
If you have a site you want to be "sticky" - meaning visitors will hang out at your site and check it out for awhile, and then come back for more visits due to changing content they want to see - you need to have a strategy. You need to know what...

What makes a research-friendly site?
Nowadays, the most popular source of research works is the Internet. In fact it has already shrunk the world into bytes. All the information, data, facts, truths as well as the confusing principles and ideas are pushed into the World Wide Web...

Why Robots.txt?
I am sure that a lot of you have heard of the file named robots.txt (also called a "robot exclusion file") before. But what does this file really pertain to? Basically you can think of a robots.txt file as a list of rules that search engines follow...

 
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.