Augmented reality – 6th Sense – Amazing Video
Watch this amazing presentation. It is really fantastic. Share
Watch this amazing presentation. It is really fantastic. Share
For those who use fancy box and iframe inside fancy box might face the issue of changing the height. Once fancybox is loaded with a particular height and width, it does not change when you change the content inside iframe dynamically. Auto height change is only possible for images. Use the below code to change [...]
I uploaded my first presentation in slideshare. It is about , how the current world’s online technical tools can be used to bootstrap your startup. Most of the services in this presentation are based on UK based startup companies. Bootstrapping the stratups View more presentations from sythoos. Share
Below is a simple php code to sanitise an input message . The function has 3 parameters, depending on the parameter the input is parsed to filter. function sanitize_message( $message , $email = true, $numbers = true, $url = true ) { $message = strip_tags( $message ); if($email) { //strip email address $email_regexp = “[_A-Za-z0-9-]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[A-Za-z]{2,3})”; [...]
Guess what will happen if you add an image like below in your html page: <img src=”http://mail.google.com/mail/?logout&hl=en” /> It does not appear in page, but your google account in another window or another tab will get logoff. Now an external website could logout you from your gmail or orkut. IF you coded your website to [...]
IF you are facing problem with layout issues inside iframe (which is normally not there in normal pages) just test these things. Iframe is considered as a separate html page. So it needs all the basic tags, from html, head, body. It does not get styles from parent, so you need to add manually in [...]
A small tip for codeigniter programmers. If you use same controller for display view page and take action on POST, there is a problem may happen when you try to refresh the page after submit, the whole data get re-submit and creates problem. It can be solved using session. If there is any POST form [...]
If you are facing onchange and form submit of select-box (combo box) in html, you are not alone. In sometimes onchange = “document.formname.submit()” won’t submit the form, while it works on other html pages. There is hidden truth of this problem is , there may be some other input having the name “submit”. This cause [...]
From PHP we usually do a lot of coding to create a webservice client. We use nusoap library for this purpose. But in the case of complex objects, it is very hard to create a soap client call. We need to create a class structure before invoke a wsdl call. As a solution, you can [...]
Finally I found a good light-box which really matches the name “Light box” in FancyBox. It is a jQuery based light window. It has very less features while compare with any other light box, but simple to use. Compatible with all browsers. Go here to find it : http://fancybox.net/ You need to add the below [...]
If you are using mootool and jquery same time in your html pages, it normally won’t work. Because both are using $ variable for the base object. So only the last js file included will be active. To avoid this, follow the steps: Include mootool js first Include jquery js file second Like this: <script [...]