/    Sign up×
Community /Pin to ProfileBookmark

Add OnClick to code – problem

Hi,

I have one small problem …

I would like add OnClick function to this code:

<script type=”text/javascript”>
freshsettings = new Object();
freshsettings.introbox1_link = “www.example.com”; // in this place – when I click on the link – open new window with popup …
freshsettings.introbox2_link = “#”;
freshsettings.introbox3_link = “#”;
freshsettings.landing_check = “”;
freshsettings.landing_link = “#”;
freshsettings.get_post = “http://domena.com“;

freshsettings.prf_blognav = “”;
freshsettings.prf_blogmedium = “”;
freshsettings.prf_galleryshine = “”;
freshsettings.prf_gallerybump = “”;
freshsettings.template_url = “http://domena.com“;
freshsettings.blog_url = “http://domena.com“;
var actual_location = window.location+””;

</script>

Who help me?

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@iwin3Apr 17.2011 — this probably won't help, but here you go:

[CODE]<a href="http://www.ilikepiegames.com" target="_blank">Play fun games!</a>[/CODE]
Copy linkTweet thisAlerts:
@SamosiaauthorApr 17.2011 — Yes, I know, but I have this code on my site - and I would like to connect with the script ...
×

Success!

Help @Samosia 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.17,
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,
)...