www.webdeveloper.com

Search:

Type: Posts; User: voidvector

Page 1 of 14 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    2,063

    You would need to write your own custom...

    You would need to write your own custom comparison functions that recognize Turkish letters. The build-in sort function obviously only works on English.
  2. Replies
    4
    Views
    970

    If you really feel like using an array in a...

    If you really feel like using an array in a cross-browser environment, use String.split('') to split the string into Array, use Array.join('') to join it into a string.
  3. Replies
    4
    Views
    970

    Accessing a string like an array of chars is not...

    Accessing a string like an array of chars is not supported by IE.


    alert(this.name.charAt(0));
  4. Replies
    1
    Views
    1,050

    open source JavaScript projects

    Where can I find a list of open source JavaScript projects that I can contribute to?
  5. Replies
    3
    Views
    832

    You can create relationship between different...

    You can create relationship between different frames, but you just can't do it when frames are on different websites at the moment.

    (There are a few promising technologies coming up that may...
  6. Replies
    3
    Views
    832

    You cannot do this in JavaScript due to...

    You cannot do this in JavaScript due to cross-site security.

    (Just think how bad it would be if you can grab their CC# if they were on the checkout page)

    You can implement it to a limited...
  7. Replies
    7
    Views
    2,019

    I am not sure about Camino and Flock, but my...

    I am not sure about Camino and Flock, but my workaround should make it work for the current versions of all major browsers (IE, Firefox, Opera, Safari), since IE was the only major problem in that...
  8. Replies
    7
    Views
    2,019

    I recently had an application that required...

    I recently had an application that required detection of onmouseup outside of window as well. To resolve the issue, I ended up using an IE-only workaround.

    Based on my anecdotal observation,...
  9. Replies
    9
    Views
    3,015

    IE equivalent of getComputedStyle is...

    IE equivalent of getComputedStyle is element.currentStyle._styleName_, but opacity is not a single style, it is part of a collective style called filter, so you will have to parse the string.
  10. Thread: Sort Issue

    by voidvector
    Replies
    6
    Views
    964

    function value(a,b) { return parseFloat(a[1]) -...

    function value(a,b) {
    return parseFloat(a[1]) - parseFloat(b[1]);
    }
  11. Thread: CSS and IE8

    by voidvector
    Replies
    3
    Views
    1,051

    CSS and IE8

    What is the IE8 position on CSS?

    I had some pages which look almost exactly the same on IE6/IE7, Firefox, Opera, Safari, etc, but it looks slight different on IE8.

    I don't really feel like...
  12. Replies
    9
    Views
    3,015

    try: elem.style.filter You get the CSS...

    try:


    elem.style.filter

    You get the CSS string itself, which you would have to parse.
  13. Replies
    6
    Views
    14,082

    Wrap the word you want in an element (anchor...

    Wrap the word you want in an element (anchor link, span, whatever), add an ID to the element, and the call the following function on that ID.


    function scrollToObj(id)
    {
    // send the scroller...
  14. Replies
    2
    Views
    853

    Try this: el.onkeyup =...

    Try this:


    el.onkeyup = EventHandlerGenerator(iteration);

    function EventHandlerGenerator (iteration)
    {
    return function () { showHint(this.value, iteration) };
    }
  15. For HTML, use W3C HTML validation service...

    For HTML, use W3C HTML validation service. Try validate HTML as much as possible, because most of the errors on web pages can be corrected with a validated HTML page. I would only give up if I...
  16. Try validating your HTML. "

    Try validating your HTML. "</img" is not a valid tag.
  17. Replies
    2
    Views
    2,848

    You need to provide "words.js"

    You need to provide "words.js"
  18. Replies
    3
    Views
    1,305

    In your HTML, the previousSiblings of all 3 SPANs...

    In your HTML, the previousSiblings of all 3 SPANs are spaces, which are text nodes
  19. Replies
    4
    Views
    1,033

    Come to think of it, I think you should set the...

    Come to think of it, I think you should set the cookie on the server-side if that is an option, it could be a lot quicker and less messy.

    Additionally, instead of using a text file (host.txt), if...
  20. Replies
    4
    Views
    1,033

    pretend its a AJAX query, and retrieve it the...

    pretend its a AJAX query, and retrieve it the same way.
  21. Replies
    6
    Views
    14,082

    change the values of "UpdateInterval" and...

    change the values of "UpdateInterval" and "PixelPerInterval"
  22. Replies
    6
    Views
    14,082

    I hacked this together in 5 minutes, the code is...

    I hacked this together in 5 minutes, the code is not terribly kosher. The doctype is important for it to work on IE.



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
  23. Try putting the script in the body of the...

    Try putting the script in the body of the document. If that doesn't work, try putting it after </body> close tag.

    It appears the script loaded is trying to edit the content of body immediately.
  24. Replies
    3
    Views
    687

    Up until recently, search engine spiders don't...

    Up until recently, search engine spiders don't even support JavaScript, so I don't think any JavaScript solution is gonna help you much.
  25. Replies
    17
    Views
    1,962

    Not sure about that, the following code works...

    Not sure about that, the following code works fine in all modern browsers (IE, Firefox, Opera, Safari, Chrome). Although I strongly suggest migrating to something using W3C DOM.



    <script>...
Results 1 to 25 of 349
Page 1 of 14 1 2 3 4
HTML5 Development Center



Recent Articles