Re: [WebDNA] Record click-thrus
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101564
interpreted = N
texte = The following code no-worky as expected. The link to Yahoo opens up in ne=w window, but code on=20test2.html does not fire.=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D
Untitled DocumentTest Link to Yahoo!=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3DI have verified the following:1) No javascript errors2) jquery is on server at "js/jquery-1.2.6.pack.js" and loading into page3) test2.html is on server4) when hit directly, http://www.mydomain.com/test2.html, code fires (it'=s a sendmail, just for=20testing purposes)I'll keep banging away at it and also looking for alternatives, but I wan=ted to throw this out=20there in case someone can see an obvious error or for archive sake if thi=s ends up not working at=20all.TIA,-DanOn Mon, 01 Dec 2008 10:28:06 -0800 "Dan Strong"
wrote:> Awesome guys, thanks. I will test this tonight when I get home and post= results.> -Dan>=20>=20> On Mon, 1 Dec 2008 18:21:19 +0000> Toby Cox wrote:>> Nice. I would suggest>>=20>>=20>> function pinger() {>> $('#keepempty').get("http://www.yourserver.com/yourscript.tpl", =20>> function(data){>> return true;>> });>> }>>=20>> onClick=3D"return pinger();">>=20>>=20>>=20>>=20>> On 1 Dec 2008, at 18:17, Olin Lagon wrote:>>=20>>> Makes sense. They want the direct link for their SEO. How about you =20>>> use>>> Jquery.com? I haven't tested this but this should work>>>>>> 1. Load jquery>>> >>>>>>>>> 2. Post function on page>>> >>>>>>>>> 3. Create link and call to function>>> >>> client url>>>>>>>>> This should work. The keepempty div is where jquery will "push" the =20>>> results>>> of the call to your server. It may not be needed.>>>>>> If it works, you can extend the pinger function to pass a variable =20>>> from the>>> link so you can use one generic webdna page for tracking all urls.>>>>>> Hope this helps.
Associated Messages, from the most recent to the oldest:
The following code no-worky as expected. The link to Yahoo opens up in ne=w window, but code on=20test2.html does not fire.=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3DUntitled DocumentTest Link to Yahoo!=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3DI have verified the following:1) No javascript errors2) jquery is on server at "js/jquery-1.2.6.pack.js" and loading into page3) test2.html is on server4) when hit directly, http://www.mydomain.com/test2.html, code fires (it'=s a sendmail, just for=20testing purposes)I'll keep banging away at it and also looking for alternatives, but I wan=ted to throw this out=20there in case someone can see an obvious error or for archive sake if thi=s ends up not working at=20all.TIA,-DanOn Mon, 01 Dec 2008 10:28:06 -0800 "Dan Strong" wrote:> Awesome guys, thanks. I will test this tonight when I get home and post= results.> -Dan>=20>=20> On Mon, 1 Dec 2008 18:21:19 +0000> Toby Cox wrote:>> Nice. I would suggest>>=20>>=20>> function pinger() {>> $('#keepempty').get("http://www.yourserver.com/yourscript.tpl", =20>> function(data){>> return true;>> });>> }>>=20>> onClick=3D"return pinger();">>=20>>=20>>=20>>=20>> On 1 Dec 2008, at 18:17, Olin Lagon wrote:>>=20>>> Makes sense. They want the direct link for their SEO. How about you =20>>> use>>> Jquery.com? I haven't tested this but this should work>>>>>> 1. Load jquery>>> >>>>>>>>> 2. Post function on page>>> >>>>>>>>> 3. Create link and call to function>>> >>> client url>>>>>>>>> This should work. The keepempty div is where jquery will "push" the =20>>> results>>> of the call to your server. It may not be needed.>>>>>> If it works, you can extend the pinger function to pass a variable =20>>> from the>>> link so you can use one generic webdna page for tracking all urls.>>>>>> Hope this helps.
"Dan Strong"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Nesting format tags (1997)
Moment of Thanks (1997)
Uniqueness of Cart number (2000)
WebCatalog Features (1997)
problems with 2 tags (1997)
RE: OK, here goes... (1997)
WebCat2.0 [format thousands .0f] no go (1997)
when is date system date or order date? (1997)
WebCatalog vs. Cold Fusion (1998)
Relay link (2002)
is [shell] working? (1999)
RE: Clearing orders and database help! (1997)
[WebDNA] Listwords and newline (2011)
Show if time tags (1997)
[off] Promotions/ECRC (1997)
Frames and WebCat (1997)
Sample Tea Room Search Error (1997)
webmerchant - Crediting Back (2000)
[Capitalize] (1998)
Security Hole - NetCloak Update (1998)