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

icq skype msn linkedin fb t ff youtube picasa google me on github

Advertisement

You are here

jquery

    jQuery context menu

    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/
    Tags: 

    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

    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

    Tags: 

    jQuery Waiting plugin

    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();
          });
    }
    
    Subscribe to RSS - jquery