Forums
View unanswered posts | View active topics It is currently Mon Apr 21, 2014 6:24 am



Reply to topic  [ 4 posts ] 
 PIE elements moving on screen 
Author Message

Joined: Tue May 01, 2012 8:12 am
Posts: 6
Post PIE elements moving on screen
Currently I am using PIE in a page that uses a javascript swap content using "display:none." I'm finding that if I switch to a different section that also uses PIE, when I go back to the first section the PIE elements are now floating up off to the top left. This corrects itself when I resize the browser window.

How can I avoid having this happen? Users need to be able to go between sections.

I've tried with and without position:relative on all the PIE elements but that did not correct it.


Tue May 15, 2012 9:17 am
Profile

Joined: Mon Apr 11, 2011 4:54 pm
Posts: 53
Post Re: PIE elements moving on screen
First off, try using visibility: hidden/visible instead of display: none/block etc. as this will allow PIE to get metrics and position information on your element. If that doesn't help, you might need to tell PIE when the elements move.


Tue May 15, 2012 10:06 pm
Profile

Joined: Tue May 01, 2012 8:12 am
Posts: 6
Post Re: PIE elements moving on screen
Thank you.

Unfortunately I don't know JavaScript. The best I can manage is to tweak (or break) something. :oops: Assuming I did it right then changing it to use Visibility instead of Display didn't work. But that means that I don't know how to use what is in the examples on that page. :(


Thu May 17, 2012 8:43 am
Profile

Joined: Tue May 01, 2012 8:12 am
Posts: 6
Post Re: PIE elements moving on screen
I reread the documentation and tried forcing the polling on for those elements that get hidden. It helps. Those elements still show up out of place for about half a second but then they correct themselves.


Fri May 18, 2012 7:06 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot] and 3 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.