Easier SHJS Theme Debugging with Opera

Opera is currently a bit ahead here and there. In this case it's using a span's class as content. Usually Firefox (or Gecko for that matter) can do this as well, but it doesn't want to do it, if they were injected into the DOM via JS.
opera works
This is how it's supposed to look like. For getting that kind of effect simply add the following CSS to your theme:

pre.sh_sourceCode span:hover{
  content:attr(class);
}

Don't forget to remove it once you're done. ;)

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options