View previous topic :: View next topic |
Author |
Message |
amcgibbon
Joined: 29 Dec 2009 Posts: 13
|
Posted: Mon Jan 04, 2010 5:24 pm Post subject: Additional Style Setting |
|
|
On this page:
http://www.jalc.org/RR/bands/overview.asp
The calendar appears to be causing the left navigation to jump a bit when the page loads.
There appears to be two sources for height and width. One of those sources is in the iframe itself. Why are there two height and width settings and where is the second one set?
Many thanks in advance for your help.
Andy
|
|
Back to top |
|
|
calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Mon Jan 04, 2010 7:29 pm Post subject: |
|
|
The jump is caused due to some months has 5 rows while the others has 4 rows.
It can be fixed by setting the gbShrink2fit option to false in the plugins.js.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|
Back to top |
|
|
amcgibbon
Joined: 29 Dec 2009 Posts: 13
|
Posted: Mon Jan 04, 2010 7:33 pm Post subject: |
|
|
Thanks for your prompt reply. We are going to change the subnav below it to an absolute position, hopefully that will clear this up. What is the upshot of changing that setting?
|
|
Back to top |
|
|
calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Mon Jan 04, 2010 10:09 pm Post subject: |
|
|
You need to measure it by yourself as different theme has different size on different browser.
The safe play is to put the calendar iframe tag into a pre-sized DIV. e.g. you may use a styled height on that DIV so that it's large enough to accommodate the calendar with the most rows. Absolute positioning should be avoided if possible.
Code: | <div style="height:300px">
<iframe ...></iframe>
</div> |
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|
Back to top |
|
|
amcgibbon
Joined: 29 Dec 2009 Posts: 13
|
Posted: Mon Jan 04, 2010 10:20 pm Post subject: |
|
|
I'm not finding the gbShrink2fit entry in the plugins.js file.
|
|
Back to top |
|
|
calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Mon Jan 04, 2010 11:55 pm Post subject: |
|
|
Sorry, this option should be located in the theme-name.js file not plugins.js. e.g. for mini theme, it should be in the mini.js.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|
Back to top |
|
|
amcgibbon
Joined: 29 Dec 2009 Posts: 13
|
Posted: Thu Jan 07, 2010 10:06 pm Post subject: |
|
|
OK, I have changed this to false but am still having a problem with the items below it jumping a bit. Any other thoughts?
Thanks for your help.
|
|
Back to top |
|
|
calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Fri Jan 08, 2010 12:34 am Post subject: |
|
|
it may be due to the width of the iframe tag is too small. just set it larger pixel by pixel until there is no jump. or set a lot larger and let the calendar adjust itself.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|
Back to top |
|
|
|