Thursday, 13 December 2012

Re: RISC OS Javascript support

Graham Pickles wrote

> In message <20121213103541.GF15360@kyllikki.org>
> Vincent Sanders <vince@netsurf-browser.org> wrote:

>> Thanks to Rob Kendrik, Chris Gransden and myself we now have NSPR and
>> Spidermonkey libraries building in the NetSurf toolchain[1]. The CI
>> system[1] has built the toolchain successfully and a copy of NetSurf
>> for RISC OS with Javascript enabled[3].

> It's good news to hear about the development of RISC OS Javascript
> support to NetSurf. Keep up the good work and seasonal greetings to
> all the developers.

Great news! Does the Javascript need to be switched O?

I have tried a few simple tests but my Javascript seem to be being
ignored. Eg the following validated code works on RasPi Midori, but
not on NS #727 RISC OS:-


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="author" content="John Rickman"/>
<title>A Bakehouse-Cyber Product</title>
</head>

<body>
<div>
<p>The date today is </p>

<script type="text/javascript">
//<![CDATA[
document.write(Date());
//]]>
</script>
</div>

</body>
</html>




--
John - http://mug.riscos.org/

No comments:

Post a Comment