February 16th, 2003
Interesting Discovery:
I use photoshop for most of my graphics. Then I open up the .PSD files in Fireworks to make .gifs (they just look better to me.)
Since fireworks is vector-based (rather than rasterized), I converted the .psd file I rendered in poser into a .png (Portable network graphics).
Then I imported the .png file into flash for the front page of EricBrooks.Com
Now it expands & contracts with no loss in quality. I couldn’t do that if I had imported a .jpg. Plus the flash file is only 39kb. Using a .jpg that file size (800×600px) would have put it well over 100k.
It’s vector graphics from now on for me….
(Just a little something to keep you busy while I delete a bunch of files here…)
Posted in Tutorials | 10 Comments »

January 19th, 2003
I just added permalinks to the comments.
There’s a bunch of tutorials out there, but I forgot to bookmark them, so, like an idiot, I had to do it from scratch.
Here’s what I did:
In your Comment Listing Template…
First you need to make an Anchor for each comment entry. Find where it says:
<$MTCommentBody$>
And change it to:
<a name=”<$MTCommentID pad=”1″$>”></a>
<$MTCommentBody$>
Next, make the permalink. For the sake of argument, I put it at the end of the comment, after the date (<$MTCommentDate$>). You can put it anywhere you want. The code for the permalink is:
<a href=”<$MTCGIPath$>mt-comments.cgi?entry_id=<$MTEntryID$>#<$MTCommentID pad=”1″$>”>Link</a>
For example, when Jennifer announced her new domain: Link
So there…
Posted in Tutorials | 11 Comments »

September 7th, 2002
“how do you get the fade effects on your buttons?”
Even though I know kd knows this answer… *wink*…
|
How to make your buttons go…
|
|
|
|
It’s all CSS, my dear!
1. I made a selector called .”btn”
2. In my css:
.btn { background: #FFCC00 url(img/btn.gif); background-repeat: repeat; border-color: #FFCC00; color: #000000; font-weight: bold; font-size: 9pt; font-style: normal; font-family: Arial, Helvetica, sans-serif;}
3. btn.gif
is the gradient background in the buttons.
4. <input type=”submit” class=”btn”>
You can more or less use any image as a backround anywhere on your page with css….
Any questions?
Posted in Tutorials | 1 Comment »
