Chattering-Magpie-blog

Easy breezy, lemon squeezy.

Posted Wed Nov 05, 2003, 18:02 PM by Tracy | |

Ok, I’m getting used to Movable Type. I’m kind of liking it. Seems easier to update the web log. Still have to do a lot of manual updating for other sections. But it occurs to me I might be able to convert other sections to MT as well. Hmmm. If I can just manage multiple descending inter-related categories …

A little knowledge is a dangerous thing. One of my challenges with a web site I’m working on is how to get content to switch out randomly when the page loads. I found a javascript that works nicely, but it executes entirely within the body of the page, nothing in the head. I wanted to figure out how I could get the bulk of it in the head, so I could put it all in a separate .js file. That way when I needed to update my blurbs of content, I need only change one file. But then I decided that it would be useful to have different blurbs on different pages.

Besides, I couldn’t figure out how to write javascript. It’s one of those things that is still beyond me.

  1. "One of my challenges with a web site I'm working on is how to get content to switch out randomly when the page loads."

    What exactly do you mean by that?

    Ruben    Thu Nov 6, 07:23 AM    #

  2. I've got a set of quotes from the client. I want to display them one at a time, a different one each time the page loads.

    I did find a good javascript that does exactly that. You can see it in action here:
    http://treith.com/design_showroom/test4/

    Look at the light blue box on the left side on any page. Reload the page a couple times to see the content change. The interior pages are better examples of this.

    Tracy    Thu Nov 6, 09:28 AM    #

   •  

Links & Lists

Twitter

Seek & Find

Contact

Search

More Magpie

Kung Fu Diary
Magpie Knits
Magpie Writes
Photo Gallery

Sections and pages still in the "old" look, still accessible:

Feeds

RSS / Atom

Colophon

Graphics produced with Photoshop CS
Page layouts and CSS hand-coded with HTML Kit

Looks good in Firefox on PC, looks mostly okay in IE 6.0 on PC. I don’t know how it looks on Mac.

textpattern