Forums
View unanswered posts | View active topics It is currently Wed Jul 30, 2014 7:20 pm



Reply to topic  [ 2 posts ] 
 PIE styles dont render until browser is resized by a hair 
Author Message

Joined: Wed Mar 13, 2013 10:10 am
Posts: 1
Post PIE styles dont render until browser is resized by a hair
I just started using PIE recently and am pleased with it - to a degree.

I use very simple shadow boxes or radius corners around elements with position:relative-styled parents, as the instructions suggest. And yes the elements do pick up the styles - sometimes. When they don't I have to resize the browser just a pixel and then the styles appear. But its very inconsistent. I'm using IE 8. If I knew of a way to force a rerender in the onload event I could live with that to force a redraw.

Any suggestions?


Wed Mar 13, 2013 10:16 am
Profile

Joined: Wed Mar 27, 2013 6:55 am
Posts: 1
Post Re: PIE styles dont render until browser is resized by a hai
I've had that problem as well, but only when there are nested divs on which pie is applied.
And when refreshing, it didn't work all of the time in Internet Explorer.
But when you remove the behavior of an element and add the pie back on, it does work. And if you want to get all of the IDs in the div page for example you can do:

var IDs = [];
$("#page").find("div").each(function(){ IDs.push(this.id); });
$.each(IDs, function(index, value) {
$('#' + value).css('behavior','none');
$('#' + value).css('behavior','url("pie/PIE.php")');
});

Hopefully this works :)

Grtz,
David


Wed Mar 27, 2013 7:00 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 4 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.