Daniele Cruciani
Programmatore Developer PHP/MySQL Freelance
mobile: +39 3489215204

icq skype msn linkedin fb t ff youtube picasa google
seconds to the end of World
End of World 21 December, 2012 11:11:00
Hire me before that day! | don't bother

Tu sei qui

jquery

    jQuery context menu

    Undefined

    Ok, I admit I do not search to much out there if this is available..

    A simple jquery plugin that permit to show context menu

    I take inspiration from yahoo library: here is an example

    But I want it as jquery plugin and also I want to have option to choose the way it should work, for example I also want to fire context menu on hold down left mouse button for 1 second, or just hover on element.

    jquery Form Hint plugin (mine)

    This is my view of form hint plugin: show a div over with the title content inside, instead of replace text in input elements and match it with placeholder
    simply run $(selector).formHint() on all form element and title is used as hint


    See also http://code.google.com/p/jquery-watermark/
    Undefined

    Ajax frontend for my backoffice in jQuery and PHP

    This is my way to organize php for a simple jQuery frontend ajax based:

    1.in a administration page include the php that generate html for each box
    2.for each box setup behavior in Javascript
    3.let each php manage POST request (for change/update) and GET request for show content


    So in admin.php we could have something like that

    Undefined

    Option List jQuery plugin

    A plugin for display list of item to insert.
    List item are stored in input hidden comma separed, the call is simple
    Some bug to fix

    options are

    Undefined

    jQuery Waiting plugin

    Undefined
    This is a simple jQuery plugin for purpose of loading phase of an ajax request or anything else.
    $("#testdiv").waiting({imgsrc:"/files/aj-blue.gif"});
    
    to stop a waiting div
    $("#testdiv").stopWaiting();
    

    move multiple option in select with jQuery

    I look for this everywhere: how to move multiple option inside a select
    function upfield() {
      var el = $('#selectedfield').children('[@selected]:first').prev();
      $("#selectedfield")
        .children('[@selected]')
        .each(function(){
    	$(this).insertBefore(el);
          });
    
    }
    
    function downfield() {
      var el = $('#selectedfield').children('[@selected]:last').next();
      $("#selectedfield")
        .children('[@selected]')
        .each(function(){
    	$(this).insertAfter(el);
    	el = $(el).next();
          });
    }
    
    Undefined
    Iscriviti a RSS - jquery