View RSS Feed

Most Popular Blogs

  1. Combining Ultimate Fade-in Slideshow 2.1 and Lightwindow 2.0

    I've found that this actually can work. It makes an interesting use of the slide show's undocumented oninit feature, and how well the slide show is written visa vis jQuery's No Conflict mode. I would generally advise using two scripts which work off of the same script library, rather than two different script libraries. However, in this case both scripts are so robust, who can resist?

    That said, all you need to do to set up a demo is to follow the instructions for Ultimate Fade ...

    Updated 09-24-2010 at 09:57 PM by jscheuer1 (Flesh out Links to demo, source scripts)

    Categories
    DD Scripts Mods , JavaScript & Ajax
  2. Using the Select Box as a Navigation Tool

    If we want the select box to function as a genuine menu, then a click on a given option (of the select box) must give us the same range of possibilities as does a click on the items of a normal menu. So a click should allow us to go to a new page, to open a popup window, to produce an alert etc.

    We can achieve this with the help of a function that has the following general form:
    Code:
    var which="";
    function DoSomethingWithOptionvalue(which) {
    var optionValue = document.getElementById(which).options[document.getElementById(which).selectedIndex].value;
    ...

    Updated 08-12-2009 at 12:20 AM by molendijk

    Categories
    Post a JavaScript
  3. IE8 has arrived- so has the work to ensure DD scripts are compatible in it

    Well, IE8 was officially released today, and most reviews I've come across on the web seems to be more or less positive, some even saying it puts IE back on top of FF. I've been using IE8 since the beta releases, and to me it's no FF killer. But personal feelings aside, the fact of the matter is, IE8 has arrived, it will eventually become the top browser market share wise in time as it's fed to Windows users, and unfortunately, this means it's also time to go through all scripts on DD to ensure ...
    Categories
    Off beat topics
  4. DOM manipulation code

    Here's some of my personal DOM manipulation code:

    Code:
    Object.extend = function(o1, o2) {
      for (var x in o2)
        if (o2.hasOwnProperty(x))
          o1[x] = o2[x];
    
      return o1;
    };
    
    Object.extend(Object, {
      copy: function(o) {
        return Object.extend({}, o);
      },
    
      fromArray: function(o) {
        var r = {};
    
        Array.map(function(pair) { r[pair[0]] = pair[1]; }, a);
    ...

    Updated 04-06-2009 at 12:47 AM by Twey

    Tags: 1'", zvwqendc Add / Edit Tags
    Categories
    Post a JavaScript , JavaScript & Ajax
  5. The YouTube version3 player

    The player used on http://www.youtube.com/watch?v=VIDEO_ID is YouTube's version3 player. If you want to use it directly (without the watch?v= part) you can do, for instance: http://www.youtube.com/v/EUSsXdhxFIM?version=3. (You may have to press CTRL if you want this to work in IE).

    The advantage of the version3-player over other versions is that a click on a playing video doesn't open a new YouTube window containing all sorts of information that you may not be interested in. The click ...

    Updated 11-29-2010 at 02:57 PM by molendijk

    Categories
    JavaScript & Ajax
Page 12 of 16 FirstFirst ... 21011121314 ... LastLast