Dynamic HTML

This is a discussion on Dynamic HTML within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I was thinking if I can have the browser play a video file ONLY when I click on an inline ...

  1. #1
    Addicted to the Internet netboy's Avatar
    Join Date
    Dec 2001
    Posts
    158

    Question Dynamic HTML

    I was thinking if I can have the browser play a video file ONLY when I click on an inline image... Can I do that?

    Example.. the image's height and width is 100..
    the when I click on the image, the video file will replace the image and play on 100 x 100..

    Can anyone help?

    Thanks in advance.
    It's unfulfilled dreams that keep you alive.

    //netboy

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    the only way i can think of is to use an iframe and a quicktime movie..wouldn't look very good

  3. #3
    Registered User compjinx's Avatar
    Join Date
    Aug 2001
    Posts
    214
    can't you just put the image in a div tag, and when the user clicks on the div tag, the html of the tag is replaced with HTML that points to a video. I'm not that great at DHTML so I miight not even be talking about the right thing.
    "The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
    Eric Porterfield.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please Help - C code creates dynamic HTML
    By Christie2008 in forum C Programming
    Replies: 19
    Last Post: 04-02-2008, 07:36 PM
  2. Replies: 4
    Last Post: 11-02-2006, 10:41 AM
  3. Identify dynamic IP address of network device
    By BobS0327 in forum Tech Board
    Replies: 2
    Last Post: 02-21-2006, 12:49 PM
  4. operator overloading and dynamic memory program
    By jlmac2001 in forum C++ Programming
    Replies: 3
    Last Post: 04-06-2003, 11:51 PM
  5. Design + HTML
    By orbitz in forum C Programming
    Replies: 8
    Last Post: 11-21-2002, 05:32 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21