Issue with onmouseover when attempting to change bgcolor

I am setting up a skeleton jsp page to be used by my team which will consist of a header, left nav, and a footer.
The issue I am having is that on the left nav I want the menu items to change color based on an onmouseover or onmouseout event. I know the following will work:
<td height="20" bgcolor="#f2f2f2" onMouseOver='bgColor="#80d8d8"' onMouseOut='bgColor="#f2f2f2"'>
 Credit Referrals
</td>
However, what I would like to do is not have to hardcode the bgcolor= parameter on each of my <td> statements. Instead, is there a way to use a style sheet so that I can simply refer the onmouseover/out events to the bgcolor in the style sheet?
Thanks...

try this out.
========================
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<style type="text/css">
.navmenu {cursor: hand;
background-color: #e2e2e2;}
.navsub {cursor: hand;
background-color: #f2f2f2;}
.navdv {background-color: #808874;}
</style>
<SCRIPT LANGUAGE="JavaScript">
<!--
function changecolor(id,myclass)
htm = document.getElementById(id);
htm.className=myclass;
//-->
</SCRIPT>
</HEAD>
Here is my code using the class .navmenu :
<div class="navmenu" id="mydiv" onmouseover="changecolor('mydiv','navsub')" onmouseout="changecolor('mydiv','navdv')">
<tr >
<td height="20">
<b>Queues</b>
</td>
</tr>
</div>
<BODY>
</BODY>
</HTML>

Similar Messages

  • Lightroom 5 issue. error occurred when attempting to change modules

    I installed lightroom 5.7.1 and an error appears " error occurred when attempting to change modules. And Lightroom does not work

    Any answer to this?
    I updated my LR to 5.7.1 and I get this message with no preferences folder. 
    I can't use Lightroom!! and I have a deadline
    jim

  • ???  I just installed Lightroom 5 from Amazon for my Mac with 10.10.1 software.  When I open it I get: "An error occurred when attempting to change modules".  It won't import photos and has no side panels under Library.  What should I do?

    I just installed Lightroom 5 from Amazon for my Mac with 10.10.1 software.  When I open it I get: "An error occurred when attempting to change modules".  It won't import photos and has no side panels under Library.  What should I do?

    I Nearly bought from Amazon too but I found a thread from Adobe stating that the only recognized outlet for lightoom is themselves and other outlets serial numbers will not be guaranteed.
    THat at was sufficient for me to buy direct from Adobe, hope you get it sorted.

  • I have cc but lights room is coming up with a error ,An error occurred when attempting to change modules. can you help please

    i have cc but lights room is coming up with  ,An error occurred when attempting to change modules. can you help please

    Error changing modules | Lightroom
    Mylenium

  • Help with "An error occurred when attempting to change modules"

    Hi! I installed LR v2.6.632038 and I received " An error occurred when attempting to change modules" I could not do anything to make it work so I uninstalled it and then tried to reinstall. I never got to enter my serial number so I do not know if it ever uninstalled completely or if I needed to??? I have Mac OSX version 10.6.2 if that helps   Thanks! Kim

    Error changing modules | Lightroom
    Mylenium

  • Any ideas how to deal with "An error occurred when attempting to change modules."

    Trying to use Lightroom 5; get this message every time I begin. "An error occurred when attempting to change modules," and that's all the further the app will go. Very sad, but WHAT IS THE ERROR? I've uninstalled and reinstalled it four or five times -- a couple through Creative Cloud/Application Manager and a couple by direct download .dmg. I've removed preferences, etc., reinstalled Creative Cloud Desktop, repaired permissions, appealed to the Lord, wished on a dandelion. Nothing.
    Searching for the error I find no information anywhere in the last week or month, and beyond that nothing that applies to version 5.
    I'm on a 2012 Macbook Air (Intel i5), OS 10.8.4, 4GB RAM, plenty of disk space and Camera Raw 8.1 installed if that matters.
    Little help? Thanks.

    See here: http://helpx.adobe.com/lightroom/kb/error-changing-modules-lightroom.html
    See here for where to find the Preference file for your OS: http://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroo m-4.html
    See here for how to go about Replacing the Preference File: http://lightroomers.com/replacing-the-lightroom-preference-file/745/

  • An error occurred when attempting to change modules.

    Loaded LR on my iMac, tried to copy & use a catalogue from W7 P/C. Now get "An error occurred when attempting to change modules."  when opening LR. Tried a variety of on-line suggestions, HELP. NB too much hassle with all the other apps to start a new user with such as Adobe and Microsoft.
    George

    Hi, I¹ve been through it again to ensure I¹ve not forgot things. Completely
    removed Lightroom and all files I can find, etc and reloaded. Some tedious
    result. Step 6 is too time consuming at the moment for me, too many things
    on the go since I¹m about to go on holiday and on return I shall need
    Lightroom on this iMac. Any clues? This iMac had Mavericks from new,
    uploaded to Yosemite and then loaded Photoshop CC, Lightroom etc and get
    this damned problem.
    Reading around the web I¹m not the only one with this issue, to suggest a
    new user a/c is a soft option without resolving the issue.
    I hope an expert from Adobe can resolve this,
    Regards, George (retired IT Manager and IT Systems Project Manager)

  • An error occured when attempting to change module in Lr 5

    Hello
    I puchased a new imac yesterday my first apple product so no experience with it. I have purchase lightroom 5 today as a download when I instal it I get an error message.
    An error occured when attempting to change module.
    Anyone out there that can help?
    RuralTraveler1111

    Hi
    Thanks Rave
    I will try the sugestion in this doc. The problem is I am completly new to mac and I have to find my way around I had lightromm 4 on my pc and never had an issue with it.
    It is loading now but it give me this message error and I can do anything no import or anything else. I saw a post somewhere an other user had the same issue and resolve it using the step in the doc you point it out.
    Will work on it.
    Thanks
    RuralTraveler1111

  • Tried all 6steps to Error Message: An error has occurred when attempting to change modules-Please help thx

    Tried all 6steps to Error Message: An error has occurred when attempting to change modules-Please help thx

    Hi, I¹ve been through it again to ensure I¹ve not forgot things. Completely
    removed Lightroom and all files I can find, etc and reloaded. Some tedious
    result. Step 6 is too time consuming at the moment for me, too many things
    on the go since I¹m about to go on holiday and on return I shall need
    Lightroom on this iMac. Any clues? This iMac had Mavericks from new,
    uploaded to Yosemite and then loaded Photoshop CC, Lightroom etc and get
    this damned problem.
    Reading around the web I¹m not the only one with this issue, to suggest a
    new user a/c is a soft option without resolving the issue.
    I hope an expert from Adobe can resolve this,
    Regards, George (retired IT Manager and IT Systems Project Manager)

  • Another "An error occurred when attempting to change modules" error

    Hello all:
    After using Adobe Photoshop Lightroom on Mac OSX trouble free for the past 6 months, I opened up Lightroom today and received the following error: "An error occurred when attempting to change modules." I had not made any changes in between when it worked normally and when the error started to occur. I beleive the last thing I did before this error occurred was to go into the Print Module.
    Other information--I keep all my RAW .NEF files on an external Firewire (800) 750 GB drive. This is on Mac OS X 10.5 running Adobe Photoshop Lightroom 1.3 and also with 1.4.1. I'm running an iMac 20" with dual-core 2.2 Ghz Intel processors and 4 GB of RAM. I have around 25k images total.
    When I noticed this problem, I was on Lightroom 1.3. I immediately upgraded to 1.4.1, which did not solve the problem. I have also tried many suggestions in the forums including uninstalling the application and removing the .plist file.
    I thought I had come up with a solution by creating a new catalog, then importing the former into it. While this seems to work immediately after the import process, as soon as I close it, the problem manifests itself again.
    More details that may or (likely) may not help:
    - Going to the Develop and Print Modules gives me no problems. However, when I click on Library, Slideshow, or Web, I see the error.
    - I upgraded my Mac to the latest patch level after observing this error to no avail.
    So it looks like my choices are to create a new file and reimport every single time, or lose all of the work I've done for the past 6 months on thousands of images.
    Can anyone please help???? I promise to post the solution when we fix this darn thing so others may benefit. I'd be happy to run through any troubleshooting that y'all would suggest outside of switching to a Canon.
    Thanks!!!!
    Matt

    I'd first check for the existence of a file ending in .lock, which should be present when LR is in use, but if it exists when LR is quit, it can cause problems, and should be deleted.
    Please post back your results.

  • I have Lightroom 5 installed on my MacBook Air but when I try to open the program I receive the message "An error occurred when attempting to change modules".  I uninstalled, emptied trash and re-installed but I continue to get the same message.

    I have Lightroom 5 installed on my iMac which I downloaded (uploaded?) to my MacBook Air (via wi-fi) but unlike the iMac, I'm unable to use the program on the MacBook Air.  When I open the program on the iMac and click 'file', (as people using the program would know) there are 21 options - import pics, export, etc, etc - however, in the version on the MacBook Air, opening 'file' gives me four options - New Catalogue, Open Catalogue, Page Setup and Printer - and with that comes the pop-up message "An error occurred when attempting to change modules".  Any ideas please?

    A forum thread from 3 years ago talking about LR 1.x which had this problem seems to need permissions fixed or new folders created with the corrected permissions.  You might try doing a repair permissions for your user and/or run LR as an administrator user.  I am a PC person so cannot tell you exactly how to do that.
    https://forums.adobe.com/message/1457020

  • Lightroom 4: An error occurred when attempting to change modules.

    I downloaded Lightroom 4 a few days ago and installed it on my MacBook Pro. Everything worked great. I thought it would overwrite Lightroom 3, but it didn't. So Lightroom 3 is still installed, but I haven't opened it since I installed Lightroom 4.
    I downloaded Lightroom 4.3 this morning and installed it on the same MacBook Pro.  Using my MacBook Pro and a second monitor, I opened Lightroom 4.3 and worked on some photos. Everything worked great.
    Then I began watching a slideshow in the Lightroom 4.3 slideshow module on the second monitor with my MacBook Pro in the library module. During the slideshow I clicked on the slideshow module on my MacBook Pro and got this error message:
    An error occurred when attempting to change modules.
    Now I can’t get into the slideshow module. I just get the error message.
    I moved the preferences file to the trash and reopened Lightroom 4 but lost color labels, so I put it back in the preferences folder.
    Thanks for your help

    I called Adobe and let them fiddle online with Lightroom on my MacBook Pro. The Adobe tech claims I have a corrupt permissions file. He told me to contact Apple and have them rebuild my permissions file.
    When I contacted Apple, the tech said to startup my MackBook Pro with the option key held down until the first screen appears. Then click on: Recovery HD, arrow, Language, Disk Utility, Macintosh HD, Repair Disk Permissions.
    I did this three times, but some permissions were not repaired. Another Apple tech then suggested I bring my MackBook Pro to a Macintosh authorized repair shop, and have them repair my permissions file. I asked if I can buy Norton Utilities or a similar program and do it myself. The Apple tech said yes, but an authorized repair person will know which permissions to repair and which ones not to touch.
    Unless someone on this forum can tell me how to do this repair myself, I’ll get it repaired next week. And, I’ll post the results as soon as I can.

  • LR 5 no starting, gives error "An error occurred when attempting to change modules." it is a paid version

    LR 5 no starting, gives error "An error occurred when attempting to change modules." it is a paid version and i will soon leave to a ship as i am a seaman, any help available?
    Thank you in advance

    Actually i did check the site for similar questions and found one without unfortunately any solutions, therefore and as i am about to embark a vessel, due to my job Captain in Merchant Marine Ships, I re posted this matter hoping to have a solution from somebody in ADOBE keeping in mind that i never hesitate to make the purchase of the software believing that i would not have this kind of problems with a company such as ADOBE.
    Thanks again and apologise if my post is duplicated, however i do need a solution.

  • Downloaded a trial Light room and got "An error occurred when attempting to change modules." Macinto

    Downloaded a trial Lightroom and got "An error occurred when attempting to change modules." Macintosh. Created another user and it works. WIll this happen if I make a full purchase? I want to use my administrator user.

    Hi ecl44,
    This might be due to incorrect preferences / permissions issue on the Mac.
    You might want to refer to the KB Doc : http://helpx.adobe.com/lightroom/kb/error-changing-modules-lightroom.html

  • Error occurred when attempting to change modules in LR - just purchased and opened for first time

    I just purchased and downloaded the monthly subscription to LR 5 on my new iMac. When I open LR it displays an error message that says "An error occurred when attempting to change modules." I cannot import anything. I'm stuck and very frustrated. I just paid for this monthly service and am stuck for a year. Please help me troubleshoot this problem. I've uninstalled and reinstalled several times as well as restarted my iMac.

    This link Error changing modules | Lightroom does NOT work with creative cloud downloads. I have tried it all, numerous times. Not a solution for us CC users. PLEASE HELP!

Maybe you are looking for

  • Home button not working on iPad 2

    I gad my iPad 2 for Christmas last year, so 11 months. Last month I started to get an issue where my home button wouldn't work. I admit I ignored it for a bit, but it can no longer be avoided. I'm so disappointed and hate faulty goods, so I now hardl

  • WS20000040 Approve Trip

    Hi , I am using the workflow WS20000040 for approving trips. As per the help documentation, this can be customized to be a two step or a single step approval workflow. I have activated the two step approval workflow. As per our business requirements,

  • Assistance in converting/downgrading CS5 file to CS3 version?

    Hi, I noticed in a few other threads that several kind members of this forum have offered to convert files that were created in InDesign CS5 (in my case a trial version) into a format compatible with InDesign CS3 (which I have installed on my system)

  • How to use "csscan" on RAC 10g environment

    Hi all, I have a 10g RAC database whose character set is US7ASCII, and needs to converted to WE8ISO8859P1. I need to run "CSSCAN" to get the information regarding possible issues for this charset conversion. Per Oracle Doc, cluster_database should be

  • Boot Camp - Setup was unable to create a new system partition

    I'm getting this problem installing windows 7 via bootcamp on the macbook pro retina 13 using an usb  drive. I looked up solutions online, and they involved unplugging other usb ports or moving the usb drive from one port to the other. I don't have a