Jump to content

BlackenedSky

Members
  • Posts

    28
  • Joined

  • Last visited

    Never

Everything posted by BlackenedSky

  1. <a href="networkPathOfFolder" target="_blank">linktext</a> networkPathOfFolder being something like \\server1\myfolder or just plain of file://c:\
  2. You can't - it's a windows event sound. To bypass it you could use javascript to update the hash on a url, and have another function firing every second which reads and checks it. if it has changed, it loads new content based on that. However that would need xmlHttpRequest objects, so you may as well scrap the iFrame and update an element on the page using element.innerHTML. However if you start updating the hash to load content, you won't get new history events added automatically like you do in an iframe. But that is if you want history events? are you aware that pressing the back button at the moment will fire history events in the iframe as well? If you want history events to be added still, then take a look at RSH (Really Simple History) library. updating hash: google location.hash xmlHttpRequest: google ajax or xmlhttprequest, or take a look on w3cschools Hope this helps. Also, take a look at that url AndyB posted. Click the links in the blog, use google. From clicking the MSDN link i got "Quiet Navigation- (FEATURE_DISABLE_NAVIGATION_SOUNDS)- This control disables the sound that is produced when clicking on links." Good luck
  3. Hi, I'm trying to load in an XML document, but for some reason whenever I try, it says that there are no childNodes. Here is the code: loadXmlDoc(file) { if (window.ActiveXObject) { var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async=false; xmlDoc.load(file); initBoxes(xmlDoc); } else if (document.implementation && document.implementation.createDocument) { var xmlDoc=document.implementation.createDocument("","",null); xmlDoc.load(file); xmlDoc.onload=alert(xmlDoc.hasChildNodes());//initBoxes(xmlDoc); } } This function works fine in IE, but now I am around to testing in firefox and it refuses to work. XML file has correct formatting etc, and firefox displays it no problem using a direct link. Any ideas why it isn't loading the document? Cheers!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.