From: Kai Moritz Date: Wed, 27 Feb 2013 23:31:19 +0000 (+0100) Subject: Added special delivery-configuration-options X-Git-Tag: 0.1.2 X-Git-Url: https://juplo.de/gitweb/?p=openx;a=commitdiff_plain;h=refs%2Ftags%2F0.1.2 Added special delivery-configuration-options --- 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); }