W3C home > Mailing lists > Public > www-smil@w3.org > April to June 2008

Re: Timesheets - UA Capability Detection

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 3 Apr 2008 10:15:13 +1100
To: www-smil@w3.org
Message-ID: <20080402231513.GA14673@arc.mcc.id.au>

Hi Jeff.

Jeff Schiller:
> Is there a standard, recommended technique for detecting browser capability
> when it comes to SMIL?  You may be aware of the FakeSmile library:
> http://leunen.d.free.fr/fakesmile/
> I would like to see hwo hard it would be to implement support for SMIL
> Timesheets 1.0 into this library, but I would like to 'future-proof' the
> library such that if (when) browsers start supporting it natively that the
> script does not run.

A DOM feature string sounds like the way to go, here, so you could do:

  if (document.implementation.hasFeature("Timesheets", "1.0"))

Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au
Received on Wednesday, 2 April 2008 23:16:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:28 UTC