Jump to content

Recommended Posts

Hello,

  So, I know I've seen this done before, but I don't know how to do it:

 

Take this Layout, though right now it is just an image...

splash.jpg

 

If someone were to mouse over "About" I would like the text "Who We Are" to appear to the left of About, in that open space.  If someone moused over "Services" I'd like "What We Do" to appear in the same space.  I will also have the links themselves do a rollover effect, though I know how to do that.

 

If anyone could point me in the right direction, I'd appreciate it very much!  Thanks in Advance!

 

 

You could do this purely in css. Eric Meyer made something like that.

 

How it works:

 

<div id="nav">

<ul>

    <li class="about">

      <a>About</a>

        <span>Who we are</span>

    </li>

    <li class="contact">

    <a>Contact Us

      <span>Get in touch</span>

    </li>

</ul>

</div>

 

Span is hidden. Display: none;

 

On the mouse hover:

 

ul li.about:hover span {

display: block;

}

 

You get the idea. Google is your friend.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.