Asked by duncanb7
at 2024-11-29 11:42:55
Point:500 Replies:3 POST_ID:828541USER_ID:11059
Topic:
jQuery;;JavaScript
I have studying Jquery round corner code from this site
http://www.dave-woods.co.uk/index.php/rounded-corners-in-internet-explorer/
Everything is fine and work for container or tag without image .
So next i try his javascript jquery.corner.js with my image for exmaple, jeans.jpg, but
only right top corner is rounded on jeans.jpg picture. So suppose top mean in
$("#box4").corner("top 30px"); that is rounding top-left & top-right corner but it fail just
round top-right corner
and I try $("#box4").corner("30px"); it round just top-right and bottom-right corner but not all
4 corners
Please advise any mistake I made on issue
And I don't know why the author put the statment
<!--conditional comments -->
<!--[if IE]>
<script src="js/html5.js"></script>
<![endif]-->
in the index.html for what ? why it is related to HTML5 ?
Please advise two question, and thanks
(Note:I have no issue for rounding image on IE9,firefox, chrome, opera if using -ms -moz -wek ..border-radius, the issue is only on IE7 or earlier version)
Duncan
http://www.dave-woods.co.uk/index.php/rounded-corners-in-internet-explorer/
Everything is fine and work for container or tag without image .
So next i try his javascript jquery.corner.js with my image for exmaple, jeans.jpg, but
only right top corner is rounded on jeans.jpg picture. So suppose top mean in
$("#box4").corner("top 30px"); that is rounding top-left & top-right corner but it fail just
round top-right corner
and I try $("#box4").corner("30px"); it round just top-right and bottom-right corner but not all
4 corners
Please advise any mistake I made on issue
And I don't know why the author put the statment
<!--conditional comments -->
<!--[if IE]>
<script src="js/html5.js"></script>
<![endif]-->
in the index.html for what ? why it is related to HTML5 ?
Please advise two question, and thanks
(Note:I have no issue for rounding image on IE9,firefox, chrome, opera if using -ms -moz -wek ..border-radius, the issue is only on IE7 or earlier version)
Duncan
Attachment:jquery.corner.jsindex.htmljeans.jpgie-rounded-corners.zipproblem-corner.gif