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

Similar Messages

  • 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]

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

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

  • 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).

  • Flash website working in FF but not IE7

    www.gamespamusic.net is
    working in FireFox but not working in IE7 I dont know whats going
    on here. Can someone help me with this??? Im trying to figure this
    out but its seems like i cant lol. Please HELP

    Ive also had others try it in both IE7 and FF and they come
    up with the same problem where the screen is white in IE7 and it
    works in FF. I dont know what the problem is.

  • Exec(iexplore.exe) works in IE6 but not IE7

    The following statement invoked from an applet works fine with IE6 but not with IE7:
    Process process = Runtime runtime.exec(iexplore.exe slicprint.html))
    With IE6 the browser (iexplore.exe) is launched and the slicprint.html file is rendered (appears on screen).
    With IE7 the program just "hangs", i.e.the browser does not get launched (nothing displays on the screen).

    Welcome to the Sun forums. But..
    >
    The following statement invoked from an applet works fine with IE6 but not with IE7:>
    Process process = Runtime runtime.exec(iexplore.exe slicprint.html))..please refrain from posting such rot. That statement could not compile, let alone run.
    Instead, it is better to [copy/paste errors and code snippets,|http://pscode.org/javafaq.html#exact] or better still, post an SSCCE of failing code.
    Hmm.. and just so we are all clear. Why exactly are you not calling [AppletContext.showDocument(URL)|http://java.sun.com/javase/6/docs/api/java/applet/AppletContext.html#showDocument(java.net.URL)] to achieve this functionality that has been available to sandboxed applets since Java 1.1 and works, most of the time, cross-browser and cross-platform?

  • I have a JavaScript loop that works in Dreamweaver but not in my browsers. What's missing? Should the page load another script first?

    I know that the code is clean because it runs perfectly in DW (even with the occasional lag). Shorter loop functions have also worked in DW, but not in my Chrome or IE browsers. Is there a script or program that the HTML should run first?

    I'm sorry, of course:
    The Crow Haven Witches and Psychics of Salem
    I am designing a phone psychic hotline (don't ask! ) page, and the loop is supposed to sort the readers according to their availability. Each should appear in their respective listing.
    The setup works perfectly in DW, but none of the scripted material appears in the current page. I will add a photo of how it does look in DW.

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • Rollovers work in Netscape but not IE?

    I have the rolloverbuttons working great with Netscape but when I run my app in IE the images aren't showing up. The jar is loading fine and when I use the default rollovers ( [ROLLOVER]exit ) they work fine, but my images aren't showing up. Thanks for any and all help.
    Jeremy.

    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

  • 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>

  • Direct URL Working In IE but not with New Domain

    Hey Guys
    Something very weird here.
    This music player for www.arikecansing.com works in Mozilla
    but not IE. The site is being hosted here
    www.tahnaiya.com/clients/arike and that link works in IE but not
    under the other domain www.arikecansing.com Weird huh? Does anyone
    know why this is?
    The playlist.xml file is this but do note that i did change
    the mp3 name so the mp3 cannot be downloaded. This site is for my
    client. I would extremely appreciate any help
    <?xml version="1.0" encoding="utf-8" ?>
    <mp3s>
    <file name="song 1" file="
    http://www.tahnaiya.com/clients/arike/music/everything.mp3"
    />
    </mp3s>
    I did try changing the file to this but it still didn't work
    <?xml version="1.0" encoding="utf-8" ?>
    <mp3s>
    <file name="song 1" file="
    http://www.arikecansing.com/music/everything.mp3"
    />
    </mp3s>

    I am not sure...but have you heard that NS 6/Mozilla are use based on standards. So they dod not support some of the proprietary JS/CSS/Misc functionality of IE or NS 4.0+ versions. You can read more about the JavaScript differences on Netscape's NS6 evangism site. Maybe you are missing something. I think I remember reading something about getElementByID/Name ...

  • 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

  • Why does the counter work in MAX, but not Labview?

    Please help, I have been away from Labview for over 3 months, and I am quite rusty....
    Last year, I successfully configured NI9401 to measure period (seconds) by counting the rising edges of my sensor signal.  Since then, I have aquired a new PC, and loaded all my software into it, including the Labview VI's that successfully worked on the old computer.
    I can see the digital signal using MAX and the test panel for the NI9401, so, I know my wiring and my TTL signal is OK, but, when I try to run the attached VI, nothing happens except the error below..  How do I tell this VI to look for the signal on MOD3/CTR0 and channel 14?
    Thanks. I am sure it is a small adjustment...this worked fine a few months ago...not sure what is wrong now.
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    continuously measure period buffered_singlechannel_forum_feb_23_2012.vi ‏20 KB

    OK, now.  Resolved the issue. The vi is fine, but, some shaky wires were identified...worked in MAX but not in the vi.  Now that the connections have been tightened up, it works for both.  Sorry for the inconvenience.
    Dave

Maybe you are looking for

  • IE displays spry submenus (incorrectly) at top of screen

    I apologize for asking this question, as it looks like it has been asked before, but I've spent hours trying to get my spry navigation bar to display correctly in Internet Explorer with no luck.  My project for school is due tomorrow and this is the

  • Do you store IDE-specific files in your repository?

    Hi , In [Continuous Integration|http://martinfowler.com/articles/continuousIntegration.html] , The author state that "You must put everything required for a build in the source control system, however you may also put other stuff that people generall

  • ITunes error when typing out the letters of the band to search

    I've been using iTunes since it debuted and I've always would not use the search function to find what band I wanted to hear but rather just type out the first 1-3 letters and it would take me there faster. This new iTunes update has screwed that up.

  • IMovie can't update from 10.0.3 to 10.0.6

    Okay, so since updating my OS from Mavericks to Yosemite, my iMovie fails to open because i have an outdated version. Whenever I try to open it, it says that I'm using iMovie 10.0.3 which is incompatible with Yosemite, and that I need to update to 10

  • Any 3rd party version of Epson's Mac version of Print CD?

    I've used the Print CD application on my Epson printer (Photo R300) for 2 years now on the PC. Easy and intuitive to use. I have just recently moved over to the iMac, and of course I want to use the same printer, and also be able to use the Print CD