View RSS Feed

All Blog Entries

  1. Flash is NOT a cure-all

    Over the years, as an intermittent Dynamic Drive Flash Guru, I have noticed a trend in utilizing Flash. This trend is one where Flash is being used in ways it probably shouldn't.

    I am here to correct a few things. First of all, let's note that Flash is a tool. Flash, by its nature was developed to be a tool marketed for designers NOT developers. Flash is not an answer, it is not a web site building machine, it is not the be-all end-all of web design. It is a tool. Macromedia created ...
  2. CSS selector wish list

    With CSS3, we have gotten many new pseudo selectors that give us a great deal of options. However, the short list of combinator selectors has only been increased from 3 to 4:
    Code:
    foo bar
    foo>bar
    foo+bar
    foo~bar
    The first combinator is the most used selector and selects any element bar that is a descendant of foo. The second combinator selects any element bar that is a child (direct descendant) of foo. The third combinator selects any element bar that is an adjacent ...
  3. Get Style

    Sometimes we want to get the style of something. But, since it wasn't set inline or via javascript, or perhaps was set in a stylesheet using the:

    Code:
    !important
    keyword that overrides inline and javascript assignments, we cannot access it. Here is a fairly robust script that will allow us to do so in many cases:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    ...

    Updated 03-05-2010 at 01:52 AM by jscheuer1 (precision in explanations)

    Categories
    JavaScript & Ajax
  4. 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
  5. 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
Page 12 of 19 FirstFirst ... 21011121314 ... LastLast