Button Toggle ADF Javascript(Works in Firefox but not in IE. why ?)

I have written a code to toggle button in ADF as follows:
<af:resource type="javascript">
function enableDisable(actionEvent){
alert("21");
document.getElementById('cb1').style.background='red';
document.getElementById('cb2').style.background='green';
alert("221");
function enableDisable1(actionEvent){
alert("21");
document.getElementById('cb1').style.background='green';
document.getElementById('cb2').style.background='red';
alert("221");
</af:resource>
<af:form id="f1">
<af:commandButton text="commandButton 1" id="cb1"
inlineStyle="background:'red';">
<af:clientListener method="enableDisable" type="click"/>
</af:commandButton>
<af:commandButton text="commandButton 2" id="cb2" inlineStyle="background:'green';">
<af:clientListener method="enableDisable1" type="click"/>
</af:commandButton>
This code works fine in Firefox, But My requirement is to run it in IE which it doesn't.
Kindly provide me solution or any pointers to resolve this.

I do not now what the function of this declaration is, but
please remove this from the beginning your css and IE7 also shows
bullets:
margin: 0;
padding: 1;
The padding: 1; is definitely an error cause there should be
at least something like px behind the 1, so like padding:
1px;

Similar Messages

  • After uninstalling and downloading the latest Abobe Flash player, I can no lnger play youtube videos. I get the message "blocked plug-in". It works in Firefox, but not Safari.

    After uninstalling and downloading the latest Abobe Flash player, I can no lnger play youtube videos. I get the message "blocked plug-in". It works in Firefox, but not Safari?

    Frostbitblue,
    in Safari’s Preferences, select its Security tab, and make sure that its “Internet plug-ins: Allow Plug-ins” checkbox is checked.

  • Rollovers & actions work in Firefox but not IE

    Hello,
    The site www.lamps-on-line.com has rollovers and actions created a few years ago in GoLive and now these effects only work in Firefox, but not in Interenet Explorer (IE7), which displays page errors.  Is there a way to fix this? I acknowledge that the site needs replacing but while it's still running my client wants it fixed.
    I set up a test page at www.lamps-on-line-com/test.html in which I took off all rollovers and actions, and this loads OK but I really don't want to have to resort to doing this on every page.
    I wondered if it is somrthing to do with 'Doctype'?
    Hope someone can help.
    Stephen

    Hytrical wrote:
    The site www.lamps-on-line.com has rollovers and actions created a few years ago in GoLive and now these effects only work in Firefox, but not in Interenet Explorer (IE7) which displays page errors.
    I didn't see any errors when I looked at yourhome page in IE7 (on Vista). So which page elements were producing an error and what was the error you were seeing? Did you delete the cache in IE7 to check whether it was a caching problem? Tools > Internet Options > Browsing history (choose to delete)?
    John

  • Yahoo fantasy football videos crashes every time on firefox but not on IE, why

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/753709]<br>
    Thanks - c</blockquote><br>
    Yahoo fantasy football videos crashes every time on latest Firefox but not on IE, why?
    What can be done since I like using Firefox so much more than IE

    safemode disables addons, hardware acceleration and some custom settings but not plugins!

  • Trailing cursor javascript works in IE, but not in Firefox

    Javascript trailing cursor works in IE, but not in Firefox
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322)

    Without any links to the [http://pastebin.mozilla.org code] we can only suggest you test it in more browsers such as [http://www.opera.com/ Opera] and [http://www.google.com/chrome/ Chrome]

  • Flash buttons work in FireFox but not IE

    Please can someone please take a look and see if they can
    figure it out cos i can't!
    roundshaw (dot) co (dot) uk
    The increase and decrease flash buttons at the top of the
    page works ok in FireFox but not in Internet Explorer.
    Can anyone see what i have missed that stops it working in
    IE?
    thanks in advance for your help.
    Jason

    Hello again,
    Yep, sounds like you've got the general idea.
    hries22 wrote:
    I'm going to start from scratch and give it another go...would you reccomend converting every button to a symbol? Then give the symbols  a mouseover, click, and mouseout?
    I'd take all the elements that make up the button, and convert that into a symbol. Then you can go to labels with your code without worrying about the main timeline. Put all your code on the elements themselves, and not on the symbol instance.
    hries22 wrote:
    Also - and this minor - but is there a way to get a button's mouseover area to recognize transparency? For instance - I'll use a .png with transparency for a button...let's say the T-shirt. I want the mouseover to activate only when the mouse is over the t-shirt, and not over the transparent area around the t-shirt...any thoughts?
    By default, the hit area of a div in HTML is its bounding box. Right off the top of my head, I'm not sure there's a way to change it...maybe someone else can chip in?
    EDIT: here's an old-school way...could be a lot of work: http://www.svennerberg.com/2008/09/imagemap-rollover/
    hth,
    Joe

  • Added a spry menu bar and site works in firefox but not in chrome or IE.  Please help

    Hello,
    I'm a photographer by trade and have only picked up enough web design knowledge  in order to build a website that isn't distracting to my photographs and is simple to update and mantain.  Please breakdown any answers to my questions in very simple terms.
    To start off here is a link to my site for reference.  www.cechternach.com
    1.  My Biggest problem right now is that my site works in firefox but appears as a blank white page in chrome and in IE it only shows my background color.
         I'm assuming that this has something to do with the spry menu bar I added.  The galleries, banner, and footer were all part of a previous version of this website that didn't use the menu bar.  I actually used png's exported from an illustrator as buttons.  I've been wrestling with this menu bar for a few days now.  I had an issue with the menubar forcing down the gallery below it.  that was fixed by changing a position value from relative  to absolute in the menubar css.  Then I couldn't see the submenu over the galleries.  I think I fixed that with a wmode change but I"m not sure if I did that right.  I believe i needed to change that in the object and embed part of the code.  One spot for certain browsers and the other spot for other browsers.  I was a little confused on this because i also read that i needed to change the wmode in the javascript file in dreamweaver cs4 which is what i'm using.  Whatever wmode I changed it seemed to work in firefox.  The submenu background was showing up transparent but i fixed that in the menubar css.
    2.  I would like the submenu's to have a semi transparent blurred background effect.  Is this possible with a spry menu bar?
    3.  How do I center my text in the submenu?
    4.  My menu bar buttons should be the same font as my name in my banner.  It looks fine on my computer that has that font loaded but on other computers I was testing the site on the menubar buttons show up as a default font.  How can i fix this?
    5.  Is there any way to get rid of the grey lines that show up around my slideshow pro galleries and menu bar buttons when they are clicked?
    The last four questions aren't as important as the first one.  I may be upsetting the flow of the forum as well.  Please let me know if I'm not following procedure with any of my questions.  Feel free to point out any other problems you see with my page.  I'm trying to learn this as I go.  Thanks in advance.

    Spry widgets, which includes the SpryMenuBar, in their original state do not pose any problem in any browser!
    Widgets contain two parts
    JavaScript which drives the widget
    CSS which styles the widget to individual tastes
    The most common reason for a widget to misbehave especially in IE is because the inexperienced web developer has upset the delicate balance of the CSS. I say delicate, because in the original, great care has been taken by the Spry team to ensure cross browser compatibility.
    There are other reasons why a whole page can misbehave. In these cases, the culprit should be sought outside of the Spry framework.
    When trouble shooting, I would first of all comment out all of the Spry Spry parts and test the page in IE. If it does work after that, then yes come back here and we will have a look at the SpryMenuBarHorizontal.css for you.
    If it doesn't work after disabling Spry, then have a look at the coding and the CSS for your page and fix that.
    I hope this helps.
    Ben

  • Why does the FP 10 work with firefox but not with IE8

    I down loaded the folowing for xp FP uninstall, FP plugin and FP debug from the link in one of your replys. now I can watch youtube  with firefox but not with IE8. you asked me before if i was using 16 bit. whats that mean and how do I find out? please help I just want to watch youtube on IE!

    Ok Shag, since you hadn't been on a Forum before, then I'll take some of what I said back:-) I wanted you to stay on one thread, you can get in trouble trying things that may cause you more problems than you had in the beginning. I just had your best interest at heart
    I'll even overlook your all caps here:-) At least you responded
    Now since you say you fixed it, what you should do is to confirm it is fixed by taking a look at your Flash folder. This contains all of the Flash files for IE and FF. Then make sure you have the IE add on and the FF add on. That way if you have any future problems, at least you would know it is not the Flash Player.
    You should only have 2 .exe files for IE and 1 for FF.
    For Video editing, I would check Microsoft and see what they have. Perhaps someone else will come along with other info for you.
    No, I don't get paid here, since I am not an employee. Just a user helping others, since I had a problem at one time and after 4 hours of researching solved it.
    Let me know if you want to check the Flash files.
    Thanks,
    eidnolb

  • Works in Firefox but not in IE

    I have a webpage that when published looks exactly how I want
    it to in firefox but not in Internet Explorer. The problem is it
    shows the bulleted list in Firefox but not in IE. How can I fix
    this?

    I do not now what the function of this declaration is, but
    please remove this from the beginning your css and IE7 also shows
    bullets:
    margin: 0;
    padding: 1;
    The padding: 1; is definitely an error cause there should be
    at least something like px behind the 1, so like padding:
    1px;

  • Attr method works in Firefox but not in IE8

    I have a page load javascript that does .attr to a button.. this works in Firefox and Chrome but not IE8..
    This is what I found as a solution on a web site.. but I dont know how to append the button to a DOM element:
    The 'attr()' method does not return the expected values in IE8, but it does so in Firefox and Safari. This can be remedied by appending the IMG element to a DOM element (like 'html' or 'body') and calling 'attr()' again.
    /* get original onclick event */
    var origAction = $('button[value=Create]').attr('onclick').toString();
    /* get link from original onclick event using regular expression */
    var link = origAction.match(/(redirect\((\'|\"))([^\'\)|\"\)]*)/)[3];
    /* Remove original onclick event */
    $('button[value=Create]').removeAttr('onclick');
    /* store link as title attribute of button */
    $('button[value=Create]').attr('title', link);

    Hi,
    I have not tested and do not know does it make any different, but try use selector
    $('button[value="Create"]')Regards,
    Jari

  • Dataset works in FireFox but not IE

    I have a simple XMLDataSet that I have bound to a
    <select> inside a <td>. It works perfectly in Firefox,
    but in IE the select doesn't get loaded with the elements from the
    dataset and no errors are generated. Below is the simplified HTML
    that demonstrates the problem.
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <script type="text/javascript"
    src="../Spry/includes/xpath.js"></script>
    <script type="text/javascript"
    src="../Spry/includes/SpryData.js"></script>
    <script type="text/javascript">
    var dsMyDataSet = new Spry.Data.XMLDataSet( "myData.xml",
    "/collection/item", { useCache: false } );
    </script>
    </head>
    <body>
    <table>
    <tr><th>Select one</th></tr>
    <tr><td><select spry:region="dsMyDataSet">
    <option value="0">Please Select One</option>
    <option spry:repeat="dsMyDataSet"
    value="{@id}">{name}</option>
    </select>
    </td>
    </tr></table>
    </body>
    </html>
    and myData.xml is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <collection>
    <item id="1"><name>Name
    1</name></item>
    <item id="2"><name>Name
    2</name></item>
    </collection>
    I've found some undesirable work-arounds to the problem, like
    wrapping the select in a span and binding the span to the region,
    but the page presentation in FireFox generates quite a bit of
    flicker - IE paints okay.
    Any help on this would be great.
    Thanks,
    Griffin

    I have a similar problem with Safari (Displays fine with
    FireFox). This is just testing code to see how it works:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <script type="text/javascript"
    src="/js/xpath.js"></script>
    <script type="text/javascript"
    src="/js/SpryData.js"></script>
    <script type="text/javascript">
    var dsfavorites = new
    Spry.Data.XMLDataSet("classroom.xml","classroom/favorite");
    </script>
    </head>
    <body>
    <div spry:region="dsfavorites">
    <p>ID: {dsfavorites::@id}</p>
    <p>Title: {dsfavorites::title}</p>
    <p>Category: {dsfavorites::category}</p>
    <p>Grade: {dsfavorites::grade}</p>
    <p>Description: {dsfavorites::description}</p>
    </div>
    </body>
    </html>

  • Newsletter sign up form works in Firefox but not IE??

    Hi, I have a website I am designing using dreamweaver CS3 and I added a newsletter sign up form using a 3rd party code. The form on the website looks perfectly fine in Firefox but the form fields are not present in IE. Does anyone know why this may be happening? The site is www.physioworks4me.com and I apologise in advance for my coding as I am just learning and not very good at this yet. I took the code that was supplied for the sign up form, opened up a brand new 'plain' html doc in dreamweaver, pasted the code and tried it. It seemed to work fine in both IE and FF....but when I use my template for the webpage I made, it will not work. I am using a XHTML page, could this be a problem with the javascript used for the sign up form? Thanks in advance for your help...

    The first suggestion you'll receive from most here is to clean up your code
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.physioworks4me.com%2F&charset=%28detect +automatically%29&doctype=Inline&group=0
    Also, you may have quicker results changing to a HTML Transitional doctype.

  • HTML snippet works on Firefox but not in IE or Safari

    First off, I'm a newbie.
    I just created a webcam site in iWeb at www.blackcatcam.com. I used the following HTML snippet to show the webcam image;
    http://home.comcast.net/~ebizboy/Webcam.jpg />
    It is supposed to go get a constantly updated webcam image from the server and display it on the web site.
    The entire page works fine using Firefox but the webcam image does not show up using Safari and the HTML snippet itself shows up when accessing the page from IE.
    Any suggestions?
    Regards,
    Gatto Nero

    Yikes. Now I'm even more confused. I am using Safari Version 4.0.3. I can see the links on the right and the ads on the left just fine, but still no webcam image. Would you mind clicking on the link for the Live View and let me know if that works for you? I found out that the gadget I used for that won't work with IE but it works fine for me with Safari and Firefox.

  • JavaScript works in Pro but not Reader - NotAllowedError

    I have created a web form in Adobe XI Pro. We have some progress bars at the top with number of fields completed type of thing. All of my JavaScript works perfectly in Acrobat. I save it like so Save As Other > Reader Extended PDF > Enable More Tools. Again everything works in Acrobat. When I open the PDF in Reader the JavaScript won't work. My forms still fill I can save and such, but no JavaScript progress bars. We create this form frequently and it has always worked. I assume it is some sort of new update to Adobe XI Pro. Here is the error I receive in the debugger:
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.title:27:Document-Level:Progress
    I was thinking it might be related to the security settings these are the only 2 things not allowed.
    Document Assembly : Not Allowed
    Page Extraction: Not Allowed
    But as I read through the forums I am not sure that is actually the problem. Any ideas?
    Thanks in advance,
    Jen

    //Turn off the warnings when JavaScript is enabled
    this.getField("JavascriptWarning").display = display.visible;
    this.getField("ProgressTracking").display = display.visible;
    //Required fields warning
    this.alerted = false;
    //Define all required fields
    this.first = this.getField("FirstName");
    this.family = this.getField("FamilyName");
    this.addressOne = this.getField("AddressOne");
    this.addressTwo = this.getField("AddressTwo");
    this.postcodeOne = this.getField("Postcode-1");
    this.daytimeTelephone = this.getField("DaytimeTelephone");
    this.payrollReference = this.getField("PayrollReference");
    //---P46
    this.nationalOne = this.getField("NationalInsurance1");
    this.nationalTwo = this.getField("NationalInsurance2");
    this.nationalThree = this.getField("NationalInsurance3");
    this.nationalFour = this.getField("NationalInsurance4");
    this.nationalFive = this.getField("NationalInsurance5");
    this.nationalSix = this.getField("NationalInsurance6");
    this.nationalSeven = this.getField("NationalInsurance7");
    this.nationalEight = this.getField("NationalInsurance8");
    this.nationalNine = this.getField("NationalInsurance9");
    this.title = this.getField("Title");
    this.surnameOne = this.getField("SurnameFamilyName-1");
    this.firstOne = this.getField("FirstorGivenName-1");
    this.dobOne = this.getField("DOB-1");
    this.dobTwo = this.getField("DOB-2");
    this.dobThree = this.getField("DOB-3");
    this.dobFour = this.getField("DOB-4");
    this.dobFive = this.getField("DOB-5");
    this.dobSix = this.getField("DOB-6");
    this.dobSeven = this.getField("DOB-7");
    this.dobEight = this.getField("DOB-8");
    this.houseOne = this.getField("HouseOrFlatNumber-1");
    this.restAddressOne = this.getField("RestOfAddress-1");
    this.dateOne = this.getField("Date-1");
    //---Leidos Employee Bank Details For Payroll
    this.employeeNumber = this.getField("EmployeeNumber");
    this.bankName = this.getField("BankName");
    this.bankAddressOne = this.getField("BankAddressOne");
    this.bankAddressTwo = this.getField("BankAddressTwo");
    this.bankPostcodeOne = this.getField("BankPostcode-1");
    this.bankSortCodeOne = this.getField("BankSortCode-1");
    this.bankAccountNumber = this.getField("BankAccountNumber-1");
    this.effectiveDate = this.getField("EffectiveDate");
    //---Baseline Personnel Security Standard
    this.birthPlace = this.getField("PlaceOfBirth");
    this.birthNationality = this.getField("NationalityAtBirth");
    this.presentNationality = this.getField("PresentNationality");
    //Load them all into an array
    this.REQUIRED = [first, family, addressOne, addressTwo, postcodeOne, daytimeTelephone, payrollReference, nationalOne, nationalTwo, nationalThree, nationalFour, nationalFive, nationalSix, nationalSeven, nationalEight, nationalNine, title, surnameOne, firstOne, dobOne, dobTwo, dobThree, dobFour, dobFive, dobSix, dobSeven, dobEight, houseOne, restAddressOne, dateOne, employeeNumber, bankName, bankAddressOne, bankAddressTwo, bankPostcodeOne, bankSortCodeOne, bankAccountNumber, effectiveDate, birthPlace, birthNationality, presentNationality ];
    //Define the colors to be used
    this.gray = ["RGB", 0.208, 0.208, 0.208];
    this.amber = ["RGB", 0.992, 0.905, 0];
    this.red = ["RGB", 0.937, 0.282, 0.212];
    this.green = ["RGB", 0.431, 0.710, 0.016];
    //Call the document-level functions to update the Checklist
    updateAll();
    function updateAll()
      Dupdate();
      EOWupdate();
      LNHupdate();
      EBDupdate();
      BPSSupdate();
    //Updates the P46 entry.
    /*----------------NEW-------------------*/
    function Dupdate()
      this.DfieldCount = 0
      this.DnumComplete = 0;
      //Get all required fields in the form ----------- ecFirst, ecNationalOne
      var postcodeOne = this.getField("Postcode-1");
      var nationalOne = this.getField("NationalInsurance1");
      var nationalTwo = this.getField("NationalInsurance2");
      var nationalThree = this.getField("NationalInsurance3");
      var nationalFour = this.getField("NationalInsurance4");
      var nationalFive = this.getField("NationalInsurance5");
      var nationalSix = this.getField("NationalInsurance6");
      var nationalSeven = this.getField("NationalInsurance7");
      var nationalEight = this.getField("NationalInsurance8");
      var nationalNine = this.getField("NationalInsurance9");
      var title = this.getField("Title");
      var surnameOne = this.getField("SurnameFamilyName-1");
      var firstOne = this.getField("FirstorGivenName-1");
      var dobOne = this.getField("DOB-1");
      var dobTwo = this.getField("DOB-2");
      var dobThree = this.getField("DOB-3");
      var dobFour = this.getField("DOB-4");
      var dobFive = this.getField("DOB-5");
      var dobSix = this.getField("DOB-6");
      var dobSeven = this.getField("DOB-7");
      var dobEight = this.getField("DOB-8");
      var houseOne = this.getField("HouseOrFlatNumber-1");
      var restAddressOne = this.getField("RestOfAddress-1");
      var dateOne = this.getField("Date-1");
      var dFields = [postcodeOne, nationalOne, nationalTwo, nationalThree, nationalFour, nationalFive, nationalSix, nationalSeven, nationalEight, nationalNine, title, surnameOne, firstOne, dobOne, dobTwo, dobThree, dobFour, dobFive, dobSix, dobSeven, dobEight, houseOne, restAddressOne, dateOne];
      //Check required fields for completion and visibility
      for (var i in dFields)
      if (dFields[i].display == display.visible)
      this.DfieldCount++;
      if (dFields[i].value != "" && dFields[i].name != "ReceiveCopy")
      this.DnumComplete++;
      if(dFields[i].name == "ReceiveCopy")
      if(dFields[i].value == "Yes" || dFields[i].value == "No")
      this.DnumComplete++;
      var t = this.getField("PFortySix");
      if (DnumComplete == 0)
      t.fillColor = this.gray;
      this.getField("DProgress").userName = "";
      else if (DnumComplete < DfieldCount)
      t.fillColor = this.amber;
      this.getField("DProgress").userName = "";
      else
      t.fillColor = this.green;
      this.getField("DProgress").value = this.DnumComplete + "/" + this.DfieldCount;
      if (this.DnumComplete == this.DfieldCount) this.getField("DProgress").userName = "Done";
    //Updates the Leidos Expression of Wish entry.
    /*----------------NEW-------------------*/
    function EOWupdate()
      this.EOWfieldCount = 0
      this.EOWnumComplete = 0;
      //Get all required fields in the form ----------- ecFirst, ecFamily, ecAddressOne, ecAddressTwo, ecPostcodeOne, ecNationalOne
      var first = this.getField("FirstName");
      var family = this.getField("FamilyName");
      var addressOne = this.getField("AddressOne");
      var addressTwo = this.getField("AddressTwo");
      var postcodeOne = this.getField("Postcode-1");
      var daytimeTelephone = this.getField("DaytimeTelephone");
      var payrollReference = this.getField("PayrollReference");
      var nationalOne = this.getField("NationalInsurance1");
      var nationalTwo = this.getField("NationalInsurance2");
      var nationalThree = this.getField("NationalInsurance3");
      var nationalFour = this.getField("NationalInsurance4");
      var nationalFive = this.getField("NationalInsurance5");
      var nationalSix = this.getField("NationalInsurance6");
      var nationalSeven = this.getField("NationalInsurance7");
      var nationalEight = this.getField("NationalInsurance8");
      var nationalNine = this.getField("NationalInsurance9");
      var dobOne = this.getField("DOB-1");
      var dobTwo = this.getField("DOB-2");
      var dobThree = this.getField("DOB-3");
      var dobFour = this.getField("DOB-4");
      var dobFive = this.getField("DOB-5");
      var dobSix = this.getField("DOB-6");
      var dobSeven = this.getField("DOB-7");
      var dobEight = this.getField("DOB-8");
      var eowFields = [first, family, addressOne, addressTwo, postcodeOne, daytimeTelephone, payrollReference, nationalOne, nationalTwo, nationalThree, nationalFour, nationalFive, nationalSix, nationalSeven, nationalEight, nationalNine, dobOne, dobTwo, dobThree, dobFour, dobFive, dobSix, dobSeven, dobEight ];
      //Check required fields for completion and visibility
      for (var i in eowFields)
      if (eowFields[i].display == display.visible)
      this.EOWfieldCount++;
      if (eowFields[i].value != "")
      this.EOWnumComplete++;
      var t = this.getField("ExpressionWish");
      if (EOWnumComplete == 0)
      t.fillColor = this.gray;
      this.getField("EOWProgress").userName = "";
      else if (EOWnumComplete < EOWfieldCount)
      t.fillColor = this.amber;
      this.getField("EOWProgress").userName = "";
      else
      t.fillColor = this.green;
      this.getField("EOWProgress").value = this.EOWnumComplete + "/" + this.EOWfieldCount;
      if (this.EOWnumComplete == this.EOWfieldCount) this.getField("EOWProgress").userName = "Done";
    //Updates the Leidos Limited New Hires entry.
    /*----------------NEW-------------------*/
    function LNHupdate()
      this.LNHfieldCount = 0
      this.LNHnumComplete = 0;
      //Get all required fields in the form ----------- ecFirst, ecFamily
      var first = this.getField("FirstName");
      var family = this.getField("FamilyName");
      var lnhFields = [first, family ];
      //Check required fields for completion and visibility
      for (var i in lnhFields)
      if (lnhFields[i].display == display.visible)
      this.LNHfieldCount++;
      if (lnhFields[i].value != "")
      this.LNHnumComplete++;
      var t = this.getField("LimitedNewHires");
      if (LNHnumComplete == 0)
      t.fillColor = this.gray;
      else if (LNHnumComplete < LNHfieldCount)
      t.fillColor = this.amber;
      else
      t.fillColor = this.green;
      this.getField("LNHProgress").value = this.LNHnumComplete + "/" + this.LNHfieldCount;
      if (this.LNHnumComplete == this.LNHfieldCount) this.getField("LNHProgress").userName = "Done";
      else this.getField("LNHProgress").userName = "";
    //Updates the Leidos Employee Bank Details for Payroll entry.
    /*----------------NEW-------------------*/
    function EBDupdate()
      this.EBDfieldCount = 0
      this.EBDnumComplete = 0;
      //Get all required fields in the form -----------
      var first = this.getField("FirstName");
      var family = this.getField("FamilyName");
      var employeeNumber = this.getField("EmployeeNumber");
      var bankName = this.getField("BankName");
      var bankAddressOne = this.getField("BankAddressOne");
      var bankAddressTwo = this.getField("BankAddressTwo");
      var bankPostcodeOne = this.getField("BankPostcode-1");
      var bankSortCodeOne = this.getField("BankSortCode-1");
      var bankAccountNumber = this.getField("BankAccountNumber-1");
      var effectiveDate = this.getField("EffectiveDate");
      var ebdFields = [first, family, employeeNumber, bankName, bankAddressOne, bankAddressTwo, bankPostcodeOne, bankSortCodeOne, bankAccountNumber, effectiveDate ];
      //Check required fields for completion and visibility
      for (var i in ebdFields)
      if (ebdFields[i].display == display.visible)
      this.EBDfieldCount++;
      if (ebdFields[i].value != "")
      this.EBDnumComplete++;
      var t = this.getField("EmployeeBankDetails");
      if (EBDnumComplete == 0)
      t.fillColor = this.gray;
      else if (EBDnumComplete < EBDfieldCount)
      t.fillColor = this.amber;
      else
      t.fillColor = this.green;
      this.getField("EBDProgress").value = this.EBDnumComplete + "/" + this.EBDfieldCount;
      if (this.EBDnumComplete == this.EBDfieldCount) this.getField("EBDProgress").userName = "Done";
      else this.getField("EBDProgress").userName = "";
    //Updates the Baseline Personnel Security Standard entry.
    /*----------------NEW-------------------*/
    function BPSSupdate()
      this.BPSSfieldCount = 0
      this.BPSSnumComplete = 0;
      //Get all required fields in the form -----------
      var first = this.getField("FirstName");
      var family = this.getField("FamilyName");
      var addressOne = this.getField("AddressOne");
      var addressTwo = this.getField("AddressTwo");
      var postcodeOne = this.getField("Postcode-1");
      var daytimeTelephone = this.getField("DaytimeTelephone");
      var dobOne = this.getField("DOB-1");
      var dobTwo = this.getField("DOB-2");
      var dobThree = this.getField("DOB-3");
      var dobFour = this.getField("DOB-4");
      var dobFive = this.getField("DOB-5");
      var dobSix = this.getField("DOB-6");
      var dobSeven = this.getField("DOB-7");
      var dobEight = this.getField("DOB-8");
      var birthPlace = this.getField("PlaceOfBirth");
      var birthNationality = this.getField("NationalityAtBirth");
      var presentNationality = this.getField("PresentNationality");
      var bpssFields = [first, family, addressOne, addressTwo, postcodeOne, daytimeTelephone, dobOne, dobTwo, dobThree, dobFour, dobFive, dobSix, dobSeven, dobEight, birthPlace, birthNationality, presentNationality];
      //Check required fields for completion and visibility
      for (var i in bpssFields)
      if (bpssFields[i].display == display.visible)
      this.BPSSfieldCount++;
      if (bpssFields[i].value != "")
      this.BPSSnumComplete++;
      var t = this.getField("Baseline");
      if (BPSSnumComplete == 0)
      t.fillColor = this.gray;
      else if (BPSSnumComplete < BPSSfieldCount)
      t.fillColor = this.amber;
      else
      t.fillColor = this.green;
      this.getField("BPSSProgress").value = this.BPSSnumComplete + "/" + this.BPSSfieldCount;
      if (this.BPSSnumComplete == this.BPSSfieldCount) this.getField("BPSSProgress").userName = "Done";
      else this.getField("BPSSProgress").userName = "";

  • [Locked] Link colors work in Firefox but not Internet Explorer

    http://zenfotoz.com
    I have changed the link colors by setting a CSS class to a non default color a:link to the div containing thumbnails. The site behaves as designed in Firefox, but uses default colors in Internet Explorer and no colors in Safari for windows. 
    Is this a known bug/issue with a workaround or am I just doing this incorrectly?
    Thanks,
    Erik

    You have replied to a message that's more than a year old. If you're having problems with your links, post a URL to your site, and someone can have a look to see what the problem is.
    [Thread locked because of duplicate post.]

Maybe you are looking for

  • Unable to create multiple link pulldown menu

    Hi, I'm trying to create an animated pulldown menu. It works when I TEST MOVIE, but when I put it in my Flash web page, the getURL code link does not work. Also, in the TEST MOVIE, it only works for one link on the pulldown at a time. As soon as I ad

  • Detecting changes in address in a smartform to allow sorting into envelopes

    Hello, We have a sorting machine which can place hardcopy invoices into envelopes, placing several invoices into 1 envelope as long as the billing address is the same. To achieve this, we need to print a mark on some invoices to indicate that the cur

  • Can you create links in Muse for downloading files?

    I would like to create links within my website to certain documents, so that users can download them.  For example, I'd like users to be able to download several .pdf files.  Is this possible? How is it done?

  • Cannot connect to iTunes store account.

    Somehow I can access the regular iTunes store and browse the music & apps there, but as soon as I try to access my account, either by clicking on "Account" on the right hand side or on my apple ID on the upper right, iTunes tries to connect but times

  • Concatenate 4 address fields

    Hi, I'm using Reports6i. I'm generating a report based on a table, which has 4 fields addr1,addr2,addr3 and addr4. But in report i want to display as one field Suppose the data in the table is like this addr1       addr2       addr3       addr4 test1