Search



Archives

2008

2007

2006

There is no limit for what you want to achieve, or door you can't open!Quote #1

« Prev Entries    

Rounded corners using Prototype!

Date: February 5th, 2008, Posted in: Web Development

I am sleeping on this one for a long time. Is there a way to add rounded corners to a DOM element without too much hassle, CSS hacks, too many DOM elements, background images, etc, so it would look perfect?

The workarounds I’ve found so far don’t provide the right stuff, or at least… maybe I wasn’t looking in the right place.

Anyway, the thing I’m working on, it’s something that can be addapted in prototype v1.6.0 and most of the it’s based on the MochiKit JS library which I just discovered.

So, if you look inside the Visual component of the library, you’ll see the RoundedCorners related methods, and everything on how to make sure the corners work. It’s all JS, and CSS work: background colors, paddings, etc.

I love the idea of MochiKit, never played with it before, it’s licensed under MIT, however, I don’t want to switch from prototype at the moment. But - if MochiKit proves to be better, then switching is what I’ll consinder to be doing next!

Now, I’ll be working to integrate the rounded corners part into a Prototype library based class and maybe share the code once I’m sure it’s close to perfection. If you can’t wait, at least you got a start!

Cheers!

Vladimir

P.S. Some links after more search:

http://www.editsite.net/blog/rounded_corners.html
http://www.cssplay.co.uk/boxes/chunky.html

Quick update: not a fan of JQuery, but here’s Michael’s implementation for this library.

Add Comment   |   Trackback   |   Bookmark

Better DHTML Progress Bar

Date: January 9th, 2008, Posted in: Web Development

dhtml progress bar mockupI am working on providing visual feedback to the users of some webapp, and I was thinking, what if there is a way to show a progress bar, with real percentage, without going through the flaws of the XMLHTTPRequest?

After some brainstorming, I came up with the idea that an iframe based solution is the best thing you can do, and here’s what happened:

Demo: DHTML progress bar using iframes

How does the mockup work?

The main page you’re looking at, contains a hidden iframe, which has a script that sleeps a second. Once the HTTP request is finished, the javascript code at the bottom of the iframe, triggers the “reload” event from the parent window, and the bar is increased with 1% on each request.

Please note the javascript trigger inside the iframe, happens after the sleep PHP function has been called.

The source code is available here as zip file, and it’s distributed under the MIT license.

Cheers,

Vladimir

Add Comment   |   Trackback   |   Bookmark

Pay Per Read Wordpress BOS Plugin

Date: January 3rd, 2008, Posted in: Web Development

bos pluginHappy new year everyone!

Hope the holidays were good there, I’ve had a great time during Christmas and the New Year party, but I’ve also brought something new, which is a wordpress plugin, called “BOS Money”.

What does it do?

It allows you to charge money thorough PayPal in order to allow your blog visitors to read your posts or pages.

If you want to learn more, have a look over here:

http://www.BlogOnSteroids.com

You’ll find all the documentation you need, and a guide which will teach you how to blog like the big guys :)

Best luck in 2008!

Vladimir

Add Comment   |   Trackback   |   Bookmark

« Prev Entries    

What's new?

I am currently planning the Installity.com application framework, in order to add automated installation for two other scripts: Joomla and PHPBB.

To understand the benefits of using Installity and get more information about this web 2.0 project, please visit Installity.com today!

Visit Installity

Who Is Vladimir?

vladimir ghetau

Vladimir discovered computers a very long time ago, when he wasn't more than a naturally curious kid.

Now he is an adult, responsible for his actions and success, and he's ready to "make it big time"!

On this blog Vladimir is offering tips related to his work, mostly about web development and internet marketing.

View Vladimir Ghetau's profile on LinkedIn

Blog Tags