This is a nice piece of code I found in Stack Overflow, but I love the solution posted by Darwin in October 12 2012 and I tweaked to fit my needs and here is my code: function adjustVideoRatioToParent(arr){ var element = (arr.e === undefined)? jQuery(‘iframe[src*=”youtube”]’) : jQuery(arr.e); //set element or elements var eParent = element.parent(); […]
For the longest time I used the MySQL ‘LIKE’ statement style for searching by keywords, which it is probably the most reliable and fastest option. But today I’m going to talk about another option you have to create a more effective keyword search and get the result from MySQL order by keywords relevance. For this […]