Kernigh's Hub

 

JavaScript

Page history last edited by Kernigh 1 yr ago

This wiki has three JavaScript hacks embedded into its SideBar. The first two fix problems with the HTML output from the classic editor. Browsers with insufficient or disabled JavaScript do not receive these fixes.

 

  1. pblistfix-k1.js (from 28 September 2006) fixes incorrect sublists. It looks for each list (ul or ol elements) that comes after a list item (li element), and moves the list inside the list item.
  2. pbpreformatfix-k1.js (from 8 November 2008) looks for preformatted text (pre element) and removes the unwanted width="100" attribute.
  3. pbtitlesearch-k1.js (from 28 September 2006) adds a traditional wiki feature. Now the title at the top of each wiki page links to a search for the title; this is useful to find backlinks.


The text of this wiki page is in the PublicDomain.

Comments (0)

You don't have permission to comment on this page.