I dislike the use of Flash for most business web sites. In this case I will make an exception. This Dutch site, HEMA – online winkelen, has one of the best and most amusing uses of Flash. It is worth the wait!
I dislike the use of Flash for most business web sites. In this case I will make an exception. This Dutch site, HEMA – online winkelen, has one of the best and most amusing uses of Flash. It is worth the wait!
Shadowbox.js Media Viewer
I_CRE8
Fri, 25 Jan 2008 21:00:00 GMT
This looks interesting but it is considerably larger than my current jQuery lightbox plugin. Since I do not use flash or the other media the plugin supports, this plugin has limited benefits for my personal use and most of the web sites I maintain. Maybe sometime in the near future I will need it.
Recently I found an interesting problem. A person complained to me that a link on a web page did not work. When I went to the page I was able to duplicate the problem with my default browser, Internet Explorer. Since I was pretty sure the developer who composed the page would have tested their links, I was puzzled. So I tried FireFox. The link worked! When I looked at the html code I saw the error immediately. He was using an <input> tag inside the link tags, <a>, to display a graphic. The <input> tag would have been appropriate if he wanted to display a graphic in a form but the <img> tag would have been the correct way to create a click-able graphic link. It looks like the developer had used some code from a form but he was sloppy in converting the code and had not tested the page with IE.
What was interesting was the way Internet Explorer and FireFox responded to the coding error. FireFox ignored the error, displayed the graphic, and let the link work. It was a mistake but FireFox did not care. Internet Explorer on the other hand displayed the graphic but did not let the link work. Now that is typically a surefire way to get a developer’s attention. Too bad the developer forgot to test his page with IE! I ran the page through the W3C HTML validation service and it did not flag this as an error. Hmm!
Thank you to everyone who tried out the beta releases of Writer over the last year and gave us feedback. Over 1.5 million of you downloaded our last beta release, and your input helped make Writer the product it is today.
Our goal from the start has been to help make blogging more powerful, intuitive, and fun for everyone. Today, we’re proud to announce that Windows Live Writer 2008 is now available!
Yea! I have been using this almost exclusively for my posts.
Windows Live Writer: Out of Beta
Every web designer finds it handy to have a collection of code snippets such as javascript effects, pieces of html and widgets that they incorporate into their designs. Lets take a look at recent examples of these …
This is an interesting collection of snippets that I need to investigate further. The creativity in web development never ceases to amaze me.
25 Code Snippets for Web Designers (Part7)
In a previous post I said that jQuery 1.2 did not work with tablesorter. Well, Christian and the folks at jQuery have made some updates and they work together now. You need both the 2.01 version of tablesorter and the 1.2.1 version of jQuery.
I tried jQuery 1.2 this week on my phpWebsite demo site but the zebra tables in tablesorter did not work for me. I got a dark gray table rather than a striped table. The folks know about the problem and it looks like someone has offered a fix. I will wait for those folks to work things out. Version 1.1.4 seems to work just fine!
This is a massive new release of jQuery that’s been a long time in the making – and it’s ready for your consumption!
We’ve put the full jQuery 1.2 release notes on a page of it’s own, since there’s so much to dig through. REMEMBER, features were removed in 1.2, so please be sure to read the notes on how to upgrade before doing so.
Recently I have become a fan of jQuery. It allows me to add some neat functionality into web sites. A week ago I downloaded the 1.1.4 version which promised some pretty impressive performance improvements over 1.1.3 but I had not gotten around to testing it out. Now I see that the 1.2 version has been released! I am real confused about their version numbering scheme. The 1.1.4 version looked like a small change based on its version number but a pretty big change code wise. Version 1.2 is a big code change since it deprecates a variety of functions. I guess I will try the 1.1.4 version first. That is what the release notes recommends. Whew!
I finally got around to looking at OpenDNS. I have seen its name mentioned before but its name does not do justice to what it can do for you. Just looking at its name you have to wonder what can an open DNS do for me. One of the mailing lists I read recommended it as a way to block adult sites. It can block Malware sites, too. Hmm….
Last week I was talking to some folks about network monitoring and the problems I find with using pings to determine network status. Users consider a site or application is down if they cannot use it. They do not care if you can ping the site. In the case of my most obnoxious user, my son, the network problem was typically related to the server he was trying to get to, World of Warcraft. He had an important date at 700 PM and “my” Internet was the problem! Typically the problem looked like a server load issue. Sometimes his problems were related to the route being to the server being congested and occasionally it was directly related to the DNS being out to lunch. So I am going to give OpenDNS a whirl. It probably will not solve any problems for me but it may reduce the number of problems being shot in my direction.
OpenDNS | Providing A Safer And Faster DNS
In a previous post I started creating a phpWebSite theme based on Blueprint. My plan is to convert an existing phpWebSite to the latest version but a theme for the latest phpWebSite(1.3.0) is not ready yet. Since my idea of humor is frequently referred to as cheesy I am calling this new theme, Bleuprint.The theme has a lot of neat stuff since I incorporated a lot of toys into the theme. However, it is not ready yet. It is still a work in progress. At this time I have both the web page and article module pages on my front page. I am leaning to using the Article module for most of my content but I am still working through various annoyances. Make me a believer, Eloi!
My demo site is at http://demo1.wehuberconsultingllc.com/.
In my last post I thought I had set up PHPUnit correctly. As I worked through the samples I found out that there were a few more problems.
zend_extension_ts="C:\Program Files\xampp\php\ext\php_xdebug-2.0.0-5.2.2.dll". Now I get the pretty code coverage report.So there you have it. I have gone through the examples and gotten all of them except one to work as expected.
I have decided to do some playing around with unit tests for PHP. I saw a video on Getting Involved in WordPress and it reminded me of my interest in unit testing. Now I almost want to create some unit tests for verifying WordPress plugins or phpWebSite code. Fortunately, common sense will prevail and I will restrict my activities to playing. The instructions at Chapter 3. Installing PHPUnit looked pretty easy but since I wanted to do my testing under XAMPP I knew there would be problems. Hopefully the problems would be minor.
The first thing I did was to open a command window in the PHP directory under xampp and ran the following command.
pear show-config
This command prompting elicited an error about improperly set environment variables. So I edited the file and inserted the full path to the XAMPP directory. I tried the command again and it showed the PEAR configuration. I checked the installed packages and it showed PHPUnit to be version 1.3.2. I would like to use the latest version so I am going to follow the instructions from the documentation.
The next commands I tried were to update the channel and install PHPUnit.
pear channel-discover pear.phpunit.de
pear install phpunit/PHPUnit
The channel command worked. The install command did not work since it wanted the a dependency updated, GraphViz. After updating the dependency I ran the install command again. It installed 3.1.7 and it said I could also install pdo_sqlite and xdebug. I tried to install these extensions but they ended with a DSP error.
To test the installation I created a new folder under htdocs called phpunit so that I would have all of the unit test files in one spot. I quickly found out that I needed a copy of the phpunit.bat file in that directory, too. This file is in the PHP folder and it has the correct path to the php.exe file. I copied the example ArrayTest from the documentation into a file called ArrayTest.php and ran the command, “phpunit ArrayTest“. It worked. Now I can move on to more sophisticated unit tests.
After a little searching I found that the xdebug and pdo_sqlite extenstions already exist in the extensions folder. XAMPP installs all of the extensions but only enables a couple of them in the default installation. All I had to do was to edit the php.ini file, remove the semi-colon in front of these extensions, and restart the web server.
I have been pondering for some time whether to convert existing web sites from phpWebSite to WordPress. It is difficult for me to think about these things since I quickly jump to the implementation details. So I decided to back off and look at the problem from the viewpoint of communication styles. For this quick analysis I am going to compare the diary, magazine, and product brochure formats to their Internet counterparts. These communication styles have existed for a long time in printed form. I think a little pondering on where these formats came from and where the web site versions of these formats are going will give me a better strategic view.
So there you have it. Both WordPress and phpWebSite are pursuing the magazine formats but phpWebSite is a more natural fit for the magazine format at this time. WordPress has a much larger development community but it has many diverse interests. The primary interests for WordPress is the blog format so it is hard to tell who has the better development community in the magazine format area.
I finally bit the bullet and decided to create a new theme for the new version of phpWebSite. Part of my problem with starting this project is that I think that WordPress might be a better solution for these web sites. One of the big advantages that WordPress is an abundance of good looking, standards compliant themes. It probably would not be that hard to migrate one of the old phpWebSite sites into WordPress. The other site has a couple of features that would require a lot more research so I opted to proceed with the theme redesign project.
In a previous post I talked about the “Blueprint: A CSS framework”. I would like the new theme to most like Misty Look. In a previous post I mentioned that I have used this for a charity blog in the past. For kicks I want try out the Copyblogger theme, too. I also want to add jQuery support so that I can use ThickBox. So here is my plan.
At this point I have a workable replacement for the original site. Most of the stuff works but I am still checking it out. I have not made the changes to the comment template, the list menu template, or checked the new version of Article. I will probably be updating to the latest version(1.3.0) of phpWebSite on the demo site in the next couple of days. To view the results go to my demo site at http://demo1.wehuberconsultingllc.com/.
Now it is time for me to separate the specific theme data from the common theme data. I expect to create four theme variations and a theme to display a design grid.
Convert the old data into the new phpWebSite format.
FavIcon from Pics — how to create a favicon.ico for your website
I just got finished creating a favicon from a picture and it looks good. This makes the process painless!
Blueprint is a CSS framework, which aims to cut down on your CSS development time. It gives you a solid CSS foundation to build your project on top of, with an easy-to-use grid, sensible typography, and even a stylesheet for printing.
I saw this a couple of days ago and decided this may be just the trigger to get me to redesign an old phpWebsite theme. The old theme works but it is kind of quirky since it started out as a table based layout theme. It could benefit from a redesign from the ground up. I have been yearning to redesign and clean up the theme for some time. Most of my theme ideas come from WordPress Themes so I was looking at porting one or more WordPress themes I like over to phpWebsite. It is debatable whether it makes sense to port over the themes since I could recreate the site in WordPress in about the same amount of time. I will mull over this a little while longer.
![]()
I decided to customize my Outlook Today page with jQuery. The change was pretty simple. My plan was to add the current weather forecast available from Yahoo via a RSS feed. The source for my inspiration was this post by Jean-François Hovine.
The only annoyance is that I get a popup window because I am accessing content in another domain. After a little bit of work this is what I ended up with.
I decided to add zebra tables to a phpwebsite recently and used the version from the link below.
Sortable and Selectable Zebra Table Widgets
It took me a little while to accomplish since I needed to convince phpwebsite to not strip out the <thead>, <tbody>, and <tfoot> tags. Not many people use these tags so phpwebsite removes them unless you modify the configuration. To get the table to work I used both the ID and CLASS elements on the table tag. I used both the<thead> and <tbody> tags in the table although I think only the <tbody> tag is required.
| Pos | Artist | Trackname | |
|
|
|||
| 1 | Lost In The Plot | The Dears | |
| 2 | Poison | The Constantines | |
| 3 | Plea From A Cat Named Virtute | The Weakerthans | |
| 4 | Can’t pick me! | No sir! | |
| 5 | Living Room | Tegan And Sara | |
| 6 | Can’t pick me either | Nope | |
| 7 | Fast Money Blessing | King Cobb Steelie | |
| 8 | Sore | Buck 65 | |
| 9 | Love Travel | Danko Jones | |
| 10 | You Never Let Me Down | Furnaceface | |
I found that this collection of CSS, scripts, html, and widgets caused me to rethink some of the stuff I am doing. I haven’t changed anything but I am getting some ideas of how I could use this stuff.
Round up 25 of the Best CSS, scripts, html and widgets that you can use on on your website or blog (Part 4) More…
This is embarrassing! I have been using a version of Eric’s Reworked Reset in conjunction with my main css for a couple of weeks now and I did not notice that the strong/bold feature was not working in the content of the blog. Putting it back in was easy but it reminded of all of the things that are turned off in the reset.css that affect its use with an existing website but do not break it. Generally speaking, I am using very few selectors that cover the whole web page. This means that I specify the area of the web page I want to affect. In my case I added the following code, #content strong {font-weight:bold;}, to override the default action for the content area of the web page. I also added #content em {font-style:italic;} to restore the default emphasis.