Scroll to top

10/04/2021

The home on the web of Colin Walker.
Find out more on /about, say /EHLO, or tune in to the daily RSS feed.

2021/04/10#p1

After completing both the post titles functionality and the latest muse-letter yesterday, I allowed myself a day off from writing the project. I thought I'd earned it. It also gave me some breathing room to get out of the headspace I found myself in whilst writing the letter.

I say I've completed post titles but think it might be a bit too binary in its current form – if they're enabled you can add and see them, if not you can't. What about if you wanted a specific item to have a title but didn't want the feature always turned on? That's currently not possible.

I think I'm going to remove some of the logic so that existing titles will be displayed even if the option isn't enabled.

I'm also considering some kind of indentation so that you could have sub-sections or might want to indicate a certain sequence of "posts" are related, possibly those that fall under a title. 🤔

No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



2021/04/10#p2

Made a new friend 🐔

Chicken

No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



2021/04/10#p3

We pulled up in a car park and the chicken decided it wanted to get in the car and sit on my seat. I didn't think chickens could drive.

No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



2021/04/10#p4

It went from a glorious sunny day eating ice cream to heavy snow across the Dales.

Snow on the Dales

No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



2021/04/10#p5

I wanted a better way than writing "Click to expand" to indicate if an image could be clicked/tapped to see a higher resolution version and came up with the idea of an overlay.

If an image can be expanded I assign the class "clickable" to the surrounding link tag then use JavaScript to add an "expand" indicator on top of the image.

Expand indicator

Related post - 12/12/2023
Like Lightboxes Without JavaScript – Dan Q... Love this! I might have to steal this idea and redo my current "click to expand" solution.
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



Close