Tag Archive > javascript

[SOLVED] Uploadify and session problems

Uploadify is a wonderful plugin for jQuery that allows you to upload several files at once,  it does the uploads transparently  using flash (take a look at the demo on this link).
In fact, the great advantage I see is not to be able to upload several files at once, this can be done by javascript [...]

Continue reading

, , , ,

Click effect for jQuery

Today I’ve been playing for a while with javascript. The truth is that I haven’t found what I was looking for, but let’s assume that this is because I’m a programmer and not a designer.
Anyway, what I was trying to do is to create some kind of click effect. Ok, let me try again. What [...]

Continue reading

, , ,

jcontroller: A small and simple controller for javascript

It’s been a long time since the last post, so I’ve though Hey! I’m loosing users, I cannot let that happen, let’s get something from any project I’ve done recently, so I can do a post :p
The thing is that I recently noticed that the javascript I’ve been writing lately becomes messy after some time, [...]

Continue reading

, ,

Keeping aspect ratio when scaling an image

Scaling an image to keep it under specific bounds, for visualizing purposes is a common task, but it’s even better if we can scale the image without deforming it. In this cases we have to scale the image and keep it’s original aspect ratio.
Nowadays there are thousands of libraries for any general purpose language that [...]

Continue reading

, , , , ,

jQuery 1.3.2 is out!

The version 1.3.2 of jQuery is finally out. It solves several bugs and improves the performance in some parts of the code.
The list of most important changes are:

Elements are now returned in document order.
.live() can now prevent bubbling.
:visible/:hidden are now significantly faster.
As are all the width/height methods.
Selectors are much faster [...]

Continue reading

, , ,

Where is the cursor in a input or textarea?

I’ve just found a website with an interesting example forwhere is the cursor and which text is selected (if any) in an input and textarea.
The truth is this code is not for daily use, but it’s quite interesting to see the possibilities of javascript (well in fact I was looking for this because I need [...]

Continue reading

, , , , ,

Get Google PageRank using only javascript (II)

On the previous postr I explained that doing cross-domain requests has a LOT of problems, and even with those problems today I was going to post how to get Google PageRank using only javascript
The thing is you cannot get the response once you do a cross-domain request (unless you use some tricks like a PHP [...]

Continue reading

, ,

Get Google PageRank using only javascript (I)

Some weeks ago, during christmas, I found this spanish article in tu función about how to get the Google PageRank of any website with PHP (he will be happy with the keywords of the link).
The fact is although I knew there would be a lot of cross-domain problems I told myself:
“hey! you have to convert [...]

Continue reading

, , , ,

Time Pickers in javascript

Truth be told,  from a usability point of view, a date picker has much more sense than a time picker. Anyway I like to to explore the different implementations out there
The objective for a time picker is to let the user set the time in hours and minutes, in 24-hour format, or even [...]

Continue reading

, ,

Rounding corners: the javascript way

After taking a look on how round corners on some browsers, I think it’s worth exploring other methods, like doing this with javascript.
Rounding corners is not difficult, in general, the problem is that you should use some “hacks”,  it is not the same rounding corners using a style on a unique DIV, than using 3 [...]

Continue reading

, , , , , ,

prev posts