So welcome to my updated work log. Often times, I lack the time to do much work on my blog, and in the time delay between updates I have a tendency to forget things. This page features clips of thoughts, list of things to do and more often than not clips of reminders.
Unless you really have an eye for the strange, you will not find much of interest here.
Main Theme
- Uses a design level font in the design. I need to find an acceptable replacement without licensing issue and use the new font css to attach the font file. >.< But it looks so pretty with Myriad Pro for the titles. It will be a hard search.
So I have found a font. I am using Vegur Light as the heading font in place of the Myriad Pro that was included with original theme. I am considering forking this theme, and repackaging it with the more accessible font. Possibly even upgrading the theme to take advantage of the new menu editor in WordPress 3.0.
Syntax Highlighter
function test() : String
{
return 10;
}
grrr… stupid highlighter doesn’t properly prevent the line numbers from getting included in the select. I can’t stand highlighters that add extra stuff to the selection. I was able to use a css tag to make it look like the number isn’t be selected but the numbers still show up in the paste. I need to look at MDC’s version 1.5 of the SyntaxHighlighter and see how they prevent line number inclusion. ( reference ) Update, upon closer investigation theirs does the same thing mine does. Stupid browsers. How do they expect us to build dynamic HTML applications if we cannot control the text selection.
o.O Oh what about that …. curfon text thing. you can’t select text generated by it. maybe I can render the numbers.
The other odd thing is the numbering doesn’t match. when I copied and pasted from the MDC version the numbers didn’t have a leading 0, while the display of the text defiantly show the leading 0 on each line. Maybe there is more hidden text that isn’t being filtered / blocked.
Last update for the day. The lines are generated using a list. The leading zero is from a css property. So that doesn’t help, and explains why its not included in the select but is copied anyway. Since the version I want to use (2) uses divs and code blocks it should be possible to prevent the selection.
WP Touch
- See about adding post thumbnails.
- See about adding mobAds bar to bottom of mobile site.
- Add Mobile Safari icon.
- Better List HTML styling for this as well…