Some may not know, but you can use the JQuery method position to pass an object with a lot of functionality. This properties of the position object can control where the item sits in the HTML, plus also the collision. This is where it collides with another DOM or the window of the page andContinueContinue reading “How to detect JQuery UI collision position”
Category Archives: JavaScript
VAT Number Validation
One bit of code I needed recently was a way to validate a user’s VAT number, but for particular countries. Please see the reasons and method for validating a user’s VAT for most of Europe.
Better to be specified
Are you a master at one or are you good at all? I am asking this question to see if developers want, need and like to be a master at one topic or if they think it would be better to be multi talented.
View the Source Code of Mobile Devices
Do you need to know what you mobile website is producing, but on the phone itself? Then here are the best ways I have found to inspect you mobile phone or tablets HTML. I have found how to inspect the HTML source of multiple platforms including iPhone, Android and more.
How To for the Twitter Card
Bing bing, twitter email… it’s twitter card. Twitter has developed a new feature called twitter card, but how do you use it? when I was setting up the PureRandom twitter card, I followed all the instructions, but still got a bit confused. This could be just me, though it never hurts to help others.
Which Viewport Width?
Responsive designs are the current and the future, but how do you build yours? When you build a responsive website one of the key parts is the view port. This tells the browser details on how to view the website it is requesting. The question is what do you tell it?
President Google
I wonder if a company can get so powerful that it can take over a country, then the world? On the darker hand, can a company get so powerful it turns into Skynet? Both I hope are not true, but it does seem there are companies trying to reach these goals and one that is getting there in my eyes is Google.
Should we use libraries?
Backbone.js, Node.js, SASS and even JQuery. We add these libraries in every day to create better websites and faster, but we are just loosing our coding abilities? I wonder with all these libraries that we are creating and importing are basically making our websites for us and, our coding abilities more like setting up Wordpress. So should we give in and use them or should we be creative and make our own paths?