1 (edited by m[e]ntor 2007-02-11 12:04:41 AM)

Topic: After a long quiet time...

.. i want to post something new on the vanity board

first the site:

http://www.amp-lified.de/amplified2/index.php

you can login with test/test

this taskmanager is build on my own new php5 ajax application framework
both, the framework and the taskmanager are still in development, if i have a little bit time  beside my work wink

on the taskmanager there are only ajax-calls to manager every function


the framework includes some other opensource packages

xajax 0.5 beta1 (don´t have time to switch beta2)
smarty
prototype/scriptaculous
ovberlib
my own lightbox remake lockbox ( http://www.amp-lified.de/index.php?lnk=12 )

as well, there is a fully language support for each module ( sorry for thats currently in german, don´t have time to create english languagefiles)

take a look and post comments wink

Oliver

p.s. i have forget to say, that opera currently is not supported ( prefer ie7 or firefox)

Re: After a long quiet time...

and forget to say, ... try i rightclick on project or tasks to get some other functions, and ofcourse you can drag tasks and drop them on projects

Re: After a long quiet time...

Congratulations!
looks great :-)

4 (edited by huurs 2007-02-28 10:27:29 AM)

Re: After a long quiet time...

would you mind, sharing some of your code??
e.g The Right Click Feature :-)

Re: After a long quiet time...

onmousedown="return ajax_func(id, getButton( event ) );" oncontextmenu="return false;"
function getButton( e )
{
    if ( !e ) { e = window.event }
    
    var btn;
    
    if ( e.which )
    {
        switch ( e.which )
        {
          case 1:
            btn = 'LEFT';
            break;
          case 3:
            btn = 'RIGHT';
            break;
        }
    }
    
    if ( (e.button || e.button == 0) && e.which == undefined )
    {
        switch ( e.button )
        {
          case 0:
          case 2:
            btn = 'RIGHT';
            break;
          case 1:
            btn = 'LEFT';
            break;
        }        
    }
    
    return btn;
}

which is firefox,button ie

Re: After a long quiet time...

thx!

Re: After a long quiet time...

Could you please post a short code sample how to use your Lockbox with XAJAX?

Re: After a long quiet time...

hehe do you want the whole code of amplified 2 ? wink

ok hier is an example for lockbox:

    public function addWidget( $content )
    {
        $content = preg_replace( "/\\n/", '\\n', $content );
        $content = preg_replace( "/\\r/", '\\r', $content );
        $content = preg_replace( "/\\t/", '\\t', $content );
        $content = utf8_encode( $content );
        $content = addslashes( $content );
        self::script("addWidget( '{$content}' )");
        return self::returnResponse();
    }

i have encapsulate xajax and xajaxresponse in a own class, and addWidget() is an function of this class
thats the reason why there are a self:: command for script() and returnResponse()