Forums
|
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Elements moving around the page
| Author |
Message |
|
tristan2036
Joined: Tue Nov 06, 2012 7:33 pm Posts: 2
|
 Elements moving around the page
I am using CSS3 Pie and the elements move around all over the page when I scroll up and down. It also seems to add width to some elements too. What am I doing wrong? I have tried the z-index: 1 and position: relative and it does not work. Thanks
|
| Tue Nov 06, 2012 7:58 pm |
|
 |
|
rulernature
Joined: Tue Nov 29, 2011 1:26 am Posts: 38
|
 Re: Elements moving around the page
you'l need to use detach every time when the dom is modified and apply again pie, I'm using js version and in project I have wicket that draws me the elements and I have fixed that with this function: window.document.ready = function(){ Wicket.Ajax.registerPostCallHandler(pieStarter); } function pieStarter(){ if (window.PIE) { go(); } } function go(){ $('.class1,.class2,#id3').each(function(){ PIE.detach(this); }); $('.class1,.class2,#id3').each(function(){ PIE.attach(this); }); }
You can replace function how you need. hope it helps:)
|
| Fri Nov 09, 2012 3:25 am |
|
 |
|
tristan2036
Joined: Tue Nov 06, 2012 7:33 pm Posts: 2
|
 Re: Elements moving around the page
How do i use this? Thanks
|
| Sat Nov 17, 2012 6:18 pm |
|
 |
|
rulernature
Joined: Tue Nov 29, 2011 1:26 am Posts: 38
|
 Re: Elements moving around the page
are you using css3pie javascript version?
|
| Tue Dec 04, 2012 1:40 am |
|
 |
|
GirlKillu
Joined: Wed Mar 02, 2011 7:30 am Posts: 14
|
 Re: Elements moving around the page
|
| Thu Dec 13, 2012 4:19 am |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: Bing [Bot], Google [Bot] and 2 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
|
|