Main Posts

Dream of Sheep

August 19, 2005

L@@K!!!1!
My Dream Journal has new duds! And bling!

The archives are more helpful, as they look like the archives on my main blog.

I'm using a PHP Dynamic Text Replacement technique to get the spiffy headings in the font I wanted without having to create EVERY SINGLE IMAGE by hand.

While I have categorized my dreams into recurring themes since almost the beginning of this journal, it is only now that I am making these themes available for public browsing. Which is kind of scary because I know which category will be the most popular, but it's also a safe bet that no one really wants to read about someone else's dreams.

And I want to give props to fu2k.org for letting me steal their CSS for the Ghost In the Box hack. It's what makes the text scroll under the sheep in Internet Explorer.

That be the bling, here be the caveats:

The fancy text-replacement headings only work on the main index page and the archive listing page. I have no idea why the other pages aren't working, as I'm calling the Javascript file with an absolute URL. The PHP file is called relatively from the Javascript file, and the font file is called relatively from the PHP file. Which should work, n'est pas? And yet, it doesn't work. Neither does using absolute URLs for calling the PHP and font files.

On journal entries that belong in one or more theme, the "Themes:" line repeats itself. I can't figure out how to get it to display the Themes when an entry is assigned a category and have it display nothing when no category is assigned, as well as only display the line once.

There you have it. Let the stalking commence.

2 Comments

Me likes the bling. Bring on more dream-filled bling!

darnit! somehow i knew you were going to beat me to that... i was working on something like that for another blog/site i've been hired to design. grrrr... darn you and your good idea using...

Additional Content

Hi, I'm Valette

I'm a photographer based out of Anchorage, Alaska. I've recently become a wife, a stepmother, and a homeowner. Life is pretty awesome. You can email me anytime. Learn more...

Recently Tweeted

Celebrating with strawberry cake for lunch. I thought I brought it to the office so I WOULDN'T eat it? 30 minutes ago

Also Excel filters. 33 minutes ago

Kicking all kinds of budgetary butt today. Couldn't have done it without @KaladiBrothers and @robotkarateman #xoxo 34 minutes ago

Quick coffee with @kitaq, now back to work. http://t.co/MKEdvVfp 3 hours ago

Also: catching up on Game of Thrones. #adultweek 6 hours ago

Recently Photographed

Recently Read

Archives

Also On