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=20 test2.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 Document
Test 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=3D I have verified the following: 1) No javascript errors 2) jquery is on server at "js/jquery-1.2.6.pack.js" and loading into page 3) test2.html is on server 4) when hit directly, http://www.mydomain.com/test2.html, code fires (it'= s a sendmail, just for=20 testing purposes) I'll keep banging away at it and also looking for alternatives, but I wan= ted to throw this out=20 there in case someone can see an obvious error or for archive sake if thi= s ends up not working at=20 all. TIA, -Dan On 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:

    
  1. Re: [WebDNA] Record click-thrus (Donovan Brooke 2008)
  2. Re: [WebDNA] Record click-thrus (Charles Kline 2008)
  3. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  4. RE: [WebDNA] Record click-thrus ("Olin Lagon" 2008)
  5. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  6. Re: [WebDNA] Record click-thrus (Gary Krockover 2008)
  7. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  8. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  9. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  10. Re: [WebDNA] Record click-thrus (Toby Cox 2008)
  11. RE: [WebDNA] Record click-thrus ("Olin Lagon" 2008)
  12. Re: [WebDNA] Record click-thrus (Toby Cox 2008)
  13. Re: [WebDNA] Record click-thrus (Steve Craig 2008)
  14. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  15. Re: [WebDNA] Record click-thrus (Steve Craig 2008)
  16. [WebDNA] Record click-thrus ("Dan Strong" 2008)
The following code no-worky as expected. The link to Yahoo opens up in ne= w window, but code on=20 test2.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 Document
Test 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=3D I have verified the following: 1) No javascript errors 2) jquery is on server at "js/jquery-1.2.6.pack.js" and loading into page 3) test2.html is on server 4) when hit directly, http://www.mydomain.com/test2.html, code fires (it'= s a sendmail, just for=20 testing purposes) I'll keep banging away at it and also looking for alternatives, but I wan= ted to throw this out=20 there in case someone can see an obvious error or for archive sake if thi= s ends up not working at=20 all. TIA, -Dan On 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:

WebCat2: Items xx to xx shown, etc. (1997) [Webcat 2]Next (1997) [WebDNA] WebDNA on LiveCD ... (2008) Server crashes when user saves or views html source (1998) multi-paragraph fields (1997) WebCat2 - [format thousands] (1997) WebCatalog [FoundItems] Problem - AGAIN - (1997) Looking up two prices in database? (1997) Running 2 two WebCatalog.acgi's (1996) can pull down menu do a ONCHANGE= without Java script? (2000) Proposed FormVariables hierarchy (2000) StandardConversions.db (1998) test (2002) Summing fields (1997) Price and Formula.db (2002) I'm new be kind (1997) WebCatalog 4.0 Users that want to talk to the Media.... (2000) webcatalog [date] bug (1999) A multi-processor savvy WebCatalog? (1997) Need help with emailer- 2 issues (1997)