widget help !

ploaie_neagra

Newbie
Joined
Apr 18, 2010
Messages
29
Reaction score
0
As a noob i am, i cannot make a html button work.
I've created a web page in dreamwaver, and i've put a download button.after that i've used a download file widget button from cpa. The code is something like that " onclick="startGateway('xxxxxxxx');" "
If i put the code into the button on click option it doesn't work !
If i put the code into the hiperlink target , it doesn't work neither.
Where the hell to put it ? If someone has 1 min to explain me... Please help :|
 
As a noob i am, i cannot make a html button work.
I've created a web page in dreamwaver, and i've put a download button.after that i've used a download file widget button from cpa. The code is something like that " onclick="startGateway('xxxxxxxx');" "
If i put the code into the button on click option it doesn't work !
If i put the code into the hiperlink target , it doesn't work neither.
Where the hell to put it ? If someone has 1 min to explain me... Please help :|

Did you place the other piece of javascript in your header?

Example:

<head>
<script type="text/javascript" src="http://whatever.com/locked.php?pub=XXXXXXXXXXXXXX"></script>
</head>
<img src="http://yourdomain.com/image.gif" onclick="startGateway(XXXXXXXX');" />
 
Back
Top