RE: (ot) JavaScript detecting foreign scripts

2015-04-01 Thread UXB Internet
Please don't do it off-list, several of us could be interested. In case anyone is interested, as Claude recommended, It was relatively easy to check for the foreign script injection by myturfads.com. There is a test page with the code located at http://www.uxb.net/adtest/ that will look to

RE: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread UXB Internet
Just throwing ideas out there. :) All my pontificating aside for this particular purpose I am just trying to detect if the string adx.myturfads.com exists anywhere on the DOM. For my sister, I've already stopped it from loading by editing the hosts file on the PC to disallow that domain.

Re: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread Dave Watts
Second, if you use TLS (SSL) exclusively, you should be able to prevent this. I tested for this and yes it does prevent it. However that is not actually the point. The point is much bigger than the pennies they sole from my websites ad revenue. Maybe I am the only one but to me this

RE: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread UXB Internet
: http://www.uxbinternet.com W: http://www.ctbusinesslist.com -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Tuesday, March 3, 2015 8:08 AM To: cf-talk Subject: Re: (ot) JavaScript detecting foreign scripts Second, if you use TLS (SSL) exclusively

RE: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread DURETTE, STEVEN J
, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Tuesday, March 3, 2015 8:08 AM To: cf-talk Subject: Re: (ot) JavaScript detecting foreign scripts

Re: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread Jochem van Dieten
On Mon, Mar 2, 2015 at 8:52 PM, UXB Internet denn...@uxbinternet.com wrote: I apologize for this off topic post. A while back someone posted a thread where they were working on a script that would enumerate the DOM and detect foreign JS scripts running or loaded. I am looking to consult

Re: (ot) JavaScript detecting foreign scripts

2015-03-02 Thread Claude Schnéegans
I am looking to consult with that person off-list Please don't do it off-list, several of us could be interrested. I developped a client side javascript error trackink tool and it helped me a lot to debug my scripts, but I get many errors happening in foreign JS scripts. I fixed my program to

RE: (ot) JavaScript detecting foreign scripts

2015-03-02 Thread UXB Internet
I developped a client side javascript error trackink tool and it helped me a lot to debug my scripts, but I get many errors happening in foreign JS scripts. I fixed my program to detect 5 or 6 of them and now the system is almost perfect. Should have known it was you smile. What is

Re: (ot) JavaScript detecting foreign scripts

2015-03-02 Thread Dave Watts
It appears as if in some locations Comcast's proxies are intercepting advertising scripts (google/doubleclick) and replacing them with their own JS that substitutes their own contracted ads. I am looking for a way to detect this on a test page to determine how wide spread the practice is.

RE: (ot) JavaScript detecting foreign scripts

2015-03-02 Thread UXB Internet
Thanks Dave I do appreciate the information. First, my understanding is that this only happens for users of Comcast public access hotspots, not for subscribed users: http://arstechnica.com/tech-policy/2014/09/why-comcasts-javascript-ad- injections-threaten-security-net-neutrality/ In

(ot) JavaScript detecting foreign scripts

2015-03-02 Thread UXB Internet
I apologize for this off topic post. A while back someone posted a thread where they were working on a script that would enumerate the DOM and detect foreign JS scripts running or loaded. I am looking to consult with that person off-list because I have a case where I need to do the same. It

RE: Programming for an iPod - OT javascript/HTML question

2011-09-07 Thread Stephens, Larry V
complaining about the code? (Rhetorical question) -Original Message- From: Stephens, Larry V [mailto:steph...@indiana.edu] Sent: Tuesday, September 06, 2011 2:25 PM To: cf-talk Subject: Programming for an iPod - OT javascript/HTML question I'm working on a form in CF that displays

Programming for an iPod - OT javascript/HTML question

2011-09-06 Thread Stephens, Larry V
I'm working on a form in CF that displays just fine on a desktop/laptop but the javascript breaks in Safari once I introduce a div. If anyone has a clue about this, please contact me off-list at steph...@indiana.edu Thanks.

Re: Programming for an iPod - OT javascript/HTML question

2011-09-06 Thread Lists
So you have an example you can see online? Is it only mobile safari that breaks or does desktop safari as well? On Sep 6, 2011, at 1:25 PM, Stephens, Larry V steph...@indiana.edu wrote: I'm working on a form in CF that displays just fine on a desktop/laptop but the javascript breaks in

Re: Programming for an iPod - OT javascript/HTML question

2011-09-06 Thread Michael Grant
Can you post a link? On Tue, Sep 6, 2011 at 2:25 PM, Stephens, Larry V steph...@indiana.eduwrote: I'm working on a form in CF that displays just fine on a desktop/laptop but the javascript breaks in Safari once I introduce a div. If anyone has a clue about this, please contact me off-list

Re: Programming for an iPod - OT javascript/HTML question

2011-09-06 Thread Judah McAuley
Without any examples, it is tough to help out. Couple things I'll toss out as starting points: 1. Validate your HTML and your JS. It won't cure every problem but it is an easy step and gets rid of a lot of easy to miss sources of error. 2. If you are really looking at a mobile device (as

OT javascript

2009-07-30 Thread Chad Gray
Say I have two select inputs on one page and they are named the same. select name=ID option value=Please Select/option option value=11/option /select select name=ID option value=Please Select/option option value=11/option /select I want to write javascript to check that both of these are not

Re: OT javascript

2009-07-30 Thread JediHomer
You could set different IDs for them, then reference these... Something like select name=ID id=sel1 option value=Please Select/option option value=11/option /select select name=ID id=sel2 option value=Please Select/option option value=11/option /select

Re: OT javascript

2009-07-30 Thread Cutter (ColdFusion)
Why would you have two selects with the same name? Radio Buttons? Sure. But not selects... Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _

RE: OT javascript

2009-07-30 Thread Adrian Lynch
Gray [mailto:cg...@careyweb.com] Sent: 30 July 2009 16:20 To: cf-talk Subject: OT javascript Say I have two select inputs on one page and they are named the same. select name=ID option value=Please Select/option option value=11/option /select select name=ID option value=Please

RE: OT javascript

2009-07-30 Thread Andy Matthews
Message- From: Chad Gray [mailto:cg...@careyweb.com] Sent: Thursday, July 30, 2009 10:20 AM To: cf-talk Subject: OT javascript Say I have two select inputs on one page and they are named the same. select name=ID option value=Please Select/option option value=11/option /select select name=ID

RE: OT javascript

2009-07-30 Thread Chad Gray
Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Thursday, July 30, 2009 11:38 AM To: cf-talk Subject: Re: OT javascript Why would you have two selects with the same name? Radio Buttons? Sure. But not selects... Steve Cutter Blades Adobe Certified

Re: OT javascript

2009-07-30 Thread Andy Matthews
Chad... Here's what I'd suggest...leave the name value as is, even though that's not the best idea. Add an ID attribute to each, with an increasing numeric value: cb1, cb2, cb3, etc. Give each combobox the same class, comboBox or something like that. Then, you could try something like this:

RE: OT javascript

2009-07-30 Thread Adrian Lynch
That's ok. Having duplicate names is cool. Adrian -Original Message- From: Chad Gray [mailto:cg...@careyweb.com] Sent: 30 July 2009 16:46 To: cf-talk Subject: RE: OT javascript When you submit it makes a comma delimited list of ID's that we loop over and use. Some pages

(ot) Javascript Help

2009-07-09 Thread Michael Muller
Ok, I need some Javascript help. I just cannot get this script (residing in an iframe)... script parent.thisMovie('studio_loader_embed').reloadClipart(); parent.thisMovie('studio_loader_embed').showTab(2); /script ...to go through this script... script function thisMovie(movieName) { if

Re: (ot) Javascript Help

2009-07-09 Thread James Holmes
There's probably something in jquery that'll do it on one line of cross browser code... mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/7/9 Michael Muller mich...@mullertech.com: Ok, I need some Javascript help. I just cannot get this script (residing in

Re: (ot) Javascript Help

2009-07-09 Thread Dave Watts
Someone told me that IE cannot talk to an embed tag, only an object tag, but I believe the ID vs NAME issue is tripping me up. I don't think IE uses the EMBED tag at all. Give your OBJECT an ID of its own, and use that when you're in IE. Dave Watts, CTO, Fig Leaf Software

Re: OT JavaScript question.

2008-11-12 Thread Cutter (CFRelated)
var myObj = { variableA: 'some value', variableB: 12, variableC: function(){ // a function } }; I think, you'll want to test. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _

RE: OT JavaScript question.

2008-11-12 Thread Andy Matthews
You can do this: Var something = somethingelse = onemorething = 0; -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2008 1:34 PM To: cf-talk Subject: OT JavaScript question. Quick question that I just can not think of the right terms to find

OT JavaScript question.

2008-11-12 Thread Ian Skinner
Quick question that I just can not think of the right terms to find in Google. There is a syntax short cut in JavaScript if you are assigning several properties to the same object. What is it? ~| Adobe® ColdFusion® 8

RE: OT JavaScript question.

2008-11-12 Thread Adrian Lynch
a database of ColdFusion errors at http://cferror.org/ -Original Message- From: Ian Skinner Sent: 12 November 2008 19:34 To: cf-talk Subject: OT JavaScript question. Quick question that I just can not think of the right terms to find in Google. There is a syntax short cut in JavaScript

Re: OT JavaScript question.

2008-11-12 Thread Ian Skinner
Adrian Lynch wrote: Or do you mean with? with someObject { var1 = not; var2 = sure; var3 = about; var4 = this; var5 = syntax; var6 = or; var7 = whether; var8 = it's a JavaScript; var9 = thing or not; } alert(someObject.var1);

Re: OT JavaScript question.

2008-11-12 Thread Charlie Griefer
On Wed, Nov 12, 2008 at 1:14 PM, Ian Skinner [EMAIL PROTECTED] wrote: Yes that is the one I was looking for!. I found 'with' to be a very poor search term on Google, or any search engine for that matter. heh. reminds me of http://bash.org/?514353 :) -- I have failed as much as I have

RE: OT JavaScript question.

2008-11-12 Thread Jim Davis
-Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2008 4:15 PM To: cf-talk Subject: Re: OT JavaScript question. Adrian Lynch wrote: Or do you mean with? with someObject { var1 = not; var2 = sure; var3 = about

Re: (ot) javascript problem

2008-07-12 Thread Sonny Savage
I use this: http://tredosoft.com/Multiple_IE You can install 3.0 through 6.0 as stand-alone. I then have IE 7 as my system install. On Fri, Jul 11, 2008 at 6:30 PM, Claude Schneegans [EMAIL PROTECTED] wrote: You might want to take a look at IE7 stand alone. I will sure do. Thanks. --

Re: (ot) javascript problem

2008-07-11 Thread Claude Schneegans
You can try this. http://www.debugbar.com/ Hi, are you using it yourself? I tried it, there are a lot of interesting options, however two main flaws: 1º the error message is still the same stupidity: - it does not give the true file name the error occurs, - it gives the line number, but

Re: (ot) javascript problem

2008-07-11 Thread Gerald Guido
Actually I have it installed but I rarely use IE except for cross browser css issues. (i.e. after I work out all the gremlins using Firebug). I have yet to run into a IE only JS bug. Here try CompanionJS. It is geared more toward JS debugging: http://www.my-debugbar.com/wiki/CompanionJS/HomePage

Re: (ot) javascript problem

2008-07-11 Thread Claude Schneegans
Actually I have it installed but I rarely use IE except for cross browser css issues. I see. In my case, most my Javascript is used in my CMS used by administrators, and none of them use FF, so developing for IE is a must. -- ___ REUSE CODE! Use custom

Re: (ot) javascript problem

2008-07-11 Thread Gerald Guido
Did you try CompanionJS? I think it is just what you need. http://www.my-debugbar.com/wiki/CompanionJS/HomePage ~G~ On Fri, Jul 11, 2008 at 1:29 PM, Claude Schneegans [EMAIL PROTECTED] wrote: Actually I have it installed but I rarely use IE except for cross browser css issues. I

Re: (ot) javascript problem

2008-07-11 Thread Claude Schneegans
Did you try CompanionJS? I think it is just what you need. Ah ha! Now this looks better ;-) Thanks. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED])

RE: (ot) javascript problem

2008-07-11 Thread Stephens, Larry V
Subject: Re: (ot) javascript problem You can try this. http://www.debugbar.com/ Hi, are you using it yourself? I tried it, there are a lot of interesting options, however two main flaws: 1º the error message is still the same stupidity: - it does not give the true file name the error occurs

Re: (ot) javascript problem

2008-07-11 Thread Gerald Guido
I haven't worked with DebugBar itself, yet, but Companion.JS that works with it was helpful in my case - not perfect but helpful. (Better than nothing, certianly.) If you are not already aware of it, the tool of choice for many developers is Firebug: http://getfirebug.com/ It is absolutely

Re: (ot) javascript problem

2008-07-11 Thread Claude Schneegans
Companion.JS that works with it was helpful in my case - not perfect but helpful. (Better than nothing, certianly.) I tried it, but unfortunately it requires the MS debugger, and for some reason, I've never been able to get this piece od ?%$! to work under IE6. All I get is a new window with

Re: (ot) javascript problem

2008-07-11 Thread Gerald Guido
You might want to take a look at IE7 stand alone. It allows you to run IE 6 and 7 on the same machine. http://tredosoft.com/IE7_standalone I need to support both IE 6 and 7. This allows you to run both side by side. Very handy. ~G~ On Fri, Jul 11, 2008 at 4:57 PM, Claude Schneegans [EMAIL

Re: (ot) javascript problem

2008-07-11 Thread Claude Schneegans
You might want to take a look at IE7 stand alone. I will sure do. Thanks. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

RE: (ot) javascript problem

2008-07-09 Thread Stephens, Larry V
On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote: I'm using a DHTML javascript menu (from DynamicDrive) that works fine in Mozilla (shows no errors in the error console). The sample works fine in IE but my revision (no Thanks again for all the suggestions. I figured it out by taking

(ot) javascript problem

2008-07-08 Thread Stephens, Larry V
I'm using a DHTML javascript menu (from DynamicDrive) that works fine in Mozilla (shows no errors in the error console). The sample works fine in IE but my revision (no revision to code other than adding menu elements) won't even show up in IE. I see an error icon but it tells me absolutely

Re: (ot) javascript problem

2008-07-08 Thread Gerald Guido
You can try this. http://www.debugbar.com/ On Tue, Jul 8, 2008 at 8:42 AM, Stephens, Larry V [EMAIL PROTECTED] wrote: I'm using a DHTML javascript menu (from DynamicDrive) that works fine in Mozilla (shows no errors in the error console). The sample works fine in IE but my revision (no

RE: (ot) javascript problem

2008-07-08 Thread Adrian Lynch
If things aren't working after you made a change, show us a before and after sample of the code. Adrian -Original Message- From: Stephens, Larry V [mailto:[EMAIL PROTECTED] Sent: 08 July 2008 13:43 To: CF-Talk Subject: (ot) javascript problem I'm using a DHTML javascript menu (from

Re: (ot) javascript problem

2008-07-08 Thread Claude Schneegans
Any clues on how to trace javascript errors in IE? Error messages in IE are simply retarded. The error could be in any file, and it does not even give the file name. Furthermore, the line number is always one unit higher. Then your error must be in one of the included files, at line 347. --

RE: (ot) javascript problem

2008-07-08 Thread Stephens, Larry V
Thanks - installing now. -Original Message- From: Gerald Guido [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 8:58 AM To: CF-Talk Subject: Re: (ot) javascript problem You can try this. http://www.debugbar.com/ On Tue, Jul 8, 2008 at 8:42 AM, Stephens, Larry V [EMAIL PROTECTED

Re: (ot) javascript problem

2008-07-08 Thread Loathe
The best means I have found of working out JS errors in IE is to create a project in Visual Web Developer 2008 (free). Launch the project which will open a browser window (IE needs to be set as your default browser) then navigate to your page. When the error occurs choose to debug the error,

RE: (ot) javascript problem

2008-07-08 Thread Andy Matthews
the include call with an actual script block. Then IE might tell you where in that file the error is. andy -Original Message- From: Stephens, Larry V [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 7:43 AM To: CF-Talk Subject: (ot) javascript problem I'm using a DHTML

Re: (ot) javascript problem

2008-07-08 Thread denstar
Look for a trailing comma in a javascript array perhaps? That one gets me in IE every once in a while. On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote: I'm using a DHTML javascript menu (from DynamicDrive) that works fine in Mozilla (shows no errors in the error console). The sample

RE: (ot) javascript problem

2008-07-08 Thread Stephens, Larry V
On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote: I'm using a DHTML javascript menu (from DynamicDrive) that works fine in Mozilla (shows no errors in the error console). The sample works fine in IE but my revision (no Thanks for all the suggestions. I installed the debug bar that

Re: (ot) javascript problem

2008-07-08 Thread denstar
Maybe: this.resizeTo(Wdth,Hght)} to this.resizeTo(Wdth,Hght); } and this.style.zIndex=RcrsLvl+Ztop} to this.style.zIndex=RcrsLvl+Ztop; } On Tue, Jul 8, 2008 at 11:53 AM, Stephens, Larry V [EMAIL PROTECTED] wrote: On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote: I'm using a

(ot) javascript help

2008-06-11 Thread Chad Gray
Can any javascript gurus tell me why this does not work? I want the br tag to display on the page so I get a carriage return between the two pieces of text Foo and Moo. I get this error in Firbug: document.tabbedTicket.FTDTYPEe has no properties script function makeNewEntry() {

Re: (ot) javascript help

2008-06-11 Thread Barney Boisvert
try document.getElementById(FTDTYPEe). And then go get some library that will take care of all that for you (jQuery, Prototype, etc.). cheers, barneyb On Wed, Jun 11, 2008 at 10:34 AM, Chad Gray [EMAIL PROTECTED] wrote: Can any javascript gurus tell me why this does not work? I want the br

Re: (ot) javascript help

2008-06-11 Thread Greg Morphis
because br isn't an element of form? try removing the tabbedTicket or use getElementById On Wed, Jun 11, 2008 at 12:34 PM, Chad Gray [EMAIL PROTECTED] wrote: Can any javascript gurus tell me why this does not work? I want the br tag to display on the page so I get a carriage return between

RE: (ot) javascript help

2008-06-11 Thread Dawson, Michael
I may be way off-base, but do you need that trailing e in FTDTYPEe? Could it be the missing e from Firbug? m!ke On Wed, Jun 11, 2008 at 10:34 AM, Chad Gray [EMAIL PROTECTED] wrote: Can any javascript gurus tell me why this does not work? I want the br tag to display on the page so I get a

RE: (ot) javascript help

2008-06-11 Thread Andy Matthews
There's an easier way to do this... Rather than using a br and assigning an id to it, use a div. Divs have built in properties that aren't included in br tags. -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 12:34 PM To: CF-Talk Subject: (ot

Re: (ot) javascript help

2008-06-11 Thread Josh Nathanson
Message - From: Chad Gray [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, June 11, 2008 10:34 AM Subject: (ot) javascript help Can any javascript gurus tell me why this does not work? I want the br tag to display on the page so I get a carriage return between

RE: (ot) javascript help

2008-06-11 Thread Chad Gray
Ah... that makes sense. Thanks everyone for the help! -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 1:39 PM To: CF-Talk Subject: Re: (ot) javascript help because br isn't an element of form? try removing the tabbedTicket or use

(ot) Javascript Question...

2008-05-16 Thread Che Vilnonis
I have a form that posts to itself. Once submitted, I create a dynamic url on the fly. Using javascript, how can I submit the form to itself and open the new url in another browser window? Can this be done w/o creating a 'go between' cf template? Thanks, Che

RE: (ot) Javascript Question...

2008-05-16 Thread Bobby Hartsfield
window.open() most popup blockers will block it though. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 4:14 PM To: CF-Talk Subject: (ot) Javascript Question

RE: (ot) Javascript Question...

2008-05-16 Thread Che Vilnonis
Thanks. Because of popup blockers I guess a regular href will have to do. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 4:21 PM To: CF-Talk Subject: RE: (ot) Javascript Question... window.open() most popup blockers will block it though

OT Javascript - when is an element visible

2008-02-12 Thread Adrian Lynch
Sorry for the OT... I have a parent div, which contains many child divs. The parent div is set to scroll when it's content is to big. What I'm trying to work out, is a way to find out when one of those child divs is visible and when it's not. I thought maybe scrollTop or offsetTop but I'm low

Re: OT Javascript - when is an element visible

2008-02-12 Thread Rey Bango
In Ext, the Element class has built-in methods to get just about anything you need from an element, including position info. http://extjs.com/deploy/dev/docs/?class=Ext.Element jQuery, out of the box, can provide offset, width and height only and enhanced capabilities via the dimensions

Re: OT Javascript - when is an element visible

2008-02-12 Thread Massimo Foti
Doesn't sound fun though-- maybe someone will post and show us a pre-built function in the prototype library or something. :) Many libraries include a method to get the coordinates of any element. Right now I am thinking just about the one available in Mootools:

RE: OT Javascript - when is an element visible

2008-02-12 Thread Jim Davis
-Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 3:50 PM To: CF-Talk Subject: Re: OT Javascript - when is an element visible In Ext, the Element class has built-in methods to get just about anything you need from an element, including

Re: OT Javascript - when is an element visible

2008-02-12 Thread s. isaac dealey
I'm not sure if scrollTop is part of the spec for DOM (or widely supported -- innerHTML for example is not but widely supported). Assuming that scrollTop is supported in the browser though, I'd think something like this might work: var ct = container.scrollTop; var ch = container.offsetHeight;

RE: OT Javascript - when is an element visible

2008-02-12 Thread Brad Wood
I know there is a JS method called .scrollIntoView() (IE only??) which will cause the an element to scroll to where it is visible. Not sure how to tell if it is visible though. I suppose if you know the edges of the viewable area, you can calculate the position of the element in question via its

OT: javascript to keep a user from navigating away

2008-02-01 Thread Chad Gray
I would like to make javascript that when the window.onUnload is fired to pop up a confirm() saying hey if you leave now your form information will not be saved. Do you wish to continue?. But I think once onUnload fires there is no stopping the user from leaving the page. Can you cancel

Re: OT: javascript to keep a user from navigating away

2008-02-01 Thread s. isaac dealey
I would like to make javascript that when the window.onUnload is fired to pop up a confirm() saying hey if you leave now your form information will not be saved. Do you wish to continue?. But I think once onUnload fires there is no stopping the user from leaving the page. Can you cancel

RE: OT: javascript to keep a user from navigating away

2008-02-01 Thread Chad Gray
dealey [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 3:49 PM To: CF-Talk Subject: Re: OT: javascript to keep a user from navigating away I would like to make javascript that when the window.onUnload is fired to pop up a confirm() saying hey if you leave now your form information

OT: Javascript MouseOver

2007-08-21 Thread Steve LaBadie
I have created a mouse over effect and it works fine. The only problem I am having is that the top= in the below example does not work in Firefox. Are there any ideas to resolve this issue? The window stay at the top instead of coming down 350px. Code: script type=text/javascript !--

Re: OT: Javascript MouseOver

2007-08-21 Thread Matt Williams
missing a comma after left=450 ? On 8/21/07, Steve LaBadie [EMAIL PROTECTED] wrote: I have created a mouse over effect and it works fine. The only problem I am having is that the top= in the below example does not work in Firefox. Are there any ideas to resolve this issue? The window stay

OT: javascript help

2007-05-29 Thread Dan Munez
hey guys i have a little window with a link on it opened up a popup window and gave it a name. the new window also has frames in it. I would like to manipulate the forms in that frame, like giving it certain values and stuff, by calling it from the little window. how do I do that? so far i

OT: javascript

2007-05-17 Thread Chad Gray
I want to write a javascript function that I can use on all of my forms and inputs to disable a text input. So I want to pass to the function the form's ID and the text input's ID to be disabled. How do I append the functions attributes to my document command? My javascript below does not

Re: OT: javascript

2007-05-17 Thread Charlie Griefer
in this case, you don't need 'foo'. just 'moo'. even though they could be in different forms, an id value should not be repeated on a page. so... function disabler(textInputID) { document.getElementById(textInputID).style.disabled=true; } form id=foo input type=text id=moo / input

RE: OT: javascript

2007-05-17 Thread Daniel Baughman
: Thursday, May 17, 2007 9:26 AM To: CF-Talk Subject: Re: OT: javascript in this case, you don't need 'foo'. just 'moo'. even though they could be in different forms, an id value should not be repeated on a page. so... function disabler(textInputID) { document.getElementById(textInputID

Re: OT: javascript

2007-05-17 Thread Charlie Griefer
On 5/17/07, Daniel Baughman [EMAIL PROTECTED] wrote: I'm pretty sure you want document.getElementById(textInputID).disabled = true not document.getElementById(textInputID).style.disabled = true; indeed. sorry 'bout that.

OT: Javascript Question

2007-04-12 Thread Scott Stewart
Hey all, How would I control a select tag based on this. function updateSelectedJournals(responseStruct) { $('selectedJournals').innerHTML = Selected Journals (+responseStruct.total+); $('lstSelectedTerms').innerHTML = responseStruct.lstoutput; I have

OT: Javascript Question

2007-03-07 Thread Brad Wood
Hi guys, I've got a JavaScript question which has me puzzled. Can an instance of a JavaScript object know the name of its instance? That might not make any sense, so I have some quick sample code. Consider the following: SCRIPT LANGUAGE=JavaScript TYPE=text/javascript customObject =

OT: javascript to prevent a normal link from working

2006-12-19 Thread Joshua Cyr
I am playing with YUI and spry and have a fun task of having content from other pages load into a tab system in spry. All is working well so far. Next I have event listener code to check for the click of any link in that tab content area (which is a separate file). Those links are just normal

Re: OT: javascript to prevent a normal link from working

2006-12-19 Thread Charlie Griefer
return false in your a href tag. a href=# onclick=doFunction(args); return false;foo/a On 12/19/06, Joshua Cyr [EMAIL PROTECTED] wrote: I am playing with YUI and spry and have a fun task of having content from other pages load into a tab system in spry. All is working well so far. Next I

RE: OT: javascript to prevent a normal link from working

2006-12-19 Thread Joshua Cyr
, December 19, 2006 1:48 PM To: CF-Talk Subject: Re: OT: javascript to prevent a normal link from working return false in your a href tag. a href=# onclick=doFunction(args); return false;foo/a On 12/19/06, Joshua Cyr [EMAIL PROTECTED] wrote: I am playing with YUI and spry and have a fun task of having

RE: OT: javascript to prevent a normal link from working

2006-12-19 Thread Joshua Cyr
] Sent: Tuesday, December 19, 2006 2:00 PM To: CF-Talk Subject: RE: OT: javascript to prevent a normal link from working Ah, but these are links I have no control over from other pages. The trick is that they are just normal pages that are pulled in to the tab. Joshua Cyr Savvy Software

OT: Javascript - Refresh a window

2006-09-20 Thread Dave Francis
Hi, I have a window from which I open pop-up with JS window.open();. When I close this pop-up - self.close(); - is there any way to force a refresh of the parent window? Thanks in advance for any and all help, Dave

Re: OT: Javascript - Refresh a window

2006-09-20 Thread Jim Wright
Dave Francis wrote: Hi, I have a window from which I open pop-up with JS window.open();. When I close this pop-up - self.close(); - is there any way to force a refresh of the parent window? opener.window.location.reload()

RE: OT: Javascript - Refresh a window

2006-09-20 Thread Dave Francis
Well, that was quick. Thanks Jim -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 9:43 AM To: CF-Talk Subject: Re: OT: Javascript - Refresh a window Dave Francis wrote: Hi, I have a window from which I open pop-up with JS

RE: OT: Javascript - Refresh a window

2006-09-20 Thread Andy Matthews
[mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 8:43 AM To: CF-Talk Subject: Re: OT: Javascript - Refresh a window Dave Francis wrote: Hi, I have a window from which I open pop-up with JS window.open();. When I close this pop-up - self.close(); - is there any way to force

Re: OT: Javascript Menu that Displays Over IFrames

2006-07-18 Thread Mingo Hagen
I should have replied earlier, but for the sake of completeness, the Brainjar.com menu has always helped me out, we've even integrated it in our CMS. Check it out at: http://www.brainjar.com/dhtml/menubar/ There are other menu's out ther that have a smaller footprint, or some that have an

Re: OT: Javascript Menu that Displays Over IFrames

2006-07-18 Thread Ali Awan
Mingo, Thanks, that looks really nice. I'll keep that in mind for the future. But for right now, I found something really simple. An almost entirely CSS solution, which much less Javascript to worry about. Ali I should have replied earlier, but for the sake of completeness, the

Re: OT: Javascript Menu that Displays Over IFrames

2006-07-18 Thread Matt Robertson
The Brain Jar menu carries a GNU General Public License. To quote from it: 2. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third

Re: OT: Javascript Menu that Displays Over IFrames

2006-07-18 Thread Mingo Hagen
Matt Robertson wrote: The Brain Jar menu carries a GNU General Public License. To quote from it: 2. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no

OT: JavaScript

2006-07-17 Thread Ian Skinner
Is there a function or property to will identify what position a childNode is in the childNode array of its parent? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run.

Re: OT: Javascript Menu that Displays Over IFrames

2006-07-17 Thread Ali Awan
Thanks for all the fish Actually I kind of figured this out. I found some free CSS menus, which via-css convert an Unordered List to an invisible Iframe, so now the drop-downs display over the select boxes an IFrames. Ali Ali, I've used a trick to get drop downs to float over select

OT: Javascript Menu that Displays Over IFrames

2006-07-14 Thread Ali Awan
I know this is not a CF question, but since this list has a lot more activity than the Javascript one, I never get any questions answered there, I figured there are many more people on here that are more well-versed in javascript than I. I am looking for a free DHTML/Javascript Drop-Down

Re: OT: Javascript Menu that Displays Over IFrames

2006-07-14 Thread Zaphod Beeblebrox
Ali, I've used a trick to get drop downs to float over select boxes in IE. The trick is to put an relatively positioned empty iframe behind each one of your drop down menu. On 7/14/06, Ali Awan [EMAIL PROTECTED] wrote: I know this is not a CF question, but since this list has a lot more

  1   2   3   4   5   6   7   >