www.webdeveloper.com

Search:

Type: Posts; User: stevea

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    826

    The reason it isn't working correctly is because...

    The reason it isn't working correctly is because you are setting the tmp property of an object to the value of the response, but which object I'm unsure. You can try changing the assignment in the...
  2. Replies
    2
    Views
    2,584

    Why not create a function that does both actions,...

    Why not create a function that does both actions, then call that in the setTimeout function?



    function doBoth(){
    newwindow.document.getElementById("print_content").innerHTML=print_div;...
  3. Replies
    2
    Views
    921

    Is this what you're looking for? (Untested) ...

    Is this what you're looking for? (Untested)


    window.onload = setActive;

    function setActive() {
    aObj = document.getElementById('navbar').getElementsByTagName('a');
    var found = false;...
  4. Thread: Parallel Ajax

    by stevea
    Replies
    11
    Views
    1,934

    Unless of course the post itself is from two...

    Unless of course the post itself is from two years ago, but who can be bothered to check the post date? ;)
  5. Replies
    9
    Views
    2,471

    Youngie, My fault, your last post was indeed...

    Youngie,

    My fault, your last post was indeed missing one thing. You need to put the following code into your script tag.



    function spawn(page) {...
  6. Thread: Onmousemove

    by stevea
    Replies
    4
    Views
    1,028

    posiden: would you care to share, incase anyone...

    posiden: would you care to share, incase anyone else should run into the same problem? Personally I would have gone with a fixEvent function, of which I know there are many, to attempt to get the...
  7. Replies
    9
    Views
    2,471

    Sorry about the delayed response, the code looks...

    Sorry about the delayed response, the code looks perfect. Let me know if it does what you were looking for.
  8. The first problem I see is that your form tag...

    The first problem I see is that your form tag doesn't have an action set, so it is posting to the current page, not your php script. If I'm understanding you correctly you want the form to post to...
  9. Replies
    2
    Views
    857

    It's not possible to load it line by line without...

    It's not possible to load it line by line without using some sort of intermediary server side scripting language.
  10. The problem, incase anyone else should run into...

    The problem, incase anyone else should run into something like this, turned out to be an errant comma on line 110 (of the revised pastebin). Once I removed that the other problems in the script were...
  11. Sorry for the double post but I neglected to...

    Sorry for the double post but I neglected to address this comment in my last post.

    All references to elements are contained within user initiated function calls, so the DOM should be completely...
  12. Replies
    9
    Views
    2,471

    There's a few problems in the code you posted....

    There's a few problems in the code you posted. First your onUnload event:


    <body onUnload='spawn("htttp://www.URL.com")'>

    needs to be changed to use the new exitVar variable:


    <body...
  13. Replies
    9
    Views
    2,471

    Hey Youngie, the first question I need to ask is...

    Hey Youngie, the first question I need to ask is what action is causing the pop-up location to change? What I mean to ask is whether or not HTML links are the cause of the page change, or if there...
  14. Thanks for the tip DecafMatan. I downloaded the...

    Thanks for the tip DecafMatan. I downloaded the script debugger and it's giving me the error on line 114:



    onComplete: function(response){


    inside of the registerVote function. The error is...
  15. [RESOLVED] Javascript error in Chrome & IE7, but not FF

    I've got a bit of code that's giving me a bad case of agita. The code in question handles an AJAX login followed by a simple GET request and works fine in FF but throws errors in Chrome and IE7. The...
  16. Replies
    1
    Views
    2,665

    Sending CDATA using SOAP::Lite

    Hey everybody,


    I've run into a problem that I cannot seem to find any answer to. I have a .wsdl file from a SOAP service that I'm using locally while testing scripts (I made a copy of the .wsdl...
  17. Replies
    6
    Views
    842

    This article...

    This article tells you everyone you need to know.

    <3 Google
  18. Replies
    4
    Views
    817

    Why yes, yes there is. I try to avoid using...

    Why yes, yes there is. I try to avoid using innerHTML whenever possible (personal quirk I suppose) but it is significantly faster for something like this:




    var newDiv =...
  19. Replies
    5
    Views
    1,206

    A quick glance says that it probably works, my...

    A quick glance says that it probably works, my guess is that the problem comes in when you're putting it into HTML. HTML doesn't like whitespace, and will ignore them after a certain amount (2 or 3...
  20. Replies
    2
    Views
    747

    For selectbox: if...

    For selectbox:


    if (document.form.selectBoxName.selectedIndex <= 0){
    themessage += " - select Box Whatever";
    }


    For radio button:
  21. After a little trial and error I see what the...

    After a little trial and error I see what the problem is.

    innerHTML is NOT what you want to be using in this case. PRE tags store the text in a textNode, therefore:



    e =...
  22. Replies
    4
    Views
    817

    Untested, but given the site setup as you have it...

    Untested, but given the site setup as you have it (no ids for any element and that exact setup. ie the div you want to wrap is the first div below body) here's a solution:


    var newDiv =...
  23. Replies
    6
    Views
    810

    Yes, it all makes sense. Though I don't think you...

    Yes, it all makes sense. Though I don't think you ran the code I supplied, because it was already capable of accomplishing the original problem:



    Below is a full page showing how this can be...
  24. Replies
    6
    Views
    810

    Here's an expansion on Detect's script. Currently...

    Here's an expansion on Detect's script. Currently it collects all spans and checks to see if it's immediate parent has the class column (following your example) but it can be easily be modified to...
  25. Replies
    4
    Views
    1,102

    That toolbar should only popup when viewing the...

    That toolbar should only popup when viewing the site locally. Try uploading it to some domain to test.

    I hear ya though, that is really annoying when testing. It won't show if you have the site...
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles