/    Sign up×
Community /Pin to ProfileBookmark

banner from other source than the web

Hi,
I have a script for banner rotation, and the source for tha banners is a file on a server.

var mfBanners = [
[‘http://www.banner1-url-here.com‘, ‘http://imageserv.imgis.com/images/Ad13700St1Sz1Sq1_Ban1.gif‘],

I wanto get this:
If someone has already a banner on his screen when he visits my website, I want to change this banner into my banner.
carneol

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryJan 08.2003 — What do you mean 'If someone has already a banner on his screen'? Do you mean in another frame - if so, you cannot access it if it is from another domain to yours. If not, please let me know exactly what you want to change.

Adam
Copy linkTweet thisAlerts:
@rolliauthorJan 08.2003 — The script should read the webaddress of the banner which is already shown on the screen of a userand then put this webaddress into:

['http://www.banner1-url-here.com', 'http://imageserv.imgis.com/images/ Ad13700St1Sz1Sq1_Ban1.gif'],

and then it will rotate with my banners at :

['http://www.banner2-url-here.com', 'http://imageserv.imgis.com/images/ Ad13700St1Sz1Sq1_Ban1.gif'],

['http://www.banner3-url-here.com', 'http://imageserv.imgis.com/images/ Ad13700St1Sz1Sq1_Ban1.gif'], .......



rolli
×

Success!

Help @rolli spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...