Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

How does Google show_ads.js work?

Thread view: 
JohnSouth - 23 Jun 2006 08:58 GMT
Hi

I'm hoping to set up a system similar to Google Adwords that allows
other sites to extact a limited amount of data from my site, and
display it as part of their webpage.  Google use a javascript file:
show_ads.js with parameters.

Can anyone explain how the .js file works?  In particular how does it
output HTML back to the calling site, and how does it access the
parameters?

Cheers

John South
www.WhereCanWeGo.com
RiCaRdO - 23 Jun 2006 10:29 GMT
This doesn't really have anything to do with java.

JavaScript is a very different programming language from java, though
they do share some keywords and syntax elements.

To allow other sites to access some of your data, you could set up a
web service, or use an html IFRAME.

Not really sure what it is you're trying to achieve, but it may be
better to ask on a javascript group, rather than a java one..

Good luck

> Hi
>
[quoted text clipped - 11 lines]
> John South
> www.WhereCanWeGo.com
JohnSouth - 23 Jun 2006 10:40 GMT
Ops. My mistake.

> This doesn't really have anything to do with java.
>
[quoted text clipped - 24 lines]
> > John South
> > www.WhereCanWeGo.com
jcsnippets.atspace.com - 23 Jun 2006 16:24 GMT
> Hi
>
[quoted text clipped - 6 lines]
> output HTML back to the calling site, and how does it access the
> parameters?

Ricardo already pointed out that this is the wrong group, Java and
JavaScript are not the same, although similar in name. Try posting this
message in comp.lang.javascript, I'm sure people can help you there.

As for your problem, you probably are looking for Ajax stuff - look it up in
Google, there are more resources about Ajax than you need.

Also, have you already downloaded the show_ads.js file? Have a look at it,
this will surely help.

Best of luck,

JayCee
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.