Hi all,

I got a change of implementation. I have two <DIV>s nested within an 
outer <DIV>. The inner <DIV>s are 'float: left' so are therefore side 
by side. Inside the left-hand inner <DIV> there is a <UL> element that 
contains links <a> with <SPAN> tags wrapped within the anchor tags What 
I want to do is when I rollover one of the links in the list, I want to 
display and hide certain <DIV> elements in the inner right-hand side 
<DIV>. All  <DIV>'s in the inner right-hand side will all be sat on top 
of each other, and only one will be shown at any one time. By clicking 
on the links in the list will determine which <DIV> gets displayed.

Is it at all possible to do this in just CSS without having to use JS?

An example of the involving HTML is as followings:

<div id="content_wrap">
         <img src="images/contact_details.gif" alt="projects" 
style="padding-bottom:5px;" />
        <div id="projects">
             <ul id="projects_list">
            <li id="preview1"><a href="/go/main/work/4/28/"><span>Churchills 
Art 
&amp Stationery<br /><span class="project_type">Feb, 
2003</span></span></a></li>
            <li id="preview2"><a href="/go/main/work/4/6/">Wedding-Connect<br 
/><span class="project_type">June, 2005</span></a></li>
            <li id="preview3"><a href="/go/main/work/4/9/">Kylie Tribute<br 
/><span class="project_type">Jan, 2005</span></a></li>
            <li id="preview4"><a href="/go/main/work/4/3/">Your Music Zone<br 
/><span class="project_type">April, 2005</span></a></li>
            <li id="preview5"><a href="/go/main/work/4/11/">Frame 24 
Productions<br /><span class="project_type">September, 
2004</span></a></li>
        </ul>
    </div>

    <div id="portfolio">
        <div id="portfolio_churchill">
            The css Zen Garden invites you to relax and meditate on the 
important lessons of the masters. Begin to see with clarity. So What is 
This About?
    
            <h3>The Objective</h3>
            <p>Description about the objective</p>
    
            <h3>The Solution</h3>
            <p>Description about the Solution</p>
    
            <h3>The Results</h3>
            <p>Description about the results</p>
        </div>
                    
        <div id="portfolio_wedding-connect">
            The css Zen Garden invites you to relax and meditate on the 
important lessons of the masters. Begin to see with clarity. So What is 
This About?
    
            <h3>The Objective</h3>
            <p>Description about the objective</p>

            <h3>The Solution</h3>
            <p>Description about the Solution</p>
    
            <h3>The Results</h3>
            <p>Description about the results</p>
        </div>      
    </div>
</div>

Thanks

Tryst



-----Original Message-----
From: David Laakso <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [email protected]
Sent: Mon, 09 Jan 2006 10:11:19 -0500
Subject: Re: [css-d] Roll-Over <DIV>'s

  [EMAIL PROTECTED] wrote:

  >I am looking to recreate something similar to what has been created 
on >ths (good) website in terms of roll-over <DIV>s. 
>http://www.cssplay.co.uk/menu/scroll_gallery.html
 >Tryst
 >
 Nicholls does a walk through of a slightly different version here:
 <http://www.webreference.com/programming/css_gallery/>.
 hth.
 Regards,
 ~davidLaakso

   
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to