sounds great, but the type="image" doesn't seem to have a value 
attribute.  the only values that get passed through are fuseaction.x=56 and 
fuseaction.y=102 which are the x/y coordinates of the pixel you clicked on 
within the image.

At 09:53 AM 3/20/01 +0000, you wrote:
>how about this, name your  image inputs fuseaction, and set their values to
>whatever fuseaction you want them to trigger, this way you dont need
>javascript at all.
>
>eg <input type="image" name="fuseaction" value="blah">
><input type="image" name="fuseaction" value="bleh">
><input type="image" name="fuseaction" value="bloh">
>
>--------------------------------------------
>Stephen Fernandez, Web Developer, NetBenefit plc
>T: +44 (020) 7549 5389
>F: +44 (020) 7336 0567
>http://www.netbenefit.com/
>
>
>-----Original Message-----
>From: Ken Beard [mailto:[EMAIL PROTECTED]]
>Sent: 20 March 2001 02:07
>To: Fusebox
>Subject: image button navigation
>
>
>how do ya'll handle the situation where you've got 1 form that needs to go
>2 different places, depending on which button is clicked when the button is
>an image.  I have been using the onClick handler of the type="image" button
>to set this.form.fuseaction.value to whatever.. but I ran into a problem
>with this recently: netscape 4.7 isn't firing that onClick event before
>submitting.  If I use an img and an anchor tag and
>document.forms[0].fuseaction.value=blah;document.forms[0].submit(); then my
>onSubmit event for that form doesn't fire, killing my javascript form
>validation.
>
>the only option I see at this point is to go with the img/anchor solution
>and try to make an invisible img button somewhere on the page and use its
>click() method, assuming netscape recognizes that.  but that's kinda messy
>and i don't even know if it will work.
>
>Ideas/solutions on this greatly appreciated, i'm in kind of a tight fix
>here and i've got to get this working quick.
>
>thanks
>Ken Beard
>Manager, Application Development
>Stone Ground Solutions
>5100 West Kennedy Blvd, Suite 430
>Tampa FL  33602
>813.387.1235 voice
>866.767.4051 toll free
>813.387.1237 fax
>www.stoneground.com
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to