Advanced Search

View RSS Feed

All Blog Entries

  1. Some Remarks about Ajax-includes using document.write

    Some Remarks about Ajax-includes using document.write

    I. Why document.write?
    Including external content with the help of document.write brings in external html AND external code (js, css). This is a clear advantage of document.write over other inclusion-methods, like innerHTML (does not execute scripts) and appendChild (does not automatically import all the external js and/or css when IE, Chrome or Opera are used). To see this, create a file external.html with some js in it, ...

    Updated 02-27-2010 at 06:32 PM by molendijk

    Categories
    JavaScript & Ajax
  2. Prevent users to open a video on the video-providing site (in a new window)

    Inserting these two lines to your include code for video's:

    <param name="allowScriptAccess" value="never">
    <param name="allowNetworking" value="internal">

    prevents flash apps from running scripts or having outbound links.

    This is a very handy method for preventing users to open the video on the video-providing site (in a new window) when they accidentally click on the video screen.
    ...

    Updated 11-19-2009 at 11:50 AM by molendijk

    Categories
    Flash related
  3. 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
  4. HTML 4.01 Strict Video Include & Chopping Parts from YouTube video's

    Perhaps many of you already knew this. I didn't.
    HTML 4.01 Strict Video Include:
    Code:
    <!--[if IE]>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="position:absolute;left:20%; top:20%; height:80%;width:80%">
    <![endif]-->
    <!--[if !IE]><!-->
    <object type="application/x-shockwave-flash" style="position:absolute;left:20%; top:20%; height:80%;width:80%" data="http://swf.tubechop.com/tubechop.swf?vurl=rw1j0NsIIeE&amp;start=164&amp;end=199&amp;cid=28051"
    ...

    Updated 10-02-2009 at 01:29 PM by molendijk (Observation made by jscheuer about title)

    Tags: add, michal Add / Edit Tags
    Categories
    Post a JavaScript , Flash related
  5. YouTube Chromeless Player

    It's not directly obvious from this how we can:
    - start a movie on page load (question asked by some people on different forums);
    - specify the dimensions and position of the movies in percentages;
    - make good use of the ytplayer functions.

    Autoplay: something like
    Code:
    function so_start()
    {
    loadNewVideo('lKq9_kk3Zbc', 20);
    }
    //IE needs some time
    window.onload=setTimeout('so_start()',2000)
    Size of movie in percentages ...

    Updated 08-29-2009 at 01:59 PM by molendijk

    Categories
    Post a JavaScript , Flash related
Page 10 of 16 FirstFirst ... 89101112 ... LastLast