dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: xelawho

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds; generated 7 minute(s) ago.

  1. ... the dude just said that he wanted to do it in...

    ... the dude just said that he wanted to do it in vanilla js... :confused:
  2. it seems to me that with the changes, it is now...

    it seems to me that with the changes, it is now easier to do this - if all you want to do is "like" the person who matches you, you don't have to visit their profile to do so, you can do it directly...
  3. A few things... - It would be better to give...

    A few things...
    - It would be better to give your form an id. Class attributes are for if elements share the same attribute (so if you had multiple forms with the class name ajax, but then you would...
  4. Replies
    3
    Views
    499

    if you don't mind it being static, just add your...

    if you don't mind it being static, just add your point marker graphics to the map, turn it into an imagemap and do whatever you need to do when the user moueovers one of your locations.

    if you...
  5. google maps doesn't have anything like that ready...

    google maps doesn't have anything like that ready rolled. If you could get your hands on a database of freeway on-ramp locations it would be fairly easy, using google's directions service
  6. if I understand correctly, a loop will cut out...

    if I understand correctly, a loop will cut out alot of that repetition:


    <body>
    <div id="sels">
    <select id="val1">
    <option value=2>2</option>
    <option value=4>4</option>
    <option...
  7. freegeoip? function...

    freegeoip?



    <body>

    <script>
    function cb(o){
    console.log(o.ip)
    }
  8. yeah, I don't really like jsfiddle. Try it on a...

    yeah, I don't really like jsfiddle. Try it on a real page, it works fine.
  9. you could alternately use the callback function...

    you could alternately use the callback function for what it is designed to do...


    <script>

    function _SavePageText($a) {
    var scr = document.createElement("script");
    scr.src =...
  10. if you want a ready made one you can use the...

    if you want a ready made one you can use the jQuery ui: http://jqueryui.com/autocomplete/#remote

    rolling your own is possible, of course, depending on your skills
  11. Just for the record, you can set multiple styles...

    Just for the record, you can set multiple styles using cssText:

    document.getElementById("test").style.cssText = "position: relative; left: 500px";

    may help with the dreaded document redraw,...
  12. Replies
    10
    Views
    1,225

    Amen to that. Better yet, skip it entirely and...

    Amen to that. Better yet, skip it entirely and use a real resource:https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Forms/How_to_structure_an_HTML_form
  13. Replies
    2
    Views
    659

    or .textContent if you just want the text...

    or .textContent if you just want the text...
  14. use setinterval instead of the while loop, and...

    use setinterval instead of the while loop, and fire a function every one second (say) that checks the conditions and clicks the button when the time is right.
  15. Thread: array function

    by xelawho
    Replies
    10
    Views
    1,204

    it's trying to...

    it's trying to...
  16. You can certainly load info window content via...

    You can certainly load info window content via Ajax, although the repeated Ajax calls may make the performance sluggish, depending on connection, etc. what have you tried that makes you think you...
  17. Ah, you want to move the tip. I don't think I've...

    Ah, you want to move the tip. I don't think I've seen google maps do that. Which makes me guess that the g maps infowindow shape is a default rendering. If you wanted to move the tip around you would...
  18. yes, pixelOffset is a property of the infowindow...

    yes, pixelOffset is a property of the infowindow that accepts a google.maps.Size as a value. So for example:



    var infowindow = new google.maps.InfoWindow({
    content: "hello world",
    ...
  19. Have you looked at the documentation? I believe...

    Have you looked at the documentation? I believe this is covered there.
  20. Replies
    10
    Views
    942

    anyway, all that CPUboxNumber does is return a...

    anyway, all that CPUboxNumber does is return a number. Wouldn't you be better calling:

    setTimeout(CPUmove, 1000);
    at the end of the player move

    but I don't see how this code works - when is...
  21. Replies
    8
    Views
    1,279

    SoWide is an object. Even, odd, from, to are the...

    SoWide is an object. Even, odd, from, to are the keys. False, 1 and 0 are the values. They're all independent. Objects are very useful in javascript (in fact, pretty much everything in javascript is...
  22. Replies
    10
    Views
    942

    have you looked at setTimeout?

    have you looked at setTimeout?
  23. Replies
    6
    Views
    816

    I guess unless you were working as a team on a...

    I guess unless you were working as a team on a huge project with lots of external scripts you would do something like this:



    <head>

    <style>
    #ms{
    height:200px;
    width:200px;
  24. Replies
    6
    Views
    816

    those inline event handlers are pretty retro, but...

    those inline event handlers are pretty retro, but if you want to go that way you could do


    onmouseout="messageBox.style.display='none'"
  25. Replies
    6
    Views
    816

    please provide the code that you use to open the...

    please provide the code that you use to open the box
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles