WOBuilder JSImageFlyover cannot be a submit button
WOBuilder JSImageFlyover cannot be a submit button
- Subject: WOBuilder JSImageFlyover cannot be a submit button
- From: Denis Stanton <email@hidden>
- Date: Tue, 14 Oct 2003 14:30:56 +1300
I have found what appears to a limitation in WOBuilder's ability to
generate "common" web pages items.
My client wants to have fancy rollover buttons. (yech!) They have even
been so kind as to supply 20 or 30 nice little flash animations. Put
these on a page, open it in Safari and watch the process viewer clocks
24% of CPU occupied with just displaying a page. I don't mean loading
and rendering, I mean continuing CPU usage for as long as the page is
visible and the buttons are not visible changing, they're just
'looping' one image.
I have extracted the images from each animation and gone through my app
replacing the simple text-in-a-cell buttons with JSImageFlyover. So
far so good, except that I found JSImageFlyover does not let me set
some values that I would normally set on any image.
I can't set width, height or alt. I always specify these as it makes
the page draw smother i the browser knows what it's getting. Alt text
is common courtesy for users who may not receive all images.
Am I being dumb? (answer carefully please, I'm approaching a stressful
deadline :-) )
Is there some different way to set img parameters when JS is involved?
More importantly, a button inserted with JSImageFlyover is not a submit
button. Place one inside a form, bind it to an action and click. The
action gets fired, but the form values are not transmitted. A
JSImageFlyover is a button but it is not a form submit or image button.
Again, is there some "duh!" reason why this is a dumb thing to expect?
Surely having a rollover on a submit button is not a strange thing to
want to do?
Denis Stanton
email@hidden
Home: (09) 533 0391
mobile: 021 1433622
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.