CSS Transparency in IE 7 and 8

headmaster @ 4:47 am


CSS logoThis is part two of a series in CSS Transparency. If you need to apply transparency to Mozilla Firefox and Google Chrome see part 1.

In order to have CSS transparency in IE8 and prior versions we need to employ a visual filter. For this situation we will use the Alpha Filter.

(more…)

Force External Links to Open in a New Window Using JQuery

headmaster @ 11:15 pm


jQery LogoI’m using an RSS feed script to import news feeds into on one of my sites. The problem is that the RSS links open by default on the current window. Instead I want the RSS links to open in a new window only. That is, all external links on the page need to open as _blank. And all internal links (links to current site) should open in the current window.

It seems this is something that should be part of the RSS script, unfortunately the script I’m using does not have that functionality. Or at least not in an easily configurable way that I could find.

Having no time to delve into the innards of the RSS script instead I opted to override the links behavior using JQuery. See the solution below.

(more…)

Solution for jQuery Error: uncaught exception: Syntax error, unrecognized expression: [@href^="http"]

headmaster @ 10:57 pm


JQuery LogoWhile working on a jQuery script for forcing external links to open in a new window I came across the following error:

Error: uncaught exception: Syntax error, unrecognized expression: [@href^="http"]

See the solution below:

(more…)

Solution for PrettyPhoto Error: Object doesn’t support this property or method jquery-1.6.1.min.js, line xx character xxxxx

headmaster @ 12:31 am


This is an issue using PrettyPhoto on a WordPress blog for IE7/IE8

JQuery LogoI am using a JavaScript lightbox named PrettyPhoto which utilizes the JQuery framework. The lightbox works fine in Mozilla Firefox and Google Chrome but lately we noted it wasn’t working consistently in IE8 or IE7. The JavaScript console on IE’s developer tools give the following error:

Object doesn’t support this property or method jquery-1.6.1.min.js, line xx character xxxxx

The solution follows…

(more…)

IonCube PHP Encoder

headmaster @ 2:27 am


IonCube PHP EncoderThe ionCube PHP Encoder makes it easy to protect PHP 4, 5 & 5.3 source code from easy observation, theft and change. PHP licensing features built into the Pro and Cerberus editions also allow licensing PHP scripts to control where PHP code runs, and files can also have a time expiry. Non-PHP code such as XML can also be encrypted.

(more…)

A Word About Line Numbers

headmaster @ 12:23 am


GoDaddy.com, IncWe noticed a difference between some of the Joomla! files on the godaddy server and the zipped files in our local machines. After some experimentation we noted the following behavior:

(more…)

Hacking Community Builder: Modyfing and Styling the Login Module (CB Login) Code View 1

headmaster @ 10:55 pm


Community Builder LogoBelow is the segment of code we’re going to move into the <fieldset></fieldset> . We have removed some of the excess white space from the segment of code in order to make it fit our page properly but the beginning and end line numbers of the code you should be moving are correct: 1743 – 1903.

(more…)

Solution to Warning date(): It is not safe to rely on the system’s timezone settings.

headmaster @ 12:30 am


PHP ElephantI have several PHP sites that need to be upgraded so I set up a development server on one of my local computers. When I visit the sites locally the sites seem to work but upon enabling of the display_errors PHP directive the sites immediately display the following error:

Warning: date(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘America/Denver’ for ‘-6.0/DST’ instead in localhost/location/contact.php on line 130

(more…)



Ajax CSS CSS gradients CSS rounded corners CSS Style Sheets CSS Transparency error Failed Evaluations footer header image gallery JavaScript javaScript JavaScript Errors jQuery jquery Lightbox light box links open source PHP PHP PHP scripts Pretty Photo prettyPhoto Programming Languages Script Evaluations Search Engine Optimization StatusNet StatusNet themes templates themes Useful CSS Code Useful WordPress Code Web Applications Web Design Web Development Webmaster Toolbelt WordPress wordpress Word Press WordPress 3.3.2 word press links WordPress Plugins wordpress theme
  • Digital Goodies