I thought he wants to refresh the commercials/ads in that page. Recently I found on a forum a person who started to learn Delphi to make a program that will refresh GoogleAdsense ads in his web site. :)
Rob Kennedy wrote: > (Top-posting fixed.) > > [EMAIL PROTECTED] wrote: > >> Delphi wrote: >> >>> The code behind the link is javascript so I can't just jump >>> to a new URL. The web in question is at >>> http://www.geocaching.com/track/search.aspx?wid=04f047bb-d487-4ee8-a7d1-4a44a76fc549 >>> >>> When a user clicks the next link the same URL is regenerated >>> from the server side with new contents. >>> >> I don't understand. >> The page you want to display is >> >> http://www.geocaching.com/track/search.aspx?wid=04f047bb-d487-4ee8-a7d1-4a44a76fc549 >> >> ? >> Because the commercials in it are different every time. >> If this is true, why don't you reload this page over and over in browser? >> > > Take a loot at the _rest_ of the page, too, Cubic. > > The "Next" link is a Javascript link. It runs a function that fills in > hidden fields of a form and the submits the form. The form's target is > its own page. The submission method is POST, not GET, so the form's > parameters don't appear in the URL. > > Delphi, TWebBrowser has Navigate and Navigate2 methods. Call one and > supply the appropriate information in the PostData parameter. This does > the same thing as activating the link. Check the documentation for the > Internet Explorer ActiveX control for more information on how those > methods work. > > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

