Forums
View unanswered posts | View active topics It is currently Wed Apr 16, 2014 6:50 pm



Reply to topic  [ 1 post ] 
 Removing csspie items using javascript 
Author Message

Joined: Tue Dec 07, 2010 12:42 pm
Posts: 1
Post Removing csspie items using javascript
Hello


I've got an <li> that I use CSS3PIE with in order to get rounded corners. This element gets removed by javascript (jquery specifically) when the user clicks a link. I've noticed that when this happens, the <css3-container> remains, leaving a funky little box with rounded corners.

I should mention that this element is animated before it is removed. Here is the javascript:
Code:
$('li#something').animate({ "width": 0 }, { "duration": 200, "complete": function()
{
   $(this).remove()
} });


I tried removing the animation, but it actually still does the same thing.

I tried to make a small test case, but I couldn't.

Do you know what could cause this?

I've attached a screenshot that shows how it looks before the li is removed, and how it looks after.


Attachments:
little box.PNG [1.46 KiB]
Downloaded 139 times
Thu Jan 06, 2011 5:40 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.