butting heads
-
it took me several days to get here … bear with me.
having used formidable/formidable-pro and had a couple of orphaned right brackets (‘]’) in our form, probably resulting from poorly written shortcodes in some (I think formidable’s) plugin.
the site was ready to go live and I needed them gone.
so I decided to use js to scan the page and remove them after ready and load were complete.seemed to work great!
then ran across a strange problem which I at first had no clue as to the source.
certain forms were blank … and no, I don’t mean the form lacked data, the page was actually blank … the elements were all in place, but invisible.finally figured out HOW that was happening … an inline style was being added to the formidable <form> element (.e.g. style=”opacity:0;”). at the time I discovered HOW the page was blank, I hadn’t a clue why it was being inserted OR what triggered insertion.
a process of trial and err, I found disabling easy fancybox stopped the anomaly. but I also knew this issue was new, and I had not touched easy fancybox nor formidable for quite some time. so what was new that might trigger this?
I found disabling my “bracket cleaner” routine stopped the apparent insertion of inline opacity style by easy fancybox but why in the first place?
the only guess I have is easy fancybox is either being caught while processing the page by my script and it is changing something why being processed for another purpose (which is not likely in an synchronous environment), or easy fancybox is actually monitoring the page for changes and is interpreting my edit as a queue for it to do something, by design?!
thoughts?
peace
-DJ
- The topic ‘butting heads’ is closed to new replies.