customize a jquery plugin without touch the original
Dear all,
probably someone has already replayed at this kind of request.
In this case, please give me the address to a tutorial/thread.
Anyway, looking at jquery.prettyPhoto.js
http://www.no-margin-for-errors.com/wp-content/themes/NMFE/js/jquery.prettyPhoto.js
there is a line where:
pp_typeMarkup = '<iframe src ="'+movie_url+'" width="'+(correctSizes['width']-10)+'" height="'+(correctSizes['height']-10)+'" frameborder="no"></iframe>';
where automatically prettyPhoto set the width to """ (correctSizes['width']-10) """.
I want to modify this setting """ (correctSizes['width']-10 """ in """ correctSizes['width']+20) """ without change jquery.prettyPhoto.js plugin.
Any ideas?
thanks,
Antonio