Page 2 of 2

Re: banner ads module linking problem

Posted: Fri 30. Jul 2010, 02:11
by lady_witchcraft
thanks oliver, for the link, but the flash contains the clicktag already :?

problem stays the same, no function, no link behind the nice banner ...

greetz & thx for possible support in advance,
claudia

Re: banner ads module linking problem

Posted: Fri 30. Jul 2010, 12:22
by Oliver Georgi
maybe there is a nother problem with JavaScript. Cannot say without visiting the domain and see myself.

Re: banner ads module linking problem

Posted: Fri 30. Jul 2010, 13:07
by lady_witchcraft
thx for your support in advance, url is on the way via PM!

greetz, clau

Re: banner ads module linking problem

Posted: Fri 30. Jul 2010, 15:33
by Oliver Georgi
Achte darauf, dass Du keine absolute URL abfängst. Im Beispiel wird auf http: geprüft. Das gibt es aber nicht.

So müsste es gehen:

Code: Select all

on (release) {
  if (_root.clickTag.substr(0,9) == "index.php") {
    getURL(_root.clickTag, _root.clickTarget==undefined ? "_blank" : _root.clickTarget);
  }
}

Re: banner ads module linking problem

Posted: Fri 30. Jul 2010, 17:46
by lady_witchcraft
you're my heeeeerroooooooo :oops:

thx a lot oliver, now the script within the banner works fine!
mysterious thing! :roll:

wish you a relaxing weekend, and I doubt this was
the last question I had this weekend :-)

greetz & many thanks,
claudia

Re: banner ads module linking problem

Posted: Sat 31. Jul 2010, 08:35
by Oliver Georgi
OK, to make it perfect we do a general test against clickTag Var:

Code: Select all

if(_root.clickTag != undefined) {
  on (release) {
    // only needed if you want to allow relative links (of your own site) only 
    // if (_root.clickTag.substr(0,9) == "index.php") {
    getURL(_root.clickTag, _root.clickTarget==undefined ? "_blank" : _root.clickTarget);
   // }
  }
}
Then nothing should happen if the clickTag var is not defined.

Re: banner ads module linking problem

Posted: Wed 23. Jan 2013, 15:01
by caramello
Ola,

I have running, r528, linking images doesnt work with mod-rewrite enabled.

http://www.uvw.nl

Any clues?

Re: banner ads module linking problem

Posted: Sun 27. Jan 2013, 08:22
by Oliver Georgi
Hard to follow what you mean. Create issue which describes better, screenshot, source code sample etc.