I have a litle error with a.active, i want when a is active to hold the backgroung-position thanks for help

btn1
#navigationMenu a.apartamento {   background-position:-3px -7px;}
#navigationMenu a.apartamento:hover  { background-position:-2px -226px;}
#navigationMenu a.apartamento.active, a:focus { background-position:-2px -226px;}
btn 2
#navigationMenu a.casas { background-position:-117px -5px;}
#navigationMenu a.casas:hover { background-position:-117px -226px;}
#navigationMenu a.casas.active, a:focus { background-position:-117px -226px}
html
<div class="menu-item">
<ul id="navigationMenu">
    <li>
        <a   class="apartamento"  id="img" href="#">
        </a>
    </li>
    <li>
        <a class="casas"  id="img" href="#">
        </a>
    </li>
</ul></div>

hello! Nancy i have a litle problem again i think you can help me i want when click  on sub menu main menu hover active states thank
for all
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Sprite</title>
<script src="http://code.jquery.com/jquery-latest.min.js">
</script>
<style>
#navigationMenu ul li {
    visibility:hidden;
    position: fixed;
#navigationMenu li:hover .playa {
    visibility:visible;
    margin: -115px 65px;
    height:78px;
    width:78px;
}#navigationMenu li:hover .otros {
    visibility:visible;
    margin: -115px 163px;
    height:78px;
    width:78px;
#navigationMenu  .playa:active,
#navigationMenu a.terrenos.active  { background-position:-238px -226px;}
#navigationMenu li {
    list-style:none;
    margin:0;
    padding:0}
#navigationMenu li a {
    /**move text off screen**/
    text-indent: -9999em;
    height:78px;
    width:78px;
    margin:20px 0;
    padding:10px;
    background:url('http://i61.tinypic.com/2e3bqk9.png') no-repeat;
    display:block;
    border-radius: 12px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;   
    box-shadow: 3px 4px 6px #333;
    -moz-box-shadow:3px 4px 6px #333;
    -webkit-box-shadow:3px 4px 6px #333;
/* sub Button */
#navigationMenu a.playa {
    background-position:-3px -336px;
    opacity:0.6;
    filter:alpha(opacity=60);
    box-shadow: none;
#navigationMenu a.playa:hover {
    opacity:1.0;
    filter:alpha(opacity=100); /* For IE8 and earlier */
#navigationMenu a.otros {
    background-position:-115px -336px;
    opacity:0.6;
    filter:alpha(opacity=60);
    box-shadow: none;
#navigationMenu a.otros:hover {
    opacity:1.0;
    filter:alpha(opacity=100); /* For IE8 and earlier */
/* apartamento Button */
#navigationMenu a.apartamento { background-position:-2px -6px;}
#navigationMenu a.apartamento:hover,
#navigationMenu a.apartamento:active,
#navigationMenu a.apartamento:focus,
#navigationMenu a.apartamento.active { background-position:-2px -226px;}
/* casas Button */
#navigationMenu a.casas { background-position:-117px -4px;}
#navigationMenu a.casas:hover,
#navigationMenu a.casas:active,
#navigationMenu a.casas:focus,
#navigationMenu a.casas.active  { background-position:-117px -226px;}
/* terrenos Button */
#navigationMenu a.terrenos { background-position:-237px -3.5px;}
#navigationMenu a.terrenos:hover,
#navigationMenu a.terrenos:active,
#navigationMenu a.terrenos:focus,
#navigationMenu a.terrenos.active  { background-position:-238px -226px;}
/* varios Button */
#navigationMenu a.varios {background-position:-356px -4px;}
#navigationMenu a.varios:hover,
#navigationMenu a.varios:active,
#navigationMenu a.varios:focus,
#navigationMenu a.varios.active  { background-position:-358px -226px;}
</style>
</head>
<body>
<ul id="navigationMenu">
    <li><a class="apartamento" href="#"></a></li>
    <li><a class="casas" href="#"></a></li>
    <li><a class="terrenos" href="#"></a>
        <ul>
            <li><a class="playa" href="#"></a></li>
            <li><a class="otros" href="#"></a></li>
        </ul>
    </li>
    <li><a class="varios" href="#"></a></li>
