I'll take a look at it. In the mean time, I was able to get around IE by doing the following. I use the hidden iframe to print in non-IE browsers. For IE, I have a hidden anchor element with a target="_blank" attribute. When the user clicks the button to print, I set the unique href for the link and then execute the click event for the link.
Jim
On 5/12/06, Jerod Venema <[EMAIL PROTECTED]> wrote:
Hey Jim,
Not sure about your specific problem, but if you check out this little
bit of code I whipped up a while back:
http://www.clarityccs.com/modernapp/editor/trial_textarea.htm
and be sure to view the source, you'll find some interesting
workarounds. IE has all kinds of issues (that is, IE on XP after SP2)
with iframes. I had no luck whatsoever with using the $() function to
play with actual content of the element...all kinds of weird security
problems. In particular, check out the
_initIFrame
function, which hacks around the IE crapola. It's by no means perfect,
but you may find it useful if you're having issues with IE iframes...
FWIW,
-Jerod
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
--
Jim Geurts
Bia Creations, LLC
http://biacreations.com
410-493-9385
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
