Search

 

 

Informative Articles

Growing Trends Of The Mobile Phone Industry
The ever-changing mobile communications industry is again transforming consumer perception of telephony on-the-move. We’ve come a long way since the 80’s "brick like" model that gave us the freedom to move away from dingy payphones. In fact, mobile...

GSM Cell Phones - What You Wanted To Ask But Always Slipped Out Of Your Mind...
GSM stands for Global System for Mobile communication. GSM cell phones come with integrated voice mail, high-speed data, fax, paging and Short Messaging Services. Excellent sound quality, International Roaming facility with state of the art...

Key Facts you should know about Web Site design and Search Engine Optimization
1. Web site File Structure / File Naming Most search engines do not recognize beyond two directory levels. Make sure to name your files and directories with keywords. Don’t separate keywords using the underscore instead...

Making Better Web Graphics that grab your attention and load FAST.
AG Graphics Making Better Web Graphics that grab your attention and load FAST. Volume 1, Issue 1 October 1, 2004 You are subscribed to - Making Better Web Graphics that grab your attention and load FAST. If you wish to be removed, you can find...

Mobile phone- PC data synchronization
Mobile Navigator is a worldwide known synchronization tool for your Siemens/Ericsson mobile phone and PC. We celebrated our new generation software by supporting Siemens S55/56/57 first! Great mobile deserves great software..So here it comes...

 
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


U.S.-Bound Passenger Jet Diverted Due To 'Security Issue' On Board
US Airways Flight 787 was headed to Charlotte, N.C., from Paris when it landed in Bangor, Maine, instead. The Transportation Security Administration says there was a report of "suspicious behavior" by a passenger.

Do Credit Card Laws Not Value Homemakers?
Stay-at-home mom Holly McCall says she manages her family's finances and has perfect credit. But due to a federal law, she was denied a credit card because she doesn't make an income. McCall wants the law changed, but Aracely Panameno with the Center for Responsible Lending says the law is necessary. Host Michel Martin speaks with both women.

Lighter Sentence In Clementi Bullying Case
On Monday, Dharun Ravi was sentenced to a 30-day jail term for using a webcam to spy on his roommate Tyler Clementi. Clementi was having an intimate encounter with another man in their dorm room, and a few days later, he committed suicide. Host Michel Martin discusses the sentence with Paul Butler, a law professor and former federal prosecutor.


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
.
.
.