Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tmasterv

    Help with javascript code

    First, yes, you were a great help. Referencing the links back to the root did the trick. so the code now looks like this: <a href="javascript:void(0)" onclick="open_url('http://"IPaddress/directory/page-1.html','my_site_content');">Announcement 1</a><br> Cheers, Todd
  2. tmasterv

    Help with javascript code

    Never mind, I figured that error out. To all who contributed to this thread, many thank you's and have a great day!!
  3. tmasterv

    Help with javascript code

    I think I am getting closer. Now the error message is: Error: uncaught exception: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "file://///things/toddwebsite/default.html Line: 43"] I checked the permissions and they are...
  4. tmasterv

    Help with javascript code

    I tried that and the error object expected error is gone, but it still can't load my links, which I guess means that my link paths are wrong. Very weird since the links are located in the same directory as this file!
  5. tmasterv

    Help with javascript code

    sorry, here is all the code: var xmlhttp=false; if (!xmlhttp && typeof XMLHttpRequest!='undefined') { try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp=false; } } /*@cc_on @*/ /*@if (@_jscript_version >= 5) // JScript gives us Conditional compilation, we can cope with...
  6. tmasterv

    Help with javascript code

    Sure, here is ajaxnav.js: var xmlhttp=false; if (!xmlhttp && typeof XMLHttpRequest!='undefined') { try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp=false; } } /*@cc_on @*/ /*@if (@_jscript_version >= 5) // JScript gives us Conditional compilation, we can cope with old...
  7. tmasterv

    Help with javascript code

    It is located in the current folder, which is why I am perplexed! Any other thoughts? Thanks
  8. tmasterv

    Help with javascript code

    EDIT: I meant to write "ajaxnav.js is located in the same *directory* as the file that has the javascript. Thanks for your help!
  9. tmasterv

    Help with javascript code

    Hi, I am new to javascript and have the following code that is throwing a "Object not found" errors when I click on the hyperlinks. Here is the code: <head> <script type="text/javascript" src="ajaxnav.js"></script> </head> <body> <a href="mailto:omitted"> <img src="helpdesk.jpg"...

Part and Inventory Search

Back
Top