WordPress White Screen of Death
The functions.php file cannot have any spaces at the end.
View ArticleCount CSS Rules in Console
In your console, type… var sheets = document.styleSheets; var rules = 0; for(i=0; i < sheets.length; i++){ if(sheets[i].cssRules !== null){ rules = rules + sheets[i].cssRules.length; } }...
View ArticleViewing Object Events in Console
You can view an object’s bound events in the console with… $._data( $('.element')[0], 'events' );
View ArticleCommon IE Bugs
Use _.each(myArray,function) in place of .forEach() myRegex.test(myString) in place of .indexOf() var filter = /0{3}/; if(filter.test(orgInfo.get(‘payeeIdentifier’)) !== false){ ... } Use envt.target...
View ArticleCreate Multiple Localhosts
Change Default Listening Port Go to MAMP > Preferences > Ports and set Apache Port to be 80. Set up Localhosts in Hosts File Edit your hosts file so that you have some domains that will resolve...
View Article
More Pages to Explore .....