Göksel TÜR
unread,May 17, 2009, 8:53:49 AM5/17/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to boxy
dragging: null,
LoadedBoxy: null, // Create new Handle ..
// load a URL and display in boxy
// url - url to load
// options keys (any not listed below are passed to boxy
constructor)
// type: HTTP method, default: GET
// cache: cache retrieved content? default: false
// filter: jQuery selector used to filter remote content
load: function(url, options) { ......
After replace load function this
load: function(url, options) {
options = options || {};
var _parent = this;
var ajax = {
url: url, type: 'GET', dataType: 'html', cache: false,
success: function(html) {
html = jQuery(html);
if (options.filter) html = jQuery(options.filter,
html);
if (_parent.LoadedBoxy){
_parent.LoadedBoxy.setContent(html);
_parent.LoadedBoxy.show();
}else{
_parent.LoadedBoxy = new Boxy(html, options);
}
}
};
....