You are viewing this page out of context. To see it in the context it is intended please click here.
About This Page
Reply posted by Jake Howlett on Tue 11 Jul 2006 in response to Domino Name Picker Revisited
Re: R5 deployment
First thing I'd suggest is turn off "generate HTML for all fields". In fact,try to never use this at all. Especially when you're using JavaScript.
This has nothing to do with the JS erroe you're seeing though. What is the
<span>, which contains the <img>, inside of? A <p>, <div> etc?
The offsetParent bit is trying to work out where to place the picker layer on
the page. It's the one bit of the code that caused me the most problems as it's
a behaviour that's differs between not only browsers but depending on what
contains the img that was clicked.
Try placing the <img> inside different tags to see what happens.
Jake