I think it is something to do with the event object. Try searching Google.
Giles Roadnight http://giles.roadnight.name -----Original Message----- From: Matt Horn [mailto:[EMAIL PROTECTED]] Sent: 04 October 2002 17:32 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] detecting for a variable? yeah .. its something like cancelBubble try [EMAIL PROTECTED] they may know At 17:28 04/10/02 +0100, you wrote: >Is there not something that can capture all clicks on the page. I >remember reading in the JavaScript bible something about diverting >events. If you can do this you could get all links to fire an event when >you click on them without changing the link. This may only work in NS >though as the bible definitely leaned that way. > > >Giles Roadnight >http://giles.roadnight.name > > >-----Original Message----- >From: Rich Wild [mailto:[EMAIL PROTECTED]] >Sent: 04 October 2002 17:09 >To: '[EMAIL PROTECTED]' >Subject: RE: [ cf-dev ] detecting for a variable? > >ok then, just put that little lot into a function and use that function >name >in your body onunload. > > > -----Original Message----- > > From: Robertson-Ravo, Neil (REC) > > [mailto:[EMAIL PROTECTED]] > > Sent: 04 October 2002 17:11 > > To: '[EMAIL PROTECTED]' > > Subject: RE: [ cf-dev ] detecting for a variable? > > > > > > that wont work either as I need it triggered once a user > > clicks on a link. > > > > > > > > -----Original Message----- > > From: Rich Wild [mailto:[EMAIL PROTECTED]] > > Sent: 04 October 2002 16:50 > > To: '[EMAIL PROTECTED]' > > Subject: RE: [ cf-dev ] detecting for a variable? > > > > > > split the url and then look for the variable: > > > > fooExists = 0; > > urlvars = document.URL.split("?"); > > if(urlvars[1]){ > > urlPairs = urlvars[1].split("&"); > > for(i=0; i<urlPairs.length; i++){ > > if (urlPairs[i].indexOf('foo=')) { > > fooExists = 1; > > } > > } > > > > if (fooExists) { > > doSomething(); > > } > > > > > > > > > > > -----Original Message----- > > > From: Robertson-Ravo, Neil (REC) > > > [mailto:[EMAIL PROTECTED]] > > > Sent: 04 October 2002 16:51 > > > To: '[EMAIL PROTECTED]' > > > Subject: [ cf-dev ] detecting for a variable? > > > > > > > > > is it possible to fire a function onUnload which checks if > > a parameter > > > exists within the URL it is going to? > > > > > > For example : I have a link which is index.cfm?foo=foobar > > > > > > is it possible to check if foo is existing and therefore fire > > > something off > > > etc.. > > > > > > Neil > > > > > > -- > > > ** Archive: >http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > > > >-- >** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >For human help, e-mail: [EMAIL PROTECTED] > >-- >** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >For human help, e-mail: [EMAIL PROTECTED] > > >-- >** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >For human help, e-mail: [EMAIL PROTECTED] > > > >-- >** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
