javascript - JqueryUI visual to scale Div from a specific DOM location -


i have code opens/shows div using fade/ease. want visually show hidden div origination link clicked , on closing should close/collapse link. link small icon. code example scale in jqueryui example follows

  var options = {};   // effects have required parameters   if ( selectedeffect === "scale" ) {     options = { percent: 50 };   } else if ( selectedeffect === "size" ) {     options = { to: { width: 280, height: 185 } };   }    // run effect   $( "#effect" ).show( selectedeffect, options, 500, callback ); }; 

i seen done not want re-invent wheel if 1 knows solution. put time no success.

please help

i tried number of ways. not merge out visually small icon on top right corner leave alone getting fade out icon location


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -