Search:

Type: Posts; User: Twey; Keyword(s):

Search: Search took 0.06 seconds.

  1. Replies
    18
    Views
    23,515

    Resolved Sounds like that's the way to go, then. Of...

    Sounds like that's the way to go, then. Of course we should always assume standards-compliance anyway, and users should assume that code will break on non-compliant pages. Maybe a caveat is in...
  2. Replies
    18
    Views
    23,515

    Resolved To the former: no, that is entirely redundant...

    To the former: no, that is entirely redundant (quite literally: you can refer to it as window.window.window.window.window.onload if you want). We're in global scope here, so there is nothing that...
  3. Replies
    18
    Views
    23,515

    Resolved Well, that's obviously overkill in this...

    Well, that's obviously overkill in this particular case, but it's made up of several handy reusable parts that may come in useful in the future.
  4. Replies
    18
    Views
    23,515

    Resolved I'd probably go with something a bit more...

    I'd probably go with something a bit more robust/modular:
    var Cookie = (function() {
    function Cookie(name, value, maxAge, path, secure) {
    this.name = name;
    this.value =...
  5. Replies
    18
    Views
    23,515

    Resolved Certainly:

    Certainly:
    <select onchange="document.body.style.backgroundImage = 'url(' + this.options[this.selectedIndex].value + ')';">
    <option value="">None</option>
    <option...
Results 1 to 5 of 5