cindy cullen

JavaScript Objects, Unary Operators and Logical Operators

JavaScript uses the increment (++) and decrement (–) on all data types. Putting the operator before the variable will change the value before the final evaluation of the statement. Putting the operator after the variable will change the value after the evaluation. Using the increment/decrement operator on a string first converts the value to a

JavaScript Objects, Unary Operators and Logical Operators Read More »

JavaScript Numbers: Number(), parseInt(), parseFloat()

JavaScript’s NaN stands for ‘Not a Number’. This is used when an operation that should have returned a number has failed. NaN used in any operation will always return NaN. NaN is not equivalent to any value, including itself. (NaN == NaN) returns false. You can test this value with the isNaN() function. Booleans, strings

JavaScript Numbers: Number(), parseInt(), parseFloat() Read More »

JavaScript Variables: Initialization, Booleans, and Numbers

Uninitialized variables show as a type of undefined. So do variables that haven’t been declared at all. We should always initialize variables so that we know that undefined means we haven’t declared the variable. null is an empty object pointer. We should initialize objects to null so that the typeof will return the correct data

JavaScript Variables: Initialization, Booleans, and Numbers Read More »

JavaScript Identifiers and Conventions

Everything in JavaScript is case-sensitive. Characters in an identifier name (variable, function or property) can be letters, numbers, underscore or dollar sign. The first character can not be a number. Of course, keywords can not be used as identifiers. Using camelCase for identifiers is the best case practice. Comments in JavaScript are // for single

JavaScript Identifiers and Conventions Read More »

Allow Users to Login with Email Address OR Username in WordPress

One of my clients complained that her users were contacting her quite often because they had forgotten their username. Of course, the username is listed in the email if you click on ‘forgot password’, but many novice users don’t know that or don’t think to click there to find their username. I figured that should

Allow Users to Login with Email Address OR Username in WordPress Read More »

How a Blinky Monitor Made Me More Productive – SyncMaster T260HD Blinking Problem – HDMI instead of DVI to Thunderbolt Mini Display

I have a SAMSUNG SyncMaster T260HD Monitor hooked to my iMac as my second monitor. I’ve had it for about 5 or 6 years and I love it. Sometimes I wish it were a little bigger, but otherwise it’s perfect. It is a TV and a Monitor. I’ve used it as a TV a couple

How a Blinky Monitor Made Me More Productive – SyncMaster T260HD Blinking Problem – HDMI instead of DVI to Thunderbolt Mini Display Read More »

Debugging WordPress: When Deleting Plugins Doesn't Help – s2Member, WP User Avatar, and WP Curtain Incompatibilities

Well, that’s 8 hours of my life I can’t get back. But, I learned a lot! My WordPress website using the s2Member plugin was supposed to redirect my subscribers to the Welcome Page that I had set up AND it was supposed to hide the wp-admin screens from them. But, every time I logged in,

Debugging WordPress: When Deleting Plugins Doesn't Help – s2Member, WP User Avatar, and WP Curtain Incompatibilities Read More »

Scroll to Top