If you are here you probably received an error something like this: The Google Maps API server rejected your request. The “sensor” parameter specified in the request must be set to either “true” or “false”. This is a commonly seen error message when working with the Google Maps V3 API. If you are like me, you know little about javascript … Read More
Tutorials - Category Archive
How to Export a MySQL Database With Only Location, Username, and Password Using MySQL Workbench
If you have only the name, location (ip address or web address), and password for you WordPress or other MySQL database, it is possible to easily export the entire database into one single .sql file without having any other admin privileges or the phpmyadmin link. We will be using a free tool called MySQL Workbench. You can download the latest … Read More
Motorola Triumph Phone Storage Low All the Time – Solution Using Stock ROM
Is your stock Android Motorola Triumph on Virgin Mobile constantly telling you that it’s out of memory, despite the fact that you keep uninstalling apps and deleting files all the time? Odds are, you are running into the same problem repeatedly. Most likely due to some sloppy programming on the part of Motorola, there are log files that get created … Read More
How to Disable a CSS Filter in Internet Explorer
Do you have an active filter in the CSS of your website that greatly benefits the design in most browsers, but for whatever reason, need a way to selectively disable it? Whether it’s to create a nice transition where the filter is disabled, you are making stylesheets for specific versions of IE, or you are using media queries to selectively … Read More
How to Force a Button or Link to be 100% Width CSS Tutorial
These are instructions on how to make an HTML link or button expand to be as wide as its parent element. Maybe you have been confused in the past and that darn link just never wants to grow. Here is the CSS you are going to want to apply to that link.
1 2 3 4 5 6 7 8 9 |
.fullwidth { width:100%; margin-left:0; margin-right:0; padding-left:0; padding-right:0; display:block; text-align:center; /*This will result in centering the link text, which is probably what you want -brianjohnsondesign.com*/ } |
And the corresponding HTML:
1 |
<a href="#" class="fullwidth">Subscribe now</a> |
The secret … Read More
WordPress Gallery Plugin: Warning: array_merge() Error
When you try to update you gallery using the WordPress Gallery Plugin, are you getting a string of php errors reading something alone the lines of: “Warning: array_merge() [function.array-merge]: Argument #1 is not an array?” If that’s the case, there may be a simple solution. 1. Exit the gallery post. 2. Reload the post. 3. Make sure the post has a title (This … Read More
PHP Script to Create Links to Each Subdirectory Using Page Titles as Anchor Text
I had a thought today. I have numerous, changing folders in part of my website, and I wanted to create a page that automatically generates links to each of those folders (or subpages) which I could then style and use, with the title attributes of the pages contained within those folders as the anchor text. So I did some Google … Read More
Google Analytics: Can Site Administrators See Your Other Websites?
If you are like me, and you have one Google analytics account with many different websites within it, you might be confused as to what certain users can see and not see. For example, if you have analytics for one of your sites, and you add someone else on as an administrator, will they have access to the analytics for … Read More