Closed GoogleCodeExporter closed 8 years ago
I now see that this strange behavior is documented and that a way to suppress
these
helpful errors is given.
But just because something is intended to be a certain way doesn't mean it's the
right way. It makes no sense to have this option on by default since it
returns an
error almost every time. And requiring another script entry in the header to
turn if
off contributes to page bloat.
Keep the option as a debugging option that can be optionally turned on if
needed.
Heck, people might even be able to figure out they misspelled something in the
css
when it doesn't appear on the site at all or when it doesn't have curvy
corners. No
error message necessary!
Original comment by hairyi...@gmail.com
on 25 Sep 2009 at 6:51
I understand this reasoning and am sympathetic to it, but with reservations.
I must take issue with the allegation that "it returns an error almost every
time".
It won't return any error and it won't pop up an alert if you code your page as
recommended in the documentation.
The issue is not just that an ID might be mistyped: it might be that you are
trying
to define rounded corners in a standard stylesheet for an element that occurs
only
in some of the pages that use that stylesheet. This shows that you have
overlooked
the documented fact that defining rounded corners in a standard stylesheet
won't
work at all in Opera.
If you code your rounded corners to work in all browsers, you won't need to add
"page bloat" to suppress these messages. The presence of these annoying
messages is
intended to help you to code your pages to work in all browsers.
Original comment by c.1%smit...@gtempaccount.com
on 27 Sep 2009 at 3:11
I just ran into this error using IE8 and curvycorners 2.0.4, and I think it's
unfortunate that any curvycorner DIV has to be in every page of a site,
otherwise
curvycorners spits out an error in IE only. In my case, a #sidebar DIV is used
on most
pages, but not all. This would seem to be a pretty normal scenario in web
design. Where
is the documentation mentioned in this thread that tells us how to code this
correctly
or work around it? Thanks.
Original comment by carola...@gmail.com
on 27 Oct 2009 at 5:20
Let me try to explain. CurvyCorners is a script that attempts to make it
possible to
show rounded corners in web pages that work in all browsers.
The documentation clearly explains how to suppress the warning messages. The
documentation is to be found in the same place as the script.
Taking the example of the #sidebar DIV that is used on "most pages, but not
all":
where the DIV is not used (the minority of pages), one should not include a
style
for the DIV that isn't used. It's reasonable to assume that if a page includes
a
style for a DIV that isn't used, the author has carelessly mis-typed the ID of
the
DIV. For such a careless author, the warning message is extremely helpful.
There is
an easy workaround to the warning message: remove the useless style rule.
Ah, but (I hear some cry), my style is not in the page itself, it's in a
separate,
included style sheet. And I respond - please read and try to understand! - If
you
put rounded corner styles into a separate style sheet, they will not work in
all
browsers!
CurvyCorners is about helping you to get your corners working in *all*
browsers. If
you don't want this, and want your pages to go wrong in some browsers, then by
all
means read the documentation and learn how to suppress these warnings.
Original comment by c.1%smit...@gtempaccount.com
on 28 Oct 2009 at 12:30
So -- CurvyCorners attempts to show rounded corners in all browsers, but with
this
javascript message it is not possible to use it in Internet Explorer. :-)
Maybe I don't understand your arguments. But I think that "unused" CSS
selectors in
global stylesheets are very common. Webdesigners can't work without them.
CC is wonderful peace of software. But this "feature" was upleasant surprise
for me.
Original comment by michalek...@gmail.com
on 17 Dec 2009 at 5:30
You are able to disable error messages by inserting:
<script type="text/javascript">
var curvyCornersVerbose = false;
</script>
into the head of your document. It's in all the documentation of the CC download
Original comment by ManukaDe...@gmail.com
on 1 Feb 2010 at 10:00
im getting the same thing in dress up challenge . i need help to make it
stop.
please email me at lbg1963@aol.com with a link i can down load it from.
Original comment by lisa.ger...@gmail.com
on 10 Sep 2010 at 8:23
@#7: please read comment 6. That gives you the answer.
Original comment by c...@realidcheck.com
on 11 Sep 2010 at 1:39
Original issue reported on code.google.com by
hairyi...@gmail.com
on 25 Sep 2009 at 6:33