www.webdeveloper.com

Search:

Type: Posts; User: johnywhy

Search: Search took 0.01 seconds.

  1. Replies
    23
    Views
    66,140

    What do you mean "yours"? I did not post any...

    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...
  2. Replies
    23
    Views
    66,140

    old threads help new readers. Fora are not just...

    old threads help new readers. Fora are not just for the benefit of the OP.
  3. Replies
    1
    Views
    1,804

    How To Create Hover Regions On Sprite?

    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...
  4. Replies
    10
    Views
    4,205

    in this example, where do i put the name of the...

    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...
  5. Replies
    1
    Views
    1,646

    How To Display XMLHttpRequest?

    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',...
  6. Replies
    13
    Views
    5,950

    any ideas?

    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?


    ...
  7. Replies
    13
    Views
    5,950

    Can't Use Relative Paths

    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...
  8. Replies
    13
    Views
    5,950

    The reason I want to do this, is because my .js...

    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...
  9. Replies
    13
    Views
    5,950

    nope, it's in a separate .js file. however,...

    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...
  10. Replies
    13
    Views
    5,950

    Script Not Giving URL

    i cannot get the url.

    the following code diplays "[object HTMLScriptElement]":

    function getActiveScript(){
    var t = document.getElementsByTagName("script");
    return t[ t.length - 1 ];
    }
  11. Replies
    13
    Views
    5,950

    ok, then... is it possible to capture the url...

    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,...
  12. Replies
    13
    Views
    5,950

    How To Return URL of .js File?

    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:...
Results 1 to 12 of 12
HTML5 Development Center



Recent Articles