> I looked into this issue some more and like to share a bit of
> what I learned.
>
> The short answer is: use jQuery (or a library like it.)
Thanks, Godmar, for investigating this further and sharing.
> JQuery will determine when the document is ready and execute
> your anonymous function then,
DE4LIB@LISTSERV.ND.EDU
> > Subject: Re: [CODE4LIB] Google Book Search API - JavaScript Query
> >
>
> > Have you tried placing your code in an window.onload handler?
> > Read the example I created at libx.org/gbs and if that works
> > for you in IE6, use the techni
> -Original Message-
> From: Code for Libraries [mailto:[EMAIL PROTECTED] On
> Behalf Of Godmar Back
> Sent: Thursday, March 20, 2008 10:45 AM
> To: CODE4LIB@LISTSERV.ND.EDU
> Subject: Re: [CODE4LIB] Google Book Search API - JavaScript Query
>
> Have you tried
; Systems Librarian / Associate Professor
> > > Libraries and Media Services
> > > Kent State University
> > > 330-672-1918
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: Code for Libraries [mailto
> Michael Kreyche
> > Systems Librarian / Associate Professor
> > Libraries and Media Services
> > Kent State University
> > 330-672-1918
> >
> >
> >
> > > -----Original Message-
> > > From: Code for Libraries [mailto:[EMAIL PROTEC
t; -Original Message-
> > > From: Code for Libraries [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Tim Hodson
> > > Sent: Thursday, March 20, 2008 7:21 AM
> > > To: CODE4LIB@LISTSERV.ND.EDU
> > > Subject: Re: [CODE4LIB] Google Book Search
0:45 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Google Book Search API - JavaScript Query
Have you tried placing your code in an window.onload handler? Read
the example I created at libx.org/gbs and if that works for you in
IE6, use the technique there. (Or you may just use the entire s
raries [mailto:[EMAIL PROTECTED] On
> > Behalf Of Tim Hodson
> > Sent: Thursday, March 20, 2008 7:21 AM
> > To: CODE4LIB@LISTSERV.ND.EDU
> > Subject: Re: [CODE4LIB] Google Book Search API - JavaScript Query
> >
> > One way I have used to resolve this
a Services
Kent State University
330-672-1918
> -Original Message-
> From: Code for Libraries [mailto:[EMAIL PROTECTED] On
> Behalf Of Tim Hodson
> Sent: Thursday, March 20, 2008 7:21 AM
> To: CODE4LIB@LISTSERV.ND.EDU
> Subject: Re: [CODE4LIB] Google Book Search API - Ja
Hi Tim.
Thanks a lot! I will give this a try later and let you know how I fare.
Best,
David.
On 20/03/2008, Tim Hodson <[EMAIL PROTECTED]> wrote:
>
> One way I have used to resolve this is to poll the object until it
> exisits before continuing.
>
> function myInit(id){
> 13 // if Obj is not d
Excuse the line numbers...
On 20/03/2008, Tim Hodson <[EMAIL PROTECTED]> wrote:
> One way I have used to resolve this is to poll the object until it
> exisits before continuing.
>
> function myInit(id){
> 13 // if Obj is not defined yet, call this function again until it is.
> 14
> 15 if (typ
One way I have used to resolve this is to poll the object until it
exisits before continuing.
function myInit(id){
13 // if Obj is not defined yet, call this function again until it is.
14
15 if (typeof myObj == "undefined"){
16 createScript();
17 setTimeout("myInit()", 60);
18 return;
19 }
20 //
HI Folks,
We were one of the first libraries to get the GBS API working on our OPAC.
Like many OPACs, ours is difficult to modify at times and requires a dynamic
insert of a generated (by PHP) JavaScript, which is hosted on a separate
server to the OPAC pages.
It seems to work fine on most browse
13 matches
Mail list logo