Search
Recommended Sites
Related Links






Valid XHTML 1.0 Transitional

Valid CSS!
   

Informative Articles

Article Software That Boosts Profits and Search Engine Traffic
You may already know that writing articles is a great way to get visitors to your website, and you may also know that Adsense is the perfect revenue generator you can add to article content pages. But collecting topic-specific articles can be...

Guide to Internet Business - Website Setup
After planning the design and content of your website, it's time to actually physically set up your website. This is the step where you put all your designs and plans into action, creating a website that will attract visitors and earn income. a)...

RSS: Really Simple Syndication
More websites are starting to offer RSS feeds, and more users are making use of RSS readers instead of visiting every website they want to read individually. But what is RSS, why is it getting popular, and - most importantly -what can it do for...

Web Design for Newbies... Content Sells... and Sells Again!
Web design! Before a few weeks ago, when I heard those words, they went into my "other" category! "Other" people, with "other" educations, with "other" minds -- brilliant minds, unlike mine (!) -- were the designers of webpages. Certainly...

Website Template usage, beyond what you already know.
When it comes to search engine ranking "cute won't cut it". While search engines can generate a mind staggering volume of traffic what they feed off specifically is content. Search engines utilize software known as crawlers or spiders. Unfortunately...

 
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.