X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=jquery.openx.js;h=f5f22532d6a0d57f218426f693a1b3d25c65c278;hb=95859482ad5fe50bd07fa8510e1168c8ed151d0c;hp=3da06071da8ce89cc5474e80114cf634128abcb3;hpb=6023a2e4fce5ba44907e86077e952b2eec9f48f4;p=openx diff --git a/jquery.openx.js b/jquery.openx.js index 3da0607..f5f2253 100644 --- a/jquery.openx.js +++ b/jquery.openx.js @@ -59,6 +59,13 @@ * (only needed, when it is not the default-value 443). * * + * Seldom needed special Server-Settings (these parameters are only needed, + * if the default delivery-configration of the OpenX-Server was changed): + * + * path: string Path to delivery-scripts. DEFAULT: "/www/delivery". + * fl: string Flash-Include-Script. DEFAULT: "fl.js". + * + * * Delivery-Options (for details and explanations see the see: * http://www.openx.com/docs/2.8/userguide/single%20page%20call): * @@ -112,6 +119,8 @@ settings = $.extend( { 'protocol': document.location.protocol, + 'delivery': '/www/delivery', + 'fl': 'fl.js', 'cache': true }, options @@ -133,7 +142,7 @@ $.ajaxSetup({ 'cache': true }); - src = domain + '/www/delivery/spc.php'; + src = domain + settings.delivery + '/spc.php'; /** * jQuery.openx only works with "named zones", because it does not know, @@ -194,7 +203,7 @@ function load_flash() { - $.getScript(domain + '/www/delivery/fl.js', init_ads); + $.getScript(domain + settings.delivery + '/' + settings.fl, init_ads); }