New image slider for the site

I was wanting to display a slideshow if images in my blog posts for battle reports but kept hitting on the problem with most of them that you couldn’t have more than one on the page at the same time so I thought, “How difficult could it be?”. not too bad as it turned out.

I hit one snag when I was checking for the “currentslide” but setting the slide to “.currentslide” so it would only loop to one image and then another issue that seemed to cause the whole thing to just thunder through the images very quickly. In the end with some help from the wonderful people on stackoverflow.com, I got the problem solved.

The code is very simple and not a jquery plugin as some have suggested I write, but for a first version it works.

Another day, another jQuery problem solved

I had a problem, in the page I was working on, I have several sections, only one gets displayed at a time and they all have the same field at the top of each section called “Label”, when the user moved through the sections, if they have provided a Label it should automatically be populated in the new section. jQuery to the rescue with .filter(). Which allowed me to find only the label elements where the value was not empty and then easily copy it to a new section.

Not rocket science but useful.

Toggle the Visibility of