As I recently noted, both WordPress and K2 have migrated from using Prototype plus script.aculo.us to using the jQuery JavaScript library. Prototype is a JavaScript framework, including a library of functions used to build Ajax applications. It's best buddies with script.aculo.us, an add-on JavaScript effects library that extends the capabilities of the former. So where does jQuery fit in?
Continue reading 'From Proto.aculo.us to jQuery'
Tag archive for 'css'
A quick follow-up to this post in which I fell victim to the moving CSS validation goal-post. Do you include a link to the W3C Validator on your site to check your mark-up and CSS for standards compliance? If so you probably tested your code against the CSS profile that was in vogue at the time. But what happens when the W3C release a new profile? They upgrade the Validator—and your CSS may go from green tick to red cross! Here's a quick tip that avoids having to re-write any CSS, but at the same time keeps you from seeing red.
Continue reading 'Overcoming CSS Validator changes'
IE7 is being pushed via Windows Update. The IE7 development team document bugs fixed (noted on positioniseverything.net & elsewhere), & extended compliance/ new features from the CSS specs. The IE Web Developer Toolbar may assist debugging your site for IE7.
As you likely know, IE6 (and below) cannot handle PNG images that use alpha transparency. PNG produces graphically superior results compared to a transparent GIF image, which will often have a white fuzzy border. There are various "fixes" for this particular IE problem on the Web, but sometimes their application can have undesirable results, or the fix involves invalid XHTML or CSS. In my case I was prepared to accept grey backgrounds on the mini-icons used on bioneural.net, but there was one particular image where this really bugged me. Here's how I fixed it.
Continue reading 'Valid fix for PNG transparency on a single image'
In an earlier post I described a JavaScript-based method to include recently-approved iStockPhoto images in a page on your website. When I migrated from a static blogging system (iBlog) to WordPress I found a useful plugin that worked very well in MAMP. Unfortunately it broke when I moved my developmental site to a live DreamHost server. Here is a bit more background to the problem and an eventual solution that uses SimplePie. Although the focus here is on displaying photographs, it's a solution that should work with practically any feed you might wish to embed.
Continue reading 'Embedding iStockPhoto feeds revisited'
The post title says it all. I needed to change the header so that all posts in my WordPress blog falling under a certain category have a unique look. I'm new to PHP but prone to experiment, so jumped right in and found I could achieve this aim with just one line of code.
Continue reading 'A custom header for one category'








