/    Sign up×
Community /Pin to ProfileBookmark

javascript link help requested

Let’s get this out there… I’m no developer. I’m an old guy who used to dabble in programming back in the days of the original visual basic. Did quite a bit of programming in Delphi, but I’m not a professional developer. I tell you this so that you’ll understand the my knowledge level in considering and answering my question.

I work with a development platform called “Ontraport”. It is essentially a CRM with some other bells and whistles.

I am trying to link/integrate Ontraport with a webpage that I created with a point and click webpage builder. Ontraport has a functionality called “Ontraform” where it can overlay a form on top of the page being displayed. To integrate, Ontraport creates code to tie the 2 together via an HTML hyperlink. Here is an example:

<a style=’ font-size: 1.5em;text-transform: uppercase;text-decoration: none;font-family: Arial, Helvetica, sans-serif;border: .1em solid;padding: .3em .6em;letter-spacing: .05em;color: #333;’ href=’javascript://’ data-opf-trigger=’p2c999999f1′>Register Now!</a><script type=’text/javascript’ async=’true’ src=’https://app.ontraport.com/js/ontraport/opt_assets/drivers/opf.js‘ data-opf-uid=’p2c999999f1′ data-opf-params=’borderColor=#000000&borderSize=5px&formHeight=554&formWidth=430px&popPosition=mc&instance=1195571733’></script>

This code, once executed overlays the Ontraform. Here is what I want to do: l want to be able to call the javascript procedure with an object such as a hyperlinked text box or hyperlinked image. I don’t like the looks of the text generated by the above code, nor does it behave very well with my Responsive Web Design site.

How can I execute or run the javascript procedure in the above code from a hyperlinked object?

Thank you for your help!

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@rootJan 22.2017 — By the looks of this, Ontraport is a paid service, therefore you should go and speak to their community support about this issue because you have paid for a service that should give you these types of options.

With paid services, they are your first port of call and if you get nowhere, then its questionable whether or not you should be paying for something that is not giving you what you expect from the product.
×

Success!

Help @mu2pilot 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.18,
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,
)...