Hey all, I am using the innerFade plug-in, though my question could apply to any function.
Inner fade takes a bunch of divs or images or paragraphs, and animates them if they fall within a class. There are certain parameters that you specify when you call innerFade into action, such as speed, fade type, etc. I would like my users to choose what the options (parameters) are for the fading effect and store these in a Database. It would be no problem to write these functions on the fly from the server side but my app uses one page with ajax. I cannot reload the page. Is it possible to write javascript dynamically so new functions are created with the new parameters once the user makes a change? These functions need to be added to the head of my page because they get called after other functions. In other words, the new functions interact with the javascript that's already on the page. I guess they could be written elsewhere dynamically within a main function and I simply call this remote function and thereby any sub functions that have been written to it. Is this possible? It would be great if the parameters could be written into the div's class (which could be done via ajax) and extracted from there by the plug-in. Is this possible? Thanks in advance! -- View this message in context: http://www.nabble.com/Dynamically-set-function-settings--tf4120797s15494.html#a11719436 Sent from the JQuery mailing list archive at Nabble.com.