projects
/
openx
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6023a2e
)
Added special delivery-configuration-options
0.1.2
author
Kai Moritz
<kai@juplo.de>
Wed, 27 Feb 2013 23:31:19 +0000
(
00:31
+0100)
committer
Kai Moritz
<kai@juplo.de>
Wed, 27 Feb 2013 23:31:19 +0000
(
00:31
+0100)
jquery.openx.js
patch
|
blob
|
history
diff --git
a/jquery.openx.js
b/jquery.openx.js
index
3da0607
..
f5f2253
100644
(file)
--- a/
jquery.openx.js
+++ b/
jquery.openx.js
@@
-59,6
+59,13
@@
* (only needed, when it is not the default-value 443).
*
*
* (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):
*
* 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,
settings = $.extend(
{
'protocol': document.location.protocol,
+ 'delivery': '/www/delivery',
+ 'fl': 'fl.js',
'cache': true
},
options
'cache': true
},
options
@@
-133,7
+142,7
@@
$.ajaxSetup({ 'cache': true });
$.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,
/**
* jQuery.openx only works with "named zones", because it does not know,
@@
-194,7
+203,7
@@
function load_flash() {
function load_flash() {
- $.getScript(domain +
'/www/delivery/fl.js'
, init_ads);
+ $.getScript(domain +
settings.delivery + '/' + settings.fl
, init_ads);
}
}