Tag › javascript


Scanstyles does nothing in Webkit/Firefox/Opera - Fix
Suddenly I had an issue with a popup appearing in a browser saying 'Scanstyles does nothing in Webkit/Firefox/Opera' when viewing my website. The fix.


PHP convert stdClass() object into JSON data
I recently had a problem that I had to convert an stdClass() object into a JSON data using php. The reason being that jQuery could only read the JSON.


Prevent Empty Searches in WordPress Revised
WordPress was allowing empty searches to bring back results. Here is a revised version of a solution I found on the web. Hope it helps anyone.


Passing data between jQuery and PHP
Here is a basic example of passing form data to a PHP file via jQuery and then passing data back to jQuery from the PHP file via an ajax style script.


Changing a Joomla email link cloaking CSS color
Joomla's plugin called Email Cloaking, replaces any email in content with javascript to stop spam. One problem is changing the hyperlinks colour.


Embed Javascript or CSS in specific pages in WordPress
Lets say you only wanted CSS or Javascript included on a specific WordPress page. You can by editing the header.php file, by page name or id. Heres how.


Free Javascript WYSIWYG Editors
I had to create a custom website for a client recently who wanted to be able to edit the content on their pages and I found these WYSIWYG editors - perfect.