CalendarXP.net Support Forum Index CalendarXP.net Support
Most forums here are private and invisible to public.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Additional Style Setting

 
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> FlatCalendarXP Related
View previous topic :: View next topic  
Author Message
amcgibbon



Joined: 29 Dec 2009
Posts: 13

PostPosted: Mon Jan 04, 2010 5:24 pm    Post subject: Additional Style Setting Reply with quote

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
View user's profile Send private message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Mon Jan 04, 2010 7:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
amcgibbon



Joined: 29 Dec 2009
Posts: 13

PostPosted: Mon Jan 04, 2010 7:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Mon Jan 04, 2010 10:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
amcgibbon



Joined: 29 Dec 2009
Posts: 13

PostPosted: Mon Jan 04, 2010 10:20 pm    Post subject: Reply with quote

I'm not finding the gbShrink2fit entry in the plugins.js file.
Back to top
View user's profile Send private message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Mon Jan 04, 2010 11:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
amcgibbon



Joined: 29 Dec 2009
Posts: 13

PostPosted: Thu Jan 07, 2010 10:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Fri Jan 08, 2010 12:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> FlatCalendarXP Related All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Copyright 2003- Idemfactor Solutions, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group