October 7th, 2009
Ref. to this tutorial :
http://www.webmotionuk.co.uk/jquery-image-upload-and-crop-for-php/
For people who has problem with IE, the problem that first click on IE get selection.width & selection.height = 0. therefore when the scaleX and scaleY divided by 0, it return Infinity. So here’s a simple Solution :
Just replace :
var scaleX = 100 / selection.width;
var scaleY = 100 / selection.height;
With :
if(selection.width != 0 && selection.height != 0) {
var scaleX = 100 / selection.width;
var scaleY = 100 / selection.height;
} else {
var scaleX = 100;
var scaleY = 100;
}
Tags: IE, imageareaselect, jQuery, plugin
Posted in Uncategorized | No Comments »
May 17th, 2009
Hdeya and Tarabot for IT & Consultancy announced a cooperation agreement in the IT consultancy sector to provide Tarabot by web development and web applications services. Read the rest of this entry »
Posted in Hdeya News | No Comments »
May 7th, 2009
IE6 is like an illness that just won’t go away, but we have the medicine.
IE6 Update looks like IE’s Information Bar, but instead of offering your visitors an ActiveX plugin, it offers a browser update.
For more info :
http://ie6update.com/
Posted in Developer's Toolbox, Javascript, Usability, interface | 1 Comment »
May 3rd, 2009
While we were working on http://www.duettographics.com Administration control panel, they required the ability to sort their images in easy way, so after some googeling we find many separate tutorials for this. So, we decided to write one simple tutorial that can describe the whole thing.
In this tutorial, we’ll work on sorting menu items.
Requirements : sortable jQuery UI, PHP & MySQL server support. Read the rest of this entry »
Posted in AJAX, PHP Tips, Quick Tip / Trick, UI, jQuery, php | 15 Comments »
May 2nd, 2009
We wrote this post specially to integrate openWYSIWYG with jQuery Lightbox, so we recommend you to read this article too http://www.hdeya.com/blog/2009/05/generates-lightbox-on-the-fly-using-jquery/
OpenWYSIWYG is a free & Open source WYSIWYG “rich text editor”, and it has a php add-on for images upload. In this post we’ll describe how to generate thumbnails automatically on images upload. Read the rest of this entry »
Tags: automatically, generate, OpenWYSIWYG, thumbnails
Posted in PHP Tips, Uncategorized, php | 1 Comment »