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]

Similar Messages

  • ReCAPTCHA works in IE8 but not in Firefox - Graphics missing

    reCAPTCHA works in IE8 but not in Firefox
    All graphics, the challenge, option boxes, and logo do not appear.

    Make sure that you do not block JavaScript.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    See also:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load

  • Java calendar works in IE but not in Firefox

    This Java code works in IE but not in Firefox - any ideas - tks
    <pre><nowiki><TABLE bgColor=#ffffff border=1 cellPadding=0 cellSpacing=3 id=calendar style="DISPLAY: none; POSITION: absolute; Z-INDEX: 4; left: 28px; top: 365px">
    <TBODY>
    <TR>
    <TD colSpan=7 vAlign=center> <!-- Month combo box -->
    <SELECT id=month onchange=newCalendar()>
    <SCRIPT language=JavaScript>
    // Output months into the document.
    // Select current month.
    for (var intLoop = 0; intLoop < months.length; intLoop++)
    document.write("<OPTION " + (today.month == intLoop ? "Selected" : "") + ">" + months[intLoop]);
    </SCRIPT>
    </SELECT>
    <!-- Year combo box -->
    <SELECT id=year onchange=newCalendar()>
    <SCRIPT language=JavaScript>
    // Output years into the document.
    // Select current year.
    for (var intLoop = 1900; intLoop < 2028; intLoop++)
    document.write("<OPTION " + (today.year == intLoop ? "Selected" : "") + ">" + intLoop);
    </SCRIPT>
    </SELECT>
    </TD>
    </TR>
    <TR class=days> <!-- Generate column for each day. -->
    <SCRIPT language=JavaScript>
    // Output days.
    for (var intLoop = 0; intLoop < days.length; intLoop++)
    document.write("<TD>" + days[intLoop] + "</TD>");
    </SCRIPT>
    </TR>
    <TBODY class=dates id=dayList onclick="getDate('')" vAlign=center> <!-- Generate grid for individual days. -->
    <SCRIPT language=JavaScript>
    for (var intWeeks = 0; intWeeks < 6; intWeeks++)
    document.write("<TR>");
    for (var intDays = 0; intDays < days.length; intDays++)
    document.write("<TD></TD>");
    document.write("</TR>");
    </SCRIPT>
    <!-- Generate today day. --></TBODY> <TBODY>
    <TR>
    <TD class=today colSpan=5 id=todayday onclick=getTodayDay()></TD>
    <TD align=right colSpan=2><A href="javascript:HideCalendar();"><SPAN style="COLOR: black; FONT-SIZE: 10px"><B>Hide</B></SPAN></A></TD>
    </TR>
    </TBODY>
    </TABLE></nowiki></pre>

    Document.all doesn't work in Firefox, you need to use document.getElementById().<br />
    See https://developer.mozilla.org/En/DOM/document.getElementById
    <pre><nowiki> var parseYear = parseInt(document.all.year [document.all.year.selectedIndex].text);
    var newCal = new Date(parseYear , document.all.month.selectedIndex, 1);
    </nowiki></pre>

  • Spry form validation working in IE but not in Firefox or...

    Ok putting together a contact us form and would like a few
    fields to be required. It works in IE7 but not in Firefox, Safari
    or Google Chrome. In IE7 I get the error msg for no valid email but
    in the other browsers it just does nothing. Here is the link to the
    page
    Aspen
    Homes
    Can anyone help with this? I have used Spry on a couple other
    site and never had an issue. I am updated to the most recent
    version also. I am running
    Vista Ultimate (64-bit)
    DW CS3 or DW CS4 (both do the same thing)
    I have attached my code here in a txt file
    Page
    Code
    thanks
    B

    Anyone?

  • My bank id works with IE but not in Firefox, even if I run without extensions. What is the problem?

    My bank id works with IE but not in Firefox, even if I run without extensions. What is the problem?

    Make sure you are using the correct user name / password.
    https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can
    https://support.mozilla.org/en-US/kb/secure-connection-failed-error-message

  • Paste image from clipboard works in Chrome but not in Firefox

    Hi there,
    I would like to know a bit more about the technical reasons why image pasting from clipboard works on Chrome but not Firefox.
    Steps to reproduce:
    1. Open the text editor on github.com, e.g. by commenting on an issue
    2. Copy an image to clipboard
    3. Put the mouse cursor into the text editor area
    4. Use CTRL+V to paste the image into the text editor
    On Chrome, the image is pasted and automatically uploaded on Github. On Firefox nothing happens.
    Can someone please shed light on this lacking feature?
    I would so much love to see support for this on Firefox as it is a very convenient functionality.
    Thank you!

    The best is to try it yourself I guess.
    Go to Github and try pasting an image into the compose editor.
    The editor definitely supports image pastings. They work directly in Chrome(ium).
    Thus I am wondering why Firefox does not support direct pasting from clipboard into the editor.
    See the attached screenshot regarding the editor I am talking about.

  • Java works on chrome but not on firefox

    Java works on Chrome but not Firefox. I've uninstalled and reinstalled Firefox. Chacked all appropriate boxes in Control Panel. Deleted JavaReg.Dat. Enabled plugin. Uninstalled all Java from my computer and reinstalled. Cleared Firefox Cache. No luck.

    Do you see the Java plugin in Tools > Add-ons > Plugins ?
    Firefox is a 32 bit application, so you need to install the 32 bit Java version.
    See Java Platform > Java SE 7U5 or Java 6U33 (Downoad JRE)
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html

  • 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 = "";

  • This site works in Safari but not in Firefox

    This site works fine in Safari but not in the latest version of Firefox on 2 of my computers:
    http://ase.tufts.edu/biology/labs/levin/resources/books.htm
    I've cleared cache, restarted, etc. - no good. On Safari, I see a bunch of tiled thumbnails for various books on Amazon. On Firefox, I see absolutely no thumbnails, just rows of text and horizontal lines (I can't figure out how to upload attachments here).

    Aha! Restarting without add-ons fixed it. I must have something that blocks iframes with links to Amazon books. Thanks!

  • Mouseover works in IE but not in Firefox

    I have 2 pages in my new site that use a mouseover to show
    hide layers. Both pages work in IE, but only one works in Firefox.
    The code appears to be the same, but this is first time I've done
    this, so I may be missing something

    Those pages get ugly fast if you increase the text size in
    your browser.
    This is the price you pay for using Layers as a primary
    layout tool.
    Also, it's a very bad idea to use file/pathnames that contain
    spaces -
    Images/Rollover Navs/Divisions Blue.jpg
    This could be the reason your rollovers are not working in
    Firefox (they
    don't work in Safari, either).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Mkspot" <[email protected]> wrote in
    message
    news:gbpabd$ff4$[email protected]..
    > My mistake- the urls are:
    >
    > www.theworthgroup.com/Divisions.html
    > www.theworthgroup.com/About.html

  • Flash page works in Safari but not in Firefox

    I generate my web pages using LR. When I launch my pages on Safari they look great but on Firefox the slideshow portion is sized MUCH smaller. I have attached the page herehttp://www.8aphotography.com/Interior_Photography_Page/index.html. Please check out on both Firefox and Safari to see what I mean. If anyone can give guidance that would be much appreciated.

    I figured it out. I did not have a </div> at the end of a group of text I added. Funny how Firefox picked it up but not Safari.

  • Got a new dell laptop. adobe flash works on IE but not with Firefox. Manual installation failed. help!

    When trying to install adobe plugin, it fails, as does trying to do it manually. When trying manually, it says to close firefox then it will work but it doesn't. Again, when under IE, adobe flash works but I prefer Firefox.

    In step one you would have downloaded that file, if Firefox is using the normal configurations you should find it in the same location where you download any other files.
    To find out where Firefox downloads files, in the options window go to the general panel and it should show where files are downloaded to. Alternatively if Firefox stores the history of downloaded files, open the downloads window (you can do that by using keyboard shortcut Control+J), right-click on the install_flash_player.exe entry in the download window and select "Open containing folder"

  • Trouble changing Camera RAW settings in Javascript (worked in CS5, but not CS6)

    I just upgraded to Master Collection CS6 from Production Premium CS5, and CameraRAWOpenOptions settings in scripts that I had working in Photoshop CS5 (64-bit) using Extendscript CS5 are no longer working with Photoshop CS6.  I get no error messages, but the settings I specify in the scripts (for example, CameraRAWOpenOptions.exposure=2.00) do not take effect when the image is opened.  Other Photoshop properties and actions within my script are working correctly.
    Note that this is an issue in Photoshop CS6.  I can use Extendscript CS5 or CS6, and the result is the same.
    Here is the way I am changing the settings in my script:
    var RawOptions = new CameraRAWOpenOptions;
    //RawOptions.settings=CameraRAWSettingsType.CUSTOM;
    //RawOptions.settings=CameraRAWSettingsType.SELECTEDIMAGE;
    RawOptions.settings=CameraRAWSettingsType.CAMERA;
    RawOptions.exposure=+2.00;
    RawOptions.vignettingAmount = 0;
    RawOptions.vignettingMidpoint = 0;
    RawOptions.contrast = 50;
    RawOptions.saturation = 0;
    RawOptions.shadows = 0;
    RawOptions.luminanceSmoothing = 0;
    var JPGopts = new JPEGSaveOptions;
    JPGopts.quality = JPEGquality;
    //Perform the loop through the files
    app.open(testListing[0], RawOptions, false);
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    for (var nfile = nstart; nfile < nstop; nfile++)
        app.open(testListing[nfile], RawOptions, false);
        FnameSave = new File(SavePath+"/"+testListing[nfile].name);
        app.activeDocument.saveAs(FnameSave, JPGopts, false, Extension.UPPERCASE);
        app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);

    I found a few of them actually work.
    CameraRAWOpenOptions.tint=0; // works (-150 to 150)
    CameraRAWOpenOptions.temperature=5500; // works (2000 to 50000)
    CameraRAWOpenOptions.luminanceSmoothing = 0; // works 0 to 100
    CameraRAWOpenOptions.saturation=50; // works =100 to 100
    CameraRAWOpenOptions.vignettingAmount=0; //works -100 to 100
    CameraRAWOpenOptions.vignettingMidpoint=0; //works -100 to 100
    These ones do not work:
    CameraRAWOpenOptions.brightness=0; // does not work (0 to 150)
    CameraRAWOpenOptions.contrast=0; // does not work (-50 to 100)
    CameraRAWOpenOptions.exposure = 0; // does not work (-4.0 to +4.0)
    CameraRAWOpenOptions.shadows=0; // (0 to 100) does not work
    CameraRAWOpenOptions.whiteBalance=WhiteBalanceType.SHADE; // does not work
    I noticed that, doing File-->File Info--> "Advanced" tab-->expand "Camera Raw Properties" that the ones that do not work have mostly either been removed (brightness) or had "2012" added to their names in the XMP in the conversion from CS5 to CS6.
    It appears the mapping from Javascript objects/properties to how Photoshop knows them is broken with the new version.  Is there any way to fix this?
    Is there an alternate way to do this by going through XMP?
    Unfortunately, I'm wanting to use "exposure", which is one of the ones that is broken.  My main script sets a custom exposure for each image (trying to smooth out EV jumps between successive images in a sunset time lapse).

  • Javascript works in FF but not in IE7

    I finally got my first ever DW site up, at
    www.excellentbirds.com. In my happiness and excitement, I started
    tweaking things the other day, and added some JS I found that would
    essentially show a different image from an array of image names
    each time the user visited the home page. This works fine in FF,
    which is my normal browser.
    Now I just noticed (my bad!) that this doesn't work in IE7 at
    all! I ran the MS script debugger, and it said that
    the array 'urls' was undefined. That is true as it is not
    "predeclared" (the way you would in ANSI C at least).
    Would anyone be so kind as to take a quick look at the main
    page an tell me how to make this IE-safe?
    Apologies in advance for getting ahead of my knowledge!
    Thanks,
    Mitch

    On Thu, 27 Mar 2008 17:15:38 +0000 (UTC), "LiveFreeOrDie"
    <[email protected]> wrote:
    >I thought of that (being a C programmer), but wanted to
    ask. Others
    >have suggested that the "urls" really just needs to be
    declared with a
    >'var'. IOW, it is not declared properly.
    <sigh> I never really came to grips with C. I was more
    of a
    Pascal/Delphi guy. ;-)
    If I were doing it, I would replace your function with this
    inside the
    <head> of the document:
    <script type="text/javascript">
    <!--
    var urls=Array("images/SANDER0011.jpg",
    "images/SEMPLO0001.jpg","images/SPOSAN0001.jpg",
    "images/ROSSPO0006.jpg","images/PURGAL0013.jpg",
    "images/NORPAR0009.jpg","images/HOOWAR0001.jpg",
    "images/CAMAWA0005.jpg","images/BLUJAY0003.jpg",
    "images/BLBEPL0001.jpg");
    function displayRandomImage(imageName,array){
    document.getElementById(imageName).src=array[new
    Date().getTime()%array.length];
    </script>
    That would also require that you add the ID attribute to the
    image
    you want to display the random image. Change this:
    <img src="images/spacer.gif" name="changeImage" />
    To this:
    <img src="images/spacer.gif" name="changeImage"
    id="changeImage" />
    Gary

  • Site works in IE, but not in Firefox

    First, some particulars:  I am on Windows 7, Internet Explorer 8, Firefox 4, and Flash player version 10.2.159.1.
    In making a few small updates to a website (no functionality changes, just cosmetic ones), I find that now the site will not work properly in Firefox, but it works perfectly fine in Internet Explorer.  The site is all in one .SWF, which works fine when I test it here locally, and works exactly as intended with Internet Explorer.  It is only in Firefox (and Safari, from what a Mac friend tells me) where this problem is occuring.
    The problem I am having in Firefox is that even though the site will load and display the home page properly, but none of the other pages will load when I try to click through to them.  Each page is supposed to fade out as you navigate away from it, and the new page is supposed to fade in.  The home page will fade out as I navigate to another page, but none of the other pages will fade in.  And again, this only happens in Firefox... with Internet Explorer, everything works fine.
    Is there some difference in what bits of ActionScript Firefox recognizes?  The site is behaving on Firefox as though it doesn't recognize the command to fade in a certain page.
    Any help on this matter would be greatly appreciated.

    Based on your page code you should have the swf object javascript file placed on the server per the following address, but it appears to be missing if I try to link to it...
    http://www.joyertomas.com/Scripts/swfobject_modified.js
    Taking care of that might fix your problem
    (It took me awhile to reply mainly because I had to figure out how to uninstall IE9 and get my IE8 back... My updater reported yesterday that IE9 was a critical update for IE8 and installed it over IE8 (I rate that as a criminal business practice).  Today there've been a couple of times where I go to post a reply, such as I just tried for yours, and it acts as if I am trying to navigate to another page rather than posting the reply.  So......  I decided IE9 just isn't ready/needed)

Maybe you are looking for