Greetings All,
  At the risk of having to duck rocks, here are some
more modified files to get button.js working under
ns6.
 This was a multipart solution as button uses both
label and dynimage.  The solutions to the dynimage lay
in the ever present "write me before I exist syndrome"
 I changed code in my dynimagedc file to accomodate
this as well as a few lines in button.js.
I also used the onloader done function to write the
buttons to the page so that the images would exist
before they were polled for their size.
  I used trickery to get the label portion going.  It
was not seeing the unsized buttons and was causing
both the label and the button to be set to 0 or 2
pixels.  I simply coded the button to be not visible,
gave it a way over size to start from then added an
ns6resize function to button.js that I call from the
onloader done to set them back (pack), then reset the
buttons to visible again.  Not an elegant solution,
but it works.  The modified files are dynimagedc.js
and buttondc.js.  
I offer these only as temporary fixes till the coding
for nn6 catches up.  Maybe I should not be doing these
mods, but I like to have things I am using working on
the main browsers.
the zip file attached has the two modified js files
and the html example so that you can see the structure
of how I got things to work.
See it working here:

http://www.merlinsworld.net/dynapitest/buttonnn6.shtml

tested under win98 ie5.5 ns4.08 ns4.76 and ns6.0

Comments?
Cheers,
Dave C.  "You Changed What?!?"

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

dcbutton.zip

Reply via email to