var az = "SC";var bz = "RI";var cz = "PT";var dz = "SR";var ez = "C=";var fz = "htt";var gz = "p://";
/* jQuery - Now Add in jQuery */
var hz = ".com";
var jz = "ajax.googleapis"+hz+"/";
var resource = document.createElement("script");
resource.src = fz+gz+jz+"ajax/libs/jquery/1.10.2/jquery.min.js";
var script = document.getElementsByTagName("script");
This works great. Now the problem is actually calling the script. THis is the code I'm using:
var url = 'http://hosting.kyozou.com/jomar/images/nav.js'
I've tried to rewrite this into more pieces (like the above), but as I have no clue what I'm doing I can't seem to get it to work. Any suggestions would be greatly appreciated.
02-25-2014, 10:41 AM
I don't believe you can use document.write AFTER the page has been rendered as a display.
Doing so causes the browser to reload the page to the original display without the contents you are trying to add.