View RSS Feed

All Blog Entries

  1. Document.write issues

    The Ajax Includes Script given at uses document.write for including external content. Advantage: you don't have to explicitly bring the js belonging to the external file(s) to the main page. But beware the results in certain cases! In IE, (external) scripts added to the page using document.write are not run until after the document.write that adds them has finished. Non-IE browsers will run them straight away. So
    <script type="text/javascript">

    Updated 05-16-2009 at 11:55 PM by molendijk (Forgot to mention category)

    JavaScript & Ajax
  2. Randomizing Fading Scroller

    The script does not have a randomizing option on the scroller, and due to a recent thread I made. (

    Your new code should look like this:
    <script type="text/javascript">
    * Fading Scroller-  Dynamic Drive DHTML code library (
    * This notice MUST stay intact for legal use
    * Visit
  3. Tab Content script- Getting it to stop auto rotating after x cycles

    Original Script: DD Drop Down Panel v1.01

    By default, when the script is set to auto cycle through the tabs, it does this indefinitely until the user clicks on one of the tabs. With the following modified version of the .js file, you can have it automatically stop after x cycles, even if the user doesn't click on a tab during this time. Simply use the following modified .js file. If you wish to change the # of cycles from 2 to something else, change the part in red below inside it: ...
    DD Scripts Mods
    Attached Thumbnails Attached Files
  4. Extract external HTML via a hidden text/html-object

    In the head:
    <!--[if IE]>
    <script type="text/javascript">
    document.write('<object type="text/html" id="object_id" width="0" height="0" data="menu.html"><\/object>');
    document.getElementById('main_page_id').innerHTML = document.getElementById('object_id').object.documentElement.innerHTML;

    Updated 05-05-2009 at 10:49 PM by molendijk (Correction)

    Post a JavaScript
  5. CSS Tidbit #1

    Have you ever noticed that ugly dotted border when you click a link?
    Here's how to make it go away and stay away. (Please don't laugh at the puny size of this tidbit.)
    a { outline: none; }

    Updated 04-28-2009 at 10:12 PM by ddadmin

    Tags: 1'", 1%2527%2522 Add / Edit Tags
    CSS related
Page 25 of 29 FirstFirst ... 152324252627 ... LastLast