</ul>
<div><a href="#"><img src="btncontacto.png" alt="contacto" width="160" height="51" /></a></div>
<script>
$('#navigationMenu li a').click(function(){
        $('.active').removeClass('active');
        $(this).addClass('active');
    </script>
</body>
</html>

Similar Messages

  • Need scanner App for Dock. I have Maverick 10.9.5 and Epson Perfection V500 photo. My present app 3.7.1 won't work. Otherwise I have to go into System Preferences every time I scan to Select to switch from the Printer. Thanks for help.

    Need scanner App for Dock. I have Maverick 10.9.5 and Epson Perfection V500 photo. My present app 3.7.1 won't work. Otherwise I have to go into System Preferences every time I scan to Select to switch from the Printer. Thanks for help.

    You might give VueScan a try. It should work with your scanner. There's a demo version that you can use initially.

  • I'm running Windows 7.0 and have installed Adobe Digital Editions 3.0. When I try to open the downloaded acsm file, Windows Media Player tries to open it and can't. Why isn't Adobe DE opening the file? Thanks for help!

    On another computer running Windows XP, when I try to open and acsm file with Adobe DE 3.0 I get an error box showing "Error! Check activation." Help!

    I had the same problem.
    Try this.
    https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html

  • Help, I get error 13019 when trying to sync my 5th generation ipod. I see others have had this error with the touch, but this is not the touch. What can be done?

    Help, I get error 13019 when trying to sync my 5th generation ipod. I see others have had this error with the touch, but this is not the touch. Does anyone have any ideas what can be done?

    follow the steps in this article first
    =http://support.apple.com/kb/HT1451
    after that restore your ipod and resync it
    hope this helps:)

  • I have a 2008 imac with snow leopard.  i installed update 10.9.3 not realizing it's best for Maverick's users.  Now my Itunes 11.2.2 won't burn playlists to CD.   Anyone else with this problem?  CAn I uninstall the 10.9.3 update?

    i have a 2008 imac with snow leopard.  i installed update 10.9.3 not realizing it's best for Maverick's users.  Now my Itunes 11.2.2 won't burn playlists to CD.   Anyone else with this problem?  CAn I uninstall the 10.9.3 update?  Also my HP scannerwill not save the displayed scanned document since this update!  it just saves gray.

    If you have your old system backed up then erase the drive and restore your backup. If you don't have a backup then backup your entire Home folder. Erase the drive and install Snow Leopard after which you can restore your Home folder from the backup.
    Clean Install of Snow Leopard
    Be sure to make a backup first because the following procedure will erase
    the drive and everything on it.
         1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
             with your computer.  Insert the disc into the optical drive and restart the computer.
             After the chime press and hold down the  "C" key.  Release the key when you see
             a small spinning gear appear below the dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, click on Options button
             and select GUID, click on OK, then set the format type to MacOS Extended
             (Journaled, if supported), then click on the Apply button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. Be sure you configure your initial admin account with the exact same
             username and password that you used on your old drive. After you finish Setup
             Assistant will complete the installation after which you will be running a fresh
             install of OS X.  You can now begin the update process by opening Software
             Update and installing all recommended updates to bring your installation current.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    Or you can:
    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the
         computer and after the chime press and hold down the OPTION key until the boot manager
         screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
         Reinstall the 10.9.3 update: OS X Mavericks 10.9.3 Update (Combo).
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Reinstall the 10.9.3 update: OS X Mavericks 10.9.3 Update (Combo).

  • I have purchased a iphone 4s second hand used and when i tried to update its software, it is asking for apple id . i dont have contact with the person to whom i have purchased this device now what should i do

    i have purchased a iphone 4s second hand used and when i tried to update its software, it is asking for apple id . i dont have contact with the person to whom i have purchased this device now what should i do

    You can't do anything. You have encountered the activation lock. Unless you have some sort of contact with the previous owner you have bought a very expensive paper weight.
    You can find out more about activation lock from Apple's site here: Find My iPhone Activation Lock - Apple Support

  • Problem with photoshop CS6 I have an imac intel 10.6.8...when I try to launch photoshop the icon bounces a few times then the adobe app manager tries to open then they both quit. they keep doing this over and over again but won't launch. worked fine for a

    problem with photoshop CS6 I have an imac intel 10.6.8...when I try to launch photoshop the icon bounces a few times then the adobe app manager tries to open then they both quit. they keep doing this over and over again but won't launch. worked fine for a few days after install.

    problem with photoshop CS6 I have an imac intel 10.6.8...when I try to launch photoshop the icon bounces a few times then the adobe app manager tries to open then they both quit. they keep doing this over and over again but won't launch. worked fine for a few days after install.

  • I am having problems with the Preview application.  When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it.   Any ideas on how to resolve this problem?  Thanks for any help

    I am having problems with the Preview application.  When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it.   Any ideas on how to resolve this problem?  Thanks for any help

    Can you open the Preview program without loading a file, like by itself?
    If it doesn't load then I suspect a corrupt Preview preference file.
    Deleting the System Preference or other .plist file
    Can you open other files with Preview, like jpg's and images?
    How about other PDFs? or is it just that one you have downloaded?
    Run through this list of fixes
    Step by Step to fix your Mac

  • I have an Icloud account with my parents but want to make a new one. Will I lose everything that is currently on my phone? i.e. phone numbers, pictures, music

    I have an Icloud account with my parents but want to make a new one. Will I lose everything that is currently on my phone? i.e. phone numbers, pictures, music

    In case you're not clear - iPad/iPhone storage, and iCloud storage, are totally separate. Buying more iCloud storage does not give you more storage space on your device. Your device has a fixed storage space for apps and data (e.g., 16GB - which is more like 12GB in real terms). iCloud storage just allows you to store more documents, mail, photos, etc, in the cloud.
    Matt

  • Have iPod touch 4 with extensive music list. How do I transfer it to the cloud so my other devices can play the music?  I subscribed to ITunes Match, but it's not functioning.

    Have iPod touch 4 with extensive music list. How do I transfer it to the cloud so my other devices can play the music?  I subscribed to ITunes Match, but it's not functioning

    Troubleshooting Match
    http://support.apple.com/kb/TS4054
    Subscribing to Match
    http://support.apple.com/kb/HT4914
    Match for the iOS devices
    http://support.apple.com/kb/HT5637

  • HT201210 I have an unknown error (1621) and my iPod is not being recognised in iTunes or the Finder, even in Disc mode.  Anyone know what's going on?

    I have an unknown error (1621) and my iPod is not being recognised in iTunes or the Finder, even in Disc mode.  Anyone know what's going on?

    Try and force iPod into Recovery Mode:
    1. Turn off iPad
    2. Connect USB cable to computer; leave the other end alone
    3. Press and hold the Home button down and connect the docking end of cable to iPad
    4. Continue holding the Home button until you see the "Connect To iTune" screen
    5. Release the Home button
    6. Open iTune
    7. You should see "iTunes has detected an iPad in recovery mode"
    8. Use iTune to restore iPod
    Note: You need to be patient and repeat the above many times to recover your iPad

  • My CS6 program that has never had a problem before, is not telling me that there is an error and that it "unexpectedly quit" when I simply try to launch the program.  I have restarted my computer several times.  It does the same thing each time.  So then

    My CS6 program that has never had a problem before, is not telling me that there is an error and that it "unexpectedly quit" when I simply try to launch the program.  I have restarted my computer several times.  It does the same thing each time.  So then I tried uninstalling the program and re-installing.  It said that it could not install due to an error.  So I STILL can't launch my program.  I don't know what to do.  Any help would be appreciated.  I have to edit photos for a photoshoot and return them tomorrow. :/

    Reset Photoshop's Preferences?
    Your Photoehop preferences will survive un-installing and re-installing Photoshop......

  • I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks :)

    I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks

    click on the contact which you want to integrate, click the edit button scroll down u will find a option called link contacts use it to link it to the duplicate contact

  • After a few minutes on safari it freezes everything i can't even force quit i have to shut off by holding the power button down please help me with this. thanks

    everything freezes i can't even force quit i have to shut off by holding the power button down please help me with this. thanks

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I have a Mac Pro with 2GB of memory, want to add more. What is a good chip to buy?

    I have a Mac Pro with 2GB of memory, want to add more. What is a good chip to buy?

    Mac Pro
    Early 2008
    Processor  2 x 2.8 GHz Quad-Core Intel Xeon
    Memory  2 GB 800 MHz DDR2 FB-DIMM

Maybe you are looking for