Re: Wow Vamps, What An Incredible Failure You've Helped Me Discover!

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

On Sun, 27 Feb 2005 04:51:04 -0800, Onideus Mad Hatter

Quoted text here. Click to load it

i did say it was off the top off my head ...

if one snitches toby inkster's stuff, you can make it work cross
browser ... and i've tested it in firefox  

eg movie.js is

  function flash(f,w,h) {
      var movie = document.getElementById("movie");
    var html = "<object id=\"movieobj\" height=\"" + h + "\"
width=\"" + w + "\" ";
    html = html + "data=\"" + f + "\" ";
    html = html + "type=\"application/x-shockwave-flash\">\n";
    html = html + "<param name=\"movie\" value=\"" + f + "\">\n";
    html = html + "<\/object>\n";
    movie.innerHTML = html;
    return false;

(not that innerHTML is dom standard)

in the body

<div id="movie"> </div>
<a href="movie.swf" onclick="return flash(this.href,630,300);">Movie



Member of the Feminist Junta

"My own definition of hacking is the clever
circumvention of imposed limits, whether imposed by your government,
your own skills or the laws of physics."

St. Jude Milhon

Site Timeline