View RSS Feed

Recent Blogs Posts

Custom, non DD related JavaScripts from other members.

  1. FaceScroll - my take

    Adds altScrollTo method to scroll to coordinates, element, or keyword position in the scroller. Adds optional callback for real time updates of the scroller's position. Fixes behavior of bi-directional scrollers in IE 8 and less. Now compatible to and including IE 6. Adds automatic console logging of missing helper scripts in browsers with console logging. Instates selector element return value for normal jQuery chaining of methods. Alters the mouseout behavior for default style scrollers to avoid ...

    Updated 06-18-2013 at 09:27 PM by jscheuer1 (additional options, details)

    Categories
    DD Scripts Mods , Post a JavaScript
  2. Crawler Interim Updates

    Adds: persistence option, oncontentinit option, auto detect of a single table with a single row for optionally randomizing its td's, code efficiencies.

    Applies to:

    Text and Image Crawler v1.5

    What many people don't know about Crawler is that it makes a duplicate train of its text and/or images so that they may be looped/viewed in a continuous manner without spaces or jumpiness.

    That's fine as long as you're not trying to initialize that ...

    Updated 10-09-2012 at 10:24 AM by jscheuer1 (add table auto detect, details, update attached script)

    Categories
    DD Scripts Mods , Post a JavaScript
  3. [jQuery-append] includes HTML as well as JS

    1.
    Create a string that is the JS-equivant of the DD Anylink standalone menu (or of any standalone menu) with the help of a good HTML-to-JS-converter. Make sure that all JS and CSS are made inline before conversion. Name the string included_js.
    2.
    Create a script like this:
    Code:
    <script>
    var included_js = STRING, where STRING represents the string you just created.
    </script>
    (in the Anylink-case, STRING representsw THIS) and put the script ...

    Updated 08-20-2012 at 12:26 AM by molendijk (Correction)

    Categories
    Post a JavaScript
  4. BG Carousel Links

    I found a fairly easy way to add optional links to the Dynamic Drive Script:

    Background Image Carousel

    First a demo:

    BG Carousel Links - Demo

    Now, how to:

    Using a text only editor like NotePad, add this highlighted style as shown to the bottom of the on page styles (modified from Step 1 on the demo page):

    Code:
     . . . ctedslide div.desc{ /* CSS for currently selected slide's desc div */
    }
    
    div.slide
    ...

    Updated 07-25-2012 at 12:17 AM by jscheuer1 (attach modified version of script, link to demo, update comments in script)

    Categories
    DD Scripts Mods , Post a JavaScript , JavaScript & Ajax
  5. Show plain text in a password field

    I was browsing the internet and came across this tecnique and thought it was rather cool.

    To make plain text show in a password field, you need the following form -

    HTML Code:
     <form>
     <input type="text" name="passwordPlain" id="passwordPlain" value="Password" onfocus="swapPasswordBoxes('click')" style="display:none;"/>
     <input type="password" name="password" id="password"
    ...

    Updated 06-08-2012 at 10:23 PM by keyboard (swapped onclick for onfocus)

    Categories
    Post a JavaScript
Page 1 of 4 123 ... LastLast