Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    May 2015
    Posts
    4
    Member #
    49561

    Issues with CSS Rollover Map

    Hi There,
    I went to make an edit to the css at: Territory
    and something went awry.

    Upon rollover of the company name, a new map is supposed to slide down but now the anchors aren't working correctly. Any help is greatly appreciated! Here's the CSS & HTML:


    Code:
    .container {
      position: relative;
      height: 760px;
      width: 800px;
      overflow: hidden;
      margin: 0 auto;
    }
    
    .container a {
      margin: 20px;
      color: #a8b7e2;
      font-family: Georgia, "Times New Roman", Times, serif;
      text-align: center;
    }
    
    .container p {
      width: 250px;
      margin: 0 auto 7px auto;
      position: relative;
      top: 350px;
    }
    
    .big {
      position: absolute;
      top: -310px;
      left: 20px;
     
      -webkit-transition: top 1s ease;
      -moz-transition: top 1s ease;
      -o-transition: top 1s ease;
      -ms-transition: top 1s ease;
      transition: top 1s ease;
    }
    
    .featured {
      top: 10px;
      left: 20px;
      z-index: -3;
    }
    
    a:hover .thumb {
       color: #5a6d9e;
    }
     
    a:hover .big {
      top: 0px;
    }
    
    h1.ctr {width: 25px; margin: 0 auto; text-decoration: underline;}
    and here is the HTML:

    Code:
    <h1 class="ctr">Territory</h1>
    <div class="container">
    <p class="thumb">Territory by Salesperson</p>
    <a href="#"><img class="big" src="/images/maps/salespeople.gif" border="0" /></a>
    <p class="thumb">BMI</p>
    <a href="#"><img class="big" src="/images/maps/bmi.gif" border="0" /> </a>
    <p class="thumb">Cambion</p>
    <a href="#"><img class="big" src="/images/maps/cambion.gif" border="0" /> </a>
    <p class="thumb">Conesys</p>
    <a href="#"><img class="big" src="/images/maps/conesys.gif" border="0" /> </a>
    <p class="thumb">Cristek</p>
    <a href="#"><img class="big" src="/images/maps/cristek.gif" border="0" /> </a>
    <p class="thumb">Exxelia</p>
    <a href="#"><img class="big" src="/images/maps/exxelia.gif" border="0" /> </a>
    <p class="thumb">Harwin</p>
    <a href="#"><img class="big" src="/images/maps/harwin.gif" border="0" /> </a>
    <p class="thumb">IEH</p>
    <a href="#"><img class="big" src="/images/maps/ieh.gif" border="0" /> </a>
    <p class="thumb">Semiconductor Circuits</p>
    <a href="#"><img class="big" src="/images/maps/semi.gif" border="0" /> </a>
    <p class="thumb">VMR</p>
    <a href="#"><img class="big" src="/images/maps/vmr.gif" border="0" /> </a> <a href="#"> <img class="big featured" src="/images/maps/holder.gif" border="0" /> </a></div>
    	
    </div>

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    I don't understand. Is "Territory" the company name? What is supposed to implement the hover effect?
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:58 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com