August 20th, 2005

Чеширский кот Честер

Problem with comments in Opera. Solution.

Users who use Opera detect that the standart style of comments isn't working in their browser correctly.
As far as I know, that has happened not long ago, however I don't have a page with an old code and that's why I've tried to modify the current code, in order to return functionality for my browser.
The problem is that Opera doesn't work correctly with the forms that are created by an innerHTML (it simply deletes them), but it can be solved with an addition of a simple code
I just added in a script, that is placed in end of every page with post, new form named "qrform" (Yes, I know, that this code has a form with this name, but it is placed in an innerHTML part of variable "de").
So, I've taken away the form named qrform from de.innerHTML, and initiated it separately with the rest of the code, which is placed in this form.
Collapse )
Collapse )
  • Current Music
    Moby - Heaven