[thelist] Flash degrading to .gif

Elfur Logadottir elfur at elfur.is
Mon Dec 3 11:58:08 CST 2001


From: "aardvark" <roselli at earthlink.net>

| so, i don't need what Olly needs, i need a client-side solution that
| degrades, preferrably with no script...

i think you'll have to nix the 'preferrably' part of that sentence ...

how about this:
(note this is uncut source from a local newspaper online)

<script language="javascript" version="1.1"
src="/mm/js/augl/111.js"></script><noscript><script language="javascript"
src="/mm/augl/augl.js?ad=706"></script><noscript><a
href="/frettir-ifx/?MIval=nad_clickthru&ad_id=706&listno=111&order=1"
onmouseover="window.status='Smelltu!';return true;"
onmouseout="window.status='';return true;" TARGET="_blank"><img
src="/augl/img/augl_netbokhald_221101.gif" border="0" width="365"
height="55"></a></noscript></noscript>

where the 111.js script contains the following:
(basically choosing between two different ads, i think)

// document.write("<!-- slot 111; fallback 0 -->")
var augl = new Array (
"<script language=\"javascript\"
src=\"/mm/augl/augl.js?ad=706\"></script><noscript><a
href=\"/frettir-ifx/?MIval=nad_clickthru&ad_id=706&listno=111&order=1\"
onmouseover=\"window.status='Smelltu!';return true;\"
onmouseout=\"window.status='';return true;\" TARGET=\"_blank\"><img
src=\"/augl/img/augl_netbokhald_221101.gif\" border=\"0\" width=\"365\"
height=\"55\"></a></noscript>",
"<script language=\"javascript\"
src=\"/mm/augl/augl.js?ad=730\"></script><noscript><a
href=\"/frettir-ifx/?MIval=nad_clickthru&ad_id=730&listno=111&order=5\"
onmouseover=\"window.status='Smelltu!';return true;\"
onmouseout=\"window.status='';return true;\" TARGET=\"_blank\"><img
src=\"/augl/img/augl_buno_krakkabanki_301101.gif\" border=\"0\"
width=\"365\" height=\"55\"></a></noscript>"
);
var sec = new Date;
sec = sec.getSeconds();
if (augl.length) {
   var idx = sec % augl.length;
   document.write(augl[idx]);
}

--- end code ---

now this is not my script and i have no idea what's really happening there
:)
but this is what's going on at http://mbl.is an icelandic newspaper online.

HTH
elfur





More information about the thelist mailing list