http://qs1969.pair.com?node_id=336159


in reply to (Client side) Perl Syntax Highlighter

That's really cool. You might consider calling the sub from an <body onLoad=""> event instead of the onClick. I noticed that when you click again in the text, some of the text moves a little on the screen - specifically lines that start with "my"(in IE 6). Or maybe set a variable so you can only fire the event once.


«Rich36»
  • Comment on Re: (Client side) Perl Syntax Highlighter