Search:
Type: Posts; User: johnywhy
Search :
Search took 0.01 seconds.
What do you mean "yours"? I did not post any questions or answers here. I just found this thread while researching this issue, and I found this thread, including the newer posts, relevant and helpful...
old threads help new readers. Fora are not just for the benefit of the OP.
How can I resize a link, containing an img, so that my link hover only happens over PART of the image?
this code is intended to create two linked regions (for the purpose of hovering), on the top...
in this example, where do i put the name of the function i'm trying to call?
<script type="text/javascript">
<!--
window.onload = function () {alert()}
// -->
</script>
do i need to include...
hi
what's wrong with this code? it seems to load the text file ok, but it won't display it:
<script type="text/javascript">
var client = new XMLHttpRequest();
client.open('GET',...
still stumped.
* is there a way to eliminate the redundant path below, by putting it into a variable?
* Or, is there a way to combine all the code below into a single <script> tag?
...
i think you mean if the path of the js file is the same folder as my html page. it's not. my js file, and support files, are not in the same domain as the parent web-page. therefor, i cannot use...
The reason I want to do this, is because my .js file needs to reference .html files stored in it's own directory.
So, I'd like to avoid coding that file-path two or more times.
Perhaps I'll...
nope, it's in a separate .js file.
however, the script tag containing the source is separate from the script tag containing the function call.
i need to do this, because i call functions in...
i cannot get the url.
the following code diplays "[object HTMLScriptElement]":
function getActiveScript(){
var t = document.getElementsByTagName("script");
return t[ t.length - 1 ];
}
ok, then...
is it possible to capture the url of the js file before it gets loaded?
in other words, is there a Before_Load event in the js file, which would be able to get it's own url?
or,...
how can a function within a .js file get it's own url?
the reason i want to do this is because i need the url of a file within the same directory.
the js file is referenced in my webpage with:...