Oct 6 2005

Scripturizer for Javascript 2.0 and ESV Popup 1.1

Today I have migrated Scripturizer for Javascript and ESV Popup from my personal blogsite to FuCoder.com, and have updated them with the latest changes that I have been working on.

Scripturizer for Javascript 2.0

  • Almost a complete re-write. Instead of searching and replacing innerHTML with regular expression, I have made a DOM walker to create DOM elements and text nodes in places of Bible references. It runs faster on MSIE, and pauses every 500 nodes parsed to make UI more responsible on large documents.
  • Link URL generation is now done on the fly — so you can change Scripturizer’s parameter on a parsed document, and the new parameter will still be used. See example on testing page by changing the Bible translation.
  • Fully tested on Safari 1.2.x on Mac OS X.3 and Opera 8.5 on Windows.

ESV Popup 1.1

  • Better MSIE compatibility. It now also uses CSS filter to draw a shadow under the popup for Internet Explorer.

Future development of these tools will be announced on this blog.

4 Comments

  1. Pingback: Scripturizer and ESV Popup have moved! | sYp

  2. Pingback: The LOdown

  3. Raptor on 18 Oct 2005 at 1:07 pm #

    I can’t seem to get this to work. Copied your testing page and put scripturizer.js, esvpopup.js, and esvpopup.html all in the same direcory as the test page. I also edited the test page to point to the script locations. But the test page does not work!

    According to the Firefox Web Developer Tool Bar, both Javascript files are loaded with the page. Is there anything else I need to do to make it work?

    My test page is at: http://kencarlson.org/test/scripturizer-test.html

  4. Raptor on 18 Oct 2005 at 1:52 pm #

    Ignore my last comment.. I found the problem. I had failed to enclose the element name in quotes. Sorry to bother you.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>