Categories
Resources Tips Tutorials

Making your videos responsive to screen resolution with JQuery

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(); […]

Categories
App Reviews Resources Tips

The Best Free Design Software in the Web.

Start designing can be a little hassle, specially for students. Of course, the cost for an Art certifications are way over prized in the US. For example, an Associate Degree in Full Sail, Florida – Maybe the best option if you want to have hands on into new technology, can cost $80,000.00. If you don’t […]

Categories
Tutorials

RegExp Filter For URL’s

I was trying to get a nice short Regular Expression to filter and validate the url’s entered by an user in an form, and finally I come up with one that you can use as your first pass filter that its been working fine for me. It’s not a perfect one, but at least filter […]

Categories
Tutorials

Getting the ID of an element with plain JavaScript

I was searching for this for very long and didn’t really found something useful unless using a JavaScript framework, but for those who want to learn to code from scratch this is the answer. First you have to get the element that triggers an event. example: HTML <div id=”hello” onclick=”getId();”></div> <!– in Firefox is necessary to include […]

Categories
IE Solutions Tips

XMLHttpRequest error in IE8 and 9

Don’t you hate when everything is going smoothly with your website, you haven’t done anything to it, it is the same since forever and suddenly…. Your ajax is not working in Internet Explorer. Suddenly customers start calling that they cannot log in, or documents are not displaying; A complete mess!!. Well it happens to me […]

Categories
Tips

Print PDF files with JavaScript/PHP

I started a topic in DaniWeb about how to generate a gadget to let customer choose from a list of pdf files an create a custom order form from them… I still working on it but here is something I found that will help many of your that are looking for a solution how to […]

Categories
Tutorials

Problems Processing Strings With JS

http://www.w3schools.com/jsref/jsref_escape.asp

Categories
Tutorials

Making your own Scriptaculous style coding

How to avoid keying to many times the statement document.getElementById in your JavaScript projects.