View RSS Feed

All Blog Entries

  1. Order Form w/current options live total

    Okey doke,
    there haven't been any blogs in a while, so I thought I might have some. It's about a thread I was on (here) in which Williamsun wanted a form which autosummed a price. I ended up coming up with something along these lines.
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type"
    ...
    Categories
    Uncategorized
  2. 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
  3. News from YouTube

    I wanted to post the news some time ago, but I was afraid I was wrong. So I waited.
    It seems, however, to be the truth and nothing but the truth (for the time being): YouTube have removed their ads from all videos except the ones that have http://www.youtube.com/watch?v=ID. (And even there, the ads are gone when we use IE or Firefox).
    So now we can embed YouTube videos - in an iframe or flash object - without resorting to all kinds of malicious means to remove the ads (which does ...

    Updated 07-04-2012 at 10:47 PM by molendijk (Correction)

    Categories
    Flash related
  4. 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
  5. Force a page to open in a new tab

    There's an increasing number of sites that refuse to be opened in a new window. For instance, the following doesn't work (anymore):
    Code:
    <a href="javascript: void(0)" onclick="window.open('http://google.com'">open Google in new (traditional) window</a>
    In those cases, you can use the following to open the sites in a new tab:
    Code:
    <a href="javascript: void(0)" onclick="window.open('','_new').location.href='http://google.com'">open
    ...
    Categories
    Post a JavaScript
Page 9 of 21 FirstFirst ... 789101119 ... LastLast