Re: JS Question: How to include a parameter when assigning a function to an event.

2009-06-18 Thread Ian Skinner
I finally found the right combination of Google Search terms and following other links to find at least one solution: container.childNodes[i].onclick = function() {openClose('hello world')}; I would be interesting in hearing if there are other solutions or any difficulties I might have with

Re: JS Question: How to include a parameter when assigning a function to an event.

2009-06-18 Thread cold.fusion
Other solutions? Use JQuery or Ext Core for this type of binding. Makes it very simple, and avoids any cross browser issues. 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: JS Question: How to include a parameter when assigning a function to an event.

2009-06-18 Thread Tony Bentley
Use JQuery and then check out the documentation on binding an event. A classic example is passing the id to a function to identify that element inside of the function: $(#TheButton).bind(click,function(el){openClose( $(this).attr(id) )}); function openClose(el){ if($(el).is(.closed)){

RE: js question - getting rusty

2009-05-03 Thread William Seiter
For this, pretend that the contents of the iframe actually resides in a different browser window. When you click on bn1, you are changing the computers focus to a different window. So all other commands, without using the mouse to change to the other window, will only effect that window. I

Re: js question - getting rusty

2009-05-03 Thread Don L
Thank you, William, this did what I need (I'm embarrassed), on user behavior, yes, expect it this way but you never know what user would do even given sufficient instructions. Don For this, pretend that the contents of the iframe actually resides in a different browser window. When you click

Re: JS Question

2008-12-21 Thread Robert Harrison
_ From: s. isaac dealey [mailto:i...@turnkey.to] To: cf-talk [mailto:cf-t...@houseoffusion.com] Sent: Sat, 20 Dec 2008 16:25:01 -0500 Subject: Re: JS Question I'm opening a popup on one page and want to close it on another page. You can't do it, because the variable you created on one page

Re: JS Question

2008-12-20 Thread J.J. Merrick
I think the reasoning is that upbar is not something that the popup is called in the DOM rather it is a var that is defined as that window. So when you go to close it in the non-opening page that upbar isn't defined thus it doesn't know how or what to close. Don't really know your solution since

Re: JS Question

2008-12-20 Thread Dave Watts
I'm opening a popup on one page and want to close it on another page. You can't do it, because the variable you created on one page to reference the popup doesn't exist when you leave that page. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest

Re: JS Question

2008-12-20 Thread s. isaac dealey
I'm opening a popup on one page and want to close it on another page. You can't do it, because the variable you created on one page to reference the popup doesn't exist when you leave that page. That's true... although you might be able to get around that if you do something really fancy

Re: JS Question

2008-12-20 Thread Dave Watts
That's true... although you might be able to get around that if you do something really fancy with frames or iframes and passing a window reference around. You would have to keep the page that created the variable; that page could certainly be within a frameset or iframe. You could probably

RE: JS Question Hide/Show Form Elements

2007-08-05 Thread Adrian Lynch
Or $(#idofelement).toggle(); I'm having a tonne of fun with jQuery at the moment! Adrian -Original Message- From: Josh Nathanson Sent: 03 August 2007 17:25 To: CF-Talk Subject: Re: JS Question Hide/Show Form Elements HIDE: document.getElementById('idOfElement').style.display='none

RE: JS Question Hide/Show Form Elements

2007-08-03 Thread Bobby Hartsfield
HIDE: document.getElementById('idOfElement').style.display='none' SHOW: document.getElementById('idOfElement').style.display='block' ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent:

Re: JS Question Hide/Show Form Elements

2007-08-03 Thread Josh Nathanson
HIDE: document.getElementById('idOfElement').style.display='none' SHOW: document.getElementById('idOfElement').style.display='block' Or in jQuery: $(#idofelement).hide(); $(#idofelement).show(); -- Josh ~| Get involved in

RE: JS Question Hide/Show Form Elements

2007-08-02 Thread Jim Davis
-Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 2:53 PM To: CF-Talk Subject: OT: JS Question Hide/Show Form Elements Anyone know of a JS that works on *most* browsers that will allow me to hide/show sections of a form depending on

RE: JS Question

2006-12-14 Thread Ben Nadel
Pop-up blocker in your browser? Did you update anything recently having nothing to do with the code? Make a link with the following code: a href=## Onclick=alert( openCalWin_#attributes.target# ); Debug FN Call/a This will alert the function that is actually being called. You should see actual

Re: JS Question

2006-12-14 Thread Bruce Sorge
No popup blocker, custom tag has not been touched since yesterday (it worked fine when I left work). Function names are fine. The code you sent did nothing for me really. And I put an alert in the function, and nothing. So at least now I know the function is not being called.

RE: JS Question

2006-12-14 Thread Ben Nadel
/ask-ben/ -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 4:39 PM To: CF-Talk Subject: Re: JS Question No popup blocker, custom tag has not been touched since yesterday (it worked fine when I left work). Function names are fine. The code you

Re: JS Question

2006-12-14 Thread Robertson-Ravo, Neil (RX)
:59:47 2006 Subject: RE: JS Question Bruce, When you say the function I gave you did nothing... You mean it didn't even alert anything? You might have Javascript Disabled on the browser some how. ... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need

RE: JS Question

2006-12-14 Thread Bruce Sorge
To: CF-Talk Subject: RE: JS Question Bruce, When you say the function I gave you did nothing... You mean it didn't even alert anything? You might have Javascript Disabled on the browser some how. ... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need

RE: JS Question

2005-05-14 Thread Ewok
Use the title attribute for the tool tip If you are wanting the actual text on the button changed.. use Onmouseover=this.value='Mouse On Danielson'; OnMouseout=this.value='Mouse Off Danielson'; -Original Message- From: Andy Ousterhout [mailto:[EMAIL PROTECTED] Sent: Saturday, May 14,

RE: JS Question

2005-05-14 Thread Andy Ousterhout
Thanks. -Original Message- From: Ewok Use the title attribute for the tool tip If you are wanting the actual text on the button changed.. use Onmouseover=this.value='Mouse On Danielson'; OnMouseout=this.value='Mouse Off Danielson'; -Original Message- From: Andy Ousterhout

RE: JS Question

2004-06-10 Thread Pascal Peters
PROTECTED] Sent: donderdag 10 juni 2004 0:02 To: CF-Talk Subject: RE: JS Question You are missing function at the beginning of your function declaration. No, I just included the necessary code to give you an idea of what I was doing... or trying to do rather. I got it now thought

RE: JS Question

2004-06-09 Thread Shawn Grover
This looks like a case of mixing server side and client side logic.Try dumping the values of the variables via a JS alert() just before calling the getElementById.See if it's what you are expecting. Shawn -Original Message- From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent:

RE: JS Question

2004-06-09 Thread Tangorre, Michael
This looks like a case of mixing server side and client side logic.Try dumping the values of the variables via a JS alert() just before calling the getElementById.See if it's what you are expecting. Just a bad variable naming choice Not mixing it up. :-) [Todays Threads] [This

RE: JS Question

2004-06-09 Thread Dave Watts
There is a link in each top table (T1,T3,T5,T7,T9) that when clicked on should display the table below it (T2,T4,T6,T8,T10 respectively.) The HTML for the link is as follows: cfloop from=1 to=5 index=x table trtda href="" return false;Company #x#/a/td/tr/table table

RE: JS Question

2004-06-09 Thread Tangorre, Michael
This might be way too obvious to be your problem, but I don't see any CFOUTPUT in that HTML. I only included the important code... Left the gimmes off :-) Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: JS Question

2004-06-09 Thread Dave Watts
trtda href="" return false;Company #x#/a/td/tr/table ... The JS is as follows: toggleDrillDown(x){ You're passing in a string when you call the function, instead of the object itself. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444

RE: JS Question

2004-06-09 Thread Tangorre, Michael
toggleDrillDown(x){ You're passing in a string when you call the function, instead of the object itself. I'm with ya Dave.. However, when I pass in the object I get another error saying ';' expected (even though all the ; are there Passing in the object

RE: JS Question

2004-06-09 Thread Pascal Peters
You are missing function at the beginning of your function declaration. Also, I suppose you want to hide the related table if you click a second time. What you have there will show the table, but never hide it. function toggleDrillDown(x){ if(document.getElementById(x).style.display == 'block'){

Re: JS Question

2004-06-09 Thread sudhakar ramaswamy
Your code modified a little. Works on IE 6.0. cfoutput cfloop from=1 to=5 index=x table trtda href="" return false;Company #x#/a/td/tr /table table style=display:none; id=tbl#x# trimmed off .. #x# /table /cfloop SCRIPT language=_javascript_ //initialize to some unused value

RE: JS Question

2004-06-09 Thread Michael T. Tangorre
You are missing function at the beginning of your function declaration. No, I just included the necessary code to give you an idea of what I was doing... or trying to do rather. I got it now thought... eval() was needed. Mike [Todays Threads] [This Message] [Subscription] [Fast

RE: JS Question

2004-02-16 Thread Tony Weeg
oh by all means... :) there is mad code around for this...here is one.. http://_javascript_.internet.com/generators/popup-window.html tony r e v o l u t i o n w e b d e s i g n [EMAIL PROTECTED] www.revolutionwebdesign.com its only looks good to those who can see bad as well -anonymous

RE: JS Question

2004-02-16 Thread Andrew Scott
Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 February 2004 1:39 PM To: CF-Talk Subject: RE: JS Question oh by all means... :) there is mad code around for this...here is one.. http://_javascript_.internet.com/generators/popup-window.html tony r e v o l u t i o n w e b d e s i g n

RE: JS Question

2004-02-16 Thread Tony Weeg
, February 16, 2004 10:14 PM To: CF-Talk Subject: RE: JS Question Tony, Thanks, but I can do that already. I was looking for code that would allow me to modify the existing open window! Regards Andrew Scott Technical Consultant NuSphere Pty Ltd Level 2/33 Bank Street South Melbourne, Victoria, 3205

RE: JS Question

2004-02-16 Thread Andrew Scott
0485-Fax: 03 9699 7976 _ From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 February 2004 2:21 PM To: CF-Talk Subject: RE: JS Question what existing opening window? got the code? tony r e v o l u t i o n w e b d e s i g n [EMAIL PROTECTED] www.revolutionwebdesign.com its only

RE: JS Question

2004-02-16 Thread Tony Weeg
To: CF-Talk Subject: RE: JS Question Existing OPEN window. In other words I have a window that is open, I want to control certain aspects of that window like remove the title bar and status bar etc. Regards Andrew Scott Technical Consultant NuSphere Pty Ltd Level 2/33 Bank Street South Melbourne

RE: JS Question

2004-02-16 Thread Philip Arnold
what existing opening window? got the code? I think he means the current browser window I don't think you can turn off the status bar in IE, but you can in Netscape, you'll have to change them when the window is opened if you're using IE [Todays Threads] [This Message] [Subscription]

RE: JS Question

2004-02-16 Thread Matthew Walker
Don't think you can do that. That would be incredibly annoying. You can only control windows your app actually opens. -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 February 2004 3:26 p.m. To: CF-Talk Subject: RE: JS Question Existing OPEN window

RE: JS Question

2004-02-16 Thread Philip Arnold
I don't think you can turn off the status bar in IE, but you can in Netscape, you'll have to change them when the window is opened if you're using IE Actually, you can on an opened window, but not a default one [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

RE: js question

2003-09-10 Thread Ian Skinner
try this newCell.onMouseMove= new function('doThis()') HTH -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA -Original Message- From: John McCosker [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 11:10 AM To: CF-Talk Subject: js

RE: js question

2003-09-10 Thread Douglas.Knudsen
to add new functions on the fly use this format obj.event = function() {foo(goo)}; for example: v.onblur=function() {checkBool(this)}; and in your case newCell.onMouseMove=function() {doThis()}; should work. Note that 'function()' above is not a specific function, this is the command syntax.

RE: js question

2003-09-10 Thread John McCosker
//newCell.onMouseOver = new function('doThis()'); I get an 'Expected Identifier' error when trying that Ian, Win XP, IE 6. -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 10 September 2003 19:19 To: CF-Talk Subject: RE: js question try this newCell.onMouseMove= new

RE: js question

2003-09-10 Thread Ian Skinner
, September 10, 2003 11:28 AM To: CF-Talk Subject: RE: js question //newCell.onMouseOver = new function('doThis()'); I get an 'Expected Identifier' error when trying that Ian, Win XP, IE 6. -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 10 September 2003 19:19

RE: js question

2003-09-10 Thread John McCosker
//newCell.onMouseOver = function() {doThis()} Thanks Doug, but that doesn't do anything either, no error though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 10 September 2003 19:24 To: CF-Talk Subject: RE: js question to add new functions on the fly use

RE: js question

2003-09-10 Thread Douglas.Knudsen
with simple then move up to your need, my philosophy, especially with javascript. Doug -Original Message- From: John McCosker [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 2:37 PM To: CF-Talk Subject: RE: js question //newCell.onMouseOver = function() {doThis()} Thanks

Re: js question

2003-09-10 Thread jon hall
newCell.onMouseMove=doThis; -- jon mailto:[EMAIL PROTECTED] Wednesday, September 10, 2003, 2:09:38 PM, you wrote: JM Hi, JM I You can dynamically create tr and td elements on the fly, JM like, JM var newRow=cell_root_table.insertRow(0) JM then add attributes like, JM newRow.vAlign='top'

Re: js question

2003-09-10 Thread Claude Schneegans
newCell.onMouseMove='doThis()', Try this: newCell.onMouseMove=doThis; function doThis() { .. } ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription:

RE: js question :: validate :: select 3 out of 5 fields

2003-08-14 Thread Ihrig Paul E Cont 88 ABW/EM
i have tried oForm.apple.validateAtLeastOne(banana); oForm.orange.validateAtLeastOne(watermelon); oForm.grape.validateAtLeastOne(apple,orange,banana,watermelon); with mixed results.. always 1 selection that leave to many selcted or not anough... oh well. going home. -paul

Re: JS Question

2003-06-29 Thread Scott Brady
- Original Message - From: Bruce Sorge [EMAIL PROTECTED] Say, I have this enter image that looks like this: a href=javascript:document.ViewerInfo.submit();img src=images/EnterButton.gif border=0 What I want to do is to also be able to call my form validation JavaScript when the user

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Craig Dudley
Stick them all in a container div and make it invisible? -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 14:04 To: CF-Talk Subject: JS question / DOM hiding all elements in square area I want to hide all elements in a region (ie5+, nn6+) So I have these

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread webguy
No can't do that, there maybe any elements in the region.. WG -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 13:58 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area Stick them all in a container div and make it invisible

Re: JS question / DOM hiding all elements in square area

2003-06-03 Thread jochemd
webguy wrote: I want to hide all elements in a region (ie5+, nn6+) So I have these pixel values for the region left,top,weight,height What the easiest way to do this ? Create an empty div and apply a style to give it the right size, position and z-index. Jochem

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread webguy
] Sent: 02 June 2003 14:21 To: CF-Talk Subject: Re: JS question / DOM hiding all elements in square area webguy wrote: I want to hide all elements in a region (ie5+, nn6+) So I have these pixel values for the region left,top,weight,height What the easiest way to do this ? Create an empty div

Re: JS question / DOM hiding all elements in square area

2003-06-03 Thread Michael Tangorre
: webguy [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 02, 2003 9:29 AM Subject: RE: JS question / DOM hiding all elements in square area That won't work either, I need to hide selects in this region. Due to an issue in IE, select box show though divs, no matter what z-index

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread John McCosker
June 2003 14:11 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area No can't do that, there maybe any elements in the region.. WG -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 13:58 To: CF-Talk Subject: RE: JS question / DOM

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Craig Dudley
This works for me np. div style=visibility: hidden; select option value=11 /select /div -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 14:30 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area That won't work either, I need

Re: JS question / DOM hiding all elements in square area

2003-06-03 Thread jochemd
Michael Tangorre wrote: using style sheets and JS events if needed change the visibility property. I forget the list of elements you can apply this to, but I am sure the table, tr, td, div, span work. visibility: hidden; That is the easy part. But unless you have hardcoded window size, font

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread webguy
' ( or visible) for each of them anyone know of any code to do this? Thansk WG -Original Message- From: Michael Tangorre [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 14:28 To: CF-Talk Subject: Re: JS question / DOM hiding all elements in square area using style sheets and JS events

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread David Collie (itndac)
:47 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area I know how to hide elements, in fact I know how to everything I need, but I'd prefer to use some code thats been tested etc . Basically the functionality is given top,left,width, and height , figure out

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Donnie Bachan
Okayeverytime I say something like this I can feel the cringe running through the community! *L* But here goes, this has been a very helpful guide for me in developing code to solve this problem. This is an IE specific solution but you will get the idea of what is being done to implement

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread webguy
To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area Why not have a hidden layer that is *not* transparent and toggle that on to hide the area and toggle it off to display it you could fill it with a solid image that will definitely hide the contents DC -Original

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread David Collie (itndac)
Hi webguy... cheers for the link will keep it in mind when I get round to doing something like that and am tearing my hair out wishing that I had taken more note of this conversation! Hopes you get a result on this :-) ~|

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread David Collie (itndac)
code if you think this would work and I got it working in N4+ from memory :-) -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 15:01 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area Again a solid image in a div will still

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread John McCosker
Subject: RE: JS question / DOM hiding all elements in square area I know how to hide elements, in fact I know how to everything I need, but I'd prefer to use some code thats been tested etc . Basically the functionality is given top,left,width, and height , figure out the elements of type select

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread webguy
] Sent: 02 June 2003 15:04 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area I want to hide all elements in a region (ie5+, nn6+) That won't work either, I need to hide selects in this region. Due to an issue in IE, select box show though divs, no matter what z-index

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Craig Dudley
is active? -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 15:26 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area Basically I want to copy the functionality that coolmenus http://www.dhtmlcentral.com/projects/coolmenus/ does to hide

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Donnie Bachan
Ironically.that example at DHTMLCentral does not work. http://www.dhtmlcentral.com/projects/webcronize/examples/hide_selecboxes_and_form_example.html Another thoughthow about placing the element on a div then resizing the div (using the clip attribute), that would hide the element

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Craig Dudley
15:26 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area Basically I want to copy the functionality that coolmenus http://www.dhtmlcentral.com/projects/coolmenus/ does to hide selects, when a menu opens over them. The bit of code I want is just give me all then element

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread webguy
[mailto:[EMAIL PROTECTED] Sent: 02 June 2003 16:21 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area This works in ie6, I assume it will work in any DOM Level 2 compliant browser, script function hide(){ elements = document.getElementsByTagName('select'); for (var i

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Craig Dudley
Nope, it doesn't. getElementsByTagName returns a node list (array), hence the loop. -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 16:41 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area Yes that will hide all selects

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread John McCosker
){ document.getElementById[divId][i].style.visibility = 'hidden'; } function showSelect(i){ document.getElementById[divId][i].style.visibility = 'visible'; } -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 16:41 To: CF-Talk Subject: RE: JS question / DOM hiding all

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread webguy
:-) Thanks All WG -Original Message- From: John McCosker [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 16:53 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area //In fact this would probably hide ALL selects on a page //document.getElementsByTagName('select

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread David Collie (itndac)
are looking for? -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 17:22 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area OK thanks everyone, but I think I didn't ask the question correctly!! It is true you can usually stick

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread John McCosker
, http://www.andronics.co.uk we went with a re-design that kept everything away from that damn menu, we stuck in large gifs to take up the menu real-estate. -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 17:22 To: CF-Talk Subject: RE: JS question / DOM hiding all

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Suyer, Ed [PRD Non-JJ]
WG, check out: http://www.milonic.co.uk/menu/ This is a self-contained js menu solution that should satisfy your geekiness (excuse me, nerdiness). There is a setting that you set inside the configuration portion of the js file that allows the menu to hide elements underneath it. If you still

Re: JS question / DOM hiding all elements in square area

2003-06-03 Thread jon hall
Tell it to Microsoft... :) My suggestion would be to kill the selects and go with a dhtml lookalike dropdown. You can maintain the separation between your UI elements, without getting crazy with detecting where your elements are onscreen. -- jon mailto:[EMAIL PROTECTED] Monday, June 2,

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Donnie Bachan
This solution has only been tested in IE 6. There are a few little quirks in it because of the implementation but I didn't spend too much time cleaning it up http://www.islandwizards.com/tests/dhtml/simplemenu_selects.cfm HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo

Re: js question

2003-05-31 Thread Kwang Suh
document.formname.blah[document.formname.blah.selectedIndex].text - Original Message - From: Ewok [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, May 31, 2003 2:42 AM Subject: OT: js question im trying to get the displayed text from a select field (not the value)

Re: js question

2003-05-31 Thread Ewok
never mind : ) document.formname.blah.options[document.formname.blah.selectedIndex].text; - Original Message - From: Ewok [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, May 31, 2003 1:42 AM Subject: OT: js question im trying to get the displayed text from a select

RE: js question

2003-05-31 Thread Charlie Griefer
-Original Message- From: Ewok [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 1:42 AM To: CF-Talk Subject: OT: js question im trying to get the displayed text from a select field (not the value) select name=blah size=1 option value=1Option One/option /select I know

Re: js question

2003-05-31 Thread Ewok
thanks Kwang :) - Original Message - From: Kwang Suh [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:09 PM Subject: Re: js question document.formname.blah[document.formname.blah.selectedIndex].text - Original Message - From: Ewok [EMAIL

Re: js question

2003-05-31 Thread Ewok
actually document.blah.formname.value was returning the value of the selected index fine.. nice explantion though thanks - Original Message - From: Charlie Griefer [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:14 PM Subject: RE: js question

Re: js question

2003-05-31 Thread Kwang Suh
No problem, even though I forgot the options part :) - Original Message - From: Ewok [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, May 31, 2003 3:12 AM Subject: Re: js question thanks Kwang :) - Original Message - From: Kwang Suh [EMAIL PROTECTED] To: CF

Re: js question

2003-03-06 Thread Justin Scott
CheckQty(this) function CheckQty(that) { that.value ... } -Justin Scott - Original Message - From: Emmet McGovern [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 9:54 AM Subject: js question I am calling a function onBlur of a text field... to

Re: JS Question...

2002-12-10 Thread Bryan Stevenson
I'd use an onClick event in the link with 2 window.open functions seperated by ; Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate

Re: JS Question...

2002-12-10 Thread Randell B Adkins
onClick=LaunchWindows(); Then have a JS Function: function LaunchWindows() { var win1 = window.open(www.firstwindow.com,Window1); var win2 = window.open(www.secondwindow.com,Window2); } [EMAIL PROTECTED] 12/10/02 02:25PM I'd use an onClick event in the link with 2 window.open functions

RE: JS Question...

2002-12-10 Thread Che Vilnonis
yeah...I'm kinda looking for a code example/tweak. My code automatically loads the two windows. I want it to work when a user clicks a link...see below. -- SCRIPT LANGUAGE=JavaScript!-- function myOpen(url,name) { var handle = window.open(url,name); } var window1 =

RE: JS Question...

2002-12-10 Thread Che Vilnonis
that was it. thanks to all who responded. -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 2:30 PM To: CF-Talk Subject: Re: JS Question... onClick=LaunchWindows(); Then have a JS Function: function LaunchWindows() { var win1

RE: JS Question

2002-06-06 Thread Ben Johnson
i am just trying to get my head around a problem before i move on. on the form here i can grab my 'PrintPlotNum' which is the Num_Origionals*Num_EachSet then i select a price. Print_Type_ID * it by 'PrintPlotNum' to get my 'PrintPrice' no if i change either Num_Origionals OR Num_EachSet

RE: JS Question

2002-06-06 Thread Paul Ihrig
that's similar to what i have in the htm file at the bottom but it doesn't do it -paul __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ:

RE: JS Question

2002-06-06 Thread Ben Johnson
that's similar to what i have in the htm file at the bottom but it doesn't do it Paul, Do you have a link to the code? Ben Johnson Hostworks, Inc. __ Structure your ColdFusion code with Fusebox. Get the official

RE: JS Question

2002-06-06 Thread Paul Ihrig
just paste it into a htm file - test.htm - !DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' html head titlemath/title script language='JavaScript' function TotalNum_Origionals() // this from below gets passed as obj { var total = 0; var amtNum_Origionals =

RE: JS Question

2002-06-06 Thread Ben Johnson
Paul, Your problem is that you're passing a reference in the onChange event to TotalPrintPrice() but not in the onChange event of the text boxes. Take out the this from your select box's onChange event and make references to the select box directly in your JS function. Ben Johnson

RE: JS Question

2002-06-06 Thread Paul Ihrig
ok i was able to do this... seems to work. but question for you guru's out there. isn't this kind of Bloated? shouldn't there be a way to do this with less code? thanks. -paul !DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' html head titlemath/title script

RE: JS Question

2002-03-28 Thread Kevin Cundick
I've looked into doing the same thing. I haven't found a good way to disable the element, so what I did was create an image object in JS of an grayed out element and used layers to place it until I wanted to enable it. Then I would just use the layer to replace the image with the desired

Re: JS Question

2002-03-28 Thread Jon Hall
Here is a little snippet I use for this, I don't believe it works for NS4 though. It does work in IE?/NS6... So you could add an onchange event to your select box, and if the selected option means that your text field needs to be disabled, fire off your toggleEdit()... function toggleEdit() {

RE: JS Question

2002-03-28 Thread Bryan Love
oops, I accidentally posted this reply under the wrong subject! Here it is again... .. I have a form that, if a user selects a specific item from a select list, then the next section of the form is grayed out, and the required attributes are no longer required. I know how to by-pass the

RE: JS Question

2002-03-28 Thread Bryan Love
, 2002 12:58 PM To: CF-Talk Subject: RE: JS Question oops, I accidentally posted this reply under the wrong subject! Here it is again... . I have a form that, if a user selects a specific item from a select list, then the next section of the form is grayed out, and the required attributes

Re: JS Question

2002-02-04 Thread Dave Carabetta
Bruce, Complete shot in the dark, but could there be a limit to the length a form name can have in JS? Have you tried document.forms[0].submit() instead? By the way, forms[0] assumes that there is only one form on the page. Again, just a guess, but a troubleshooting technique nonetheless.

Re: JS Question

2002-02-04 Thread Bruce H. Sorge
- From: Dave Carabetta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 04, 2002 10:08 PM Subject: Re: JS Question Bruce, Complete shot in the dark, but could there be a limit to the length a form name can have in JS? Have you tried document.forms[0].submit() instead

  1   2   >