/    Sign up×
Community /Pin to ProfileBookmark

affiliate program script help

hello;
I am just starting to build a site (locally – not online yet) and am new to the idea of affiliate programs but would like to try them.

At the first site i went to it says to paste the following script into my webpage … but i don’t know where to paste it … yes, i’m a total noob at javascript (and html, and css, and and …) – sorry!!!

there is a 120×600 .gif image (banner) that i want to use for the link that is in it’s own div … i was going to set the banner up as either the background pic for the div or for the anchor – don’t know yet.

the relevant script is:
<script type=”text/javascript” src=”http://affiliate.suppliedlinkofaffiliateprogram.com/adlink.asp?affiliateid=1234567890“>
</script>

I changed the name of the site and the ‘id’ for my own comfortability.

thank you for your time

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyMar 04.2007 — Paste it where you want the affiliate link to appear.
Copy linkTweet thisAlerts:
@burnjobauthorMar 04.2007 — thanks for the reply;

so something like this?

[COLOR="Blue"]<div id="right">

<script type="text/javascript" src="http://affiliate.suppliedlinkofaffiliateprogram.com/adlink.asp?affiliateid=1234567890">

</script>

</div>[/COLOR]


meaning that i don't have to put in the [COLOR="Blue"]<a href="#">whatever text</a>[/COLOR]??

thanks again
Copy linkTweet thisAlerts:
@bathurst_guyMar 04.2007 — No because usually that javascript will write everything required for the link, varies though.
Copy linkTweet thisAlerts:
@burnjobauthorMar 04.2007 — hmmm ... i tried it that way ... the page takes forever to load (i do understand that it could have to do with the affiliated site)

and ... there's no apparent hoverstate when mousing over the image

this is what i had there in the html:

[COLOR="Blue"]<div id="right">

<script type="text/javascript" src="http://affiliate.suppliedlinkofaffiliateprogram.com/adlink.asp?affiliateid=1234567890">

</script>

</div>[/COLOR]


any thoughts? ...
Copy linkTweet thisAlerts:
@bathurst_guyMar 04.2007 — Check with the affiliate site, they should have a FAQ to tell you how to implement it.
×

Success!

Help @burnjob 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 5.12,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...