> Just use a hidden form with hidden fields and let the browser do all
> the work.  Of course, you can build the url yourself as long as you

That's it of course, but put like that takes all the magic out of it.
cross-browser DHTML is all tricks in the end I guess.

Basically you have a DynLayer, with a label in it, and  a fake cursor, with
onmousedown
event to focus() the real form text-box, which is off screen, and whose
onchange event
does a setHTML on the label, and positions the fake cursor to
label.getWidth().
The great thing is you can have any fontsize/color/border etc you want
The real offscreen form can have all the properties they always have.

first I did it with the keyevents, but that means remapping the whole
keyboard.



----- Original Message -----
From: "Robert Rainwater" <[EMAIL PROTECTED]>
To: "DynAPI Help List" <[EMAIL PROTECTED]>
Sent: Saturday, January 20, 2001 5:41 PM
Subject: Re[2]: [Dynapi-Help] menu question...


>
> Just use a hidden form with hidden fields and let the browser do all
> the work.  Of course, you can build the url yourself as long as you
> encode the url.
>
> --
> // Robert Rainwater
>
> On 1/20/2001, 9:27:54 AM EST, Michael wrote about "[Dynapi-Help] menu
question...":
>
> > I've just about finished my own version of what you are describing.  How
exactly
> > do you plan on allowing for get type forms.  As far as I know, this
requires the
> > data to be "compiled" by the browser and then submitted as a series of
packets.
>
> > So far, I can only see a way of generating the url for a post form.
>
> > Richard :o wrote:
>
> >> yes, it is a browser problem, but I'm making a replacement form object
as a
> >> dynapi widget, so you can have text input etc without using a form, and
keep
> >> the same post & get properties etc. I should have working example up in
the
> >> weekend, or begin next week.
> >>
> >> Cheers,
> >> Richard  :o
> >>
> >> [EMAIL PROTECTED]
> >> www.richardinfo.com
> >> (Everything running on, and ported to the 19/12/2000 snapshot of
DynAPI2)
> >>
> >> ----- Original Message -----
> >> From: "Joseph Crotty" <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Friday, January 19, 2001 7:10 PM
> >> Subject: [Dynapi-Help] menu question...
> >>
> >> > Hi all,
> >> >
> >> > I am a perl programmer(well, mostly perl) that maintains an
application
> >> > comprised of cgi scripts and of course HTML front ends/forms.   The
index
> >> > page users log into is a frame set(two frames - a narrow vertical one
on
> >> the
> >> > left with a static menu, and a large one on the right where the HTML
front
> >> > end/forms and scripts run).
> >> >
> >> > I want to drop the frameset and instead use DynAPI2 to generate a
> >> horizontal
> >> > dynamic menu bar running the top of the screen with the HTML/CGI
stuff
> >> > below.  My concern is that in a very simple test case I built(code
below)
> >> > the dynlayer I created would not cover over <select> boxes in IE 5.x
that
> >> > exist in several of the HTML front ends/forms.
> >> >
> >> > Is there an elegant work around for this problem?
> >> >
> >> > Thanks for any critique and/or ideas,
> >> >
> >> > JDog
> >> >
> >> >
> >> > <html>
> >> > <head>
> >> > <title>DynAPI Distribution: Create Example</title>
> >> >
> >> > <script language="Javascript" src="../js/dynapi.js"></script>
> >> > <script language="Javascript">
> >> >
> >> > DynAPI.setLibraryPath('../js/lib/')
> >> >
> >> > DynAPI.include('dynapi.api.dynlayer')
> >> > DynAPI.include('dynapi.api.browser')
> >> > DynAPI.include('dynapi.api.dyndocument')
> >> >
> >> > DynAPI.onLoad=function() {
> >> > myLayer = new DynLayer()
> >> > myLayer.setSize(DynAPI.document.getWidth(),50)
> >> > myLayer.setBgColor('#000000')
> >> > myLayer.moveTo(0,0)
> >> > this.document.addChild(myLayer)
> >> > }
> >> >
> >> > </script>
> >> > </head>
> >> >
> >> > <body>
> >> > <table width="75%" border="1">
> >> >   <tr>
> >> >     <td>
> >> >       <input type="text" name="textfield">
> >> >     </td>
> >> >     <td>
> >> >       <input type="submit" name="Submit" value="Submit">
> >> >     </td>
> >> >     <td>
> >> >       <input type="checkbox" name="checkbox" value="checkbox">
> >> >     </td>
> >> >     <td>
> >> >       <input type="radio" name="radiobutton" value="radiobutton">
> >> >     </td>
> >> >     <td>
> >> >       <select name="select">
> >> >       </select>
> >> >     </td>
> >> >     <td>
> >> >       <input type="hidden" name="hiddenField">
> >> >     </td>
> >> >   </tr>
> >> > </table>
> >> > </body>
> >> > </html>
> >> >
> >> > _______________________________________________
> >> > Dynapi-Help mailing list
> >> > [EMAIL PROTECTED]
> >> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
> >> > ____________________________________________________________
> >> > Get your free domain name and domain-based e-mail from
> >> > Namezero.com. New!  Namezero Plus domains now available.
> >> > Find out more at: http://www.namezero.com
> >> >
> >>
> >> _______________________________________________
> >> Dynapi-Help mailing list
> >> [EMAIL PROTECTED]
> >> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
>
>
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
>
> ----------------------
> DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/
> DynAPI Homepage: http://dynapi.sourceforge.net/
>
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
> ____________________________________________________________
> Get your free domain name and domain-based e-mail from
> Namezero.com. New!  Namezero Plus domains now available.
> Find out more at: http://www.namezero.com
>


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to