Advanced Search

View RSS Feed

Recent Blogs Posts

  1. Putting text on top of a video

    In July 2010 an enhancement to the YouTube video embed capability became available through a new embed code style. This style uses <iframe> and looks like this:
    <iframe src="http://www.youtube.com/embed/VIDEO_ID?" frameborder="0"></iframe>


    After VIDEO_ID? we can add the normal parameters, like this:
    <iframe src="http://www.youtube.com/embed/VIDEO_ID?start=0&amp;autoplay=1&amp;rel=0&amp;showinfo=0&amp;autohide=0&amp;modestbranding=1&amp;vq=large"
    ...

    Updated 10-14-2012 at 06:10 PM by molendijk

    Categories
    JavaScript & Ajax , CSS related
  2. Stretching an iframe or an object with pixel precision

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <title></title>
    ...

    Updated 06-17-2010 at 09:45 PM by molendijk

    Categories
    CSS related
  3. Styling Descriptions for Ultimate Fade-in slideshow (v2.1)

    There are actually 4 css selectors that can figure in this. Only three of them really matter. If you only have one show on your page, you only need to think about the last two. The selectors are:

    1. The id of the show, #fadeshow1, for example.

    2. .fadeslidedescdiv - the class for all description containers.

    3. .descpanelbg - the class for all description backgrounds.

    4. .descpanelfg - the class for all description foregrounds.

    ...
  4. 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 ...
  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.)
    Code:
    a { outline: none; }

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

    Categories
    CSS related
Page 1 of 2 12 LastLast