Jump to content
Sign in to follow this  
ferg

change width of embedded calendar

Recommended Posts

Hi there -

Our webmaster has embedded a published calendar on our organization's web-site. Is there an easy way to increase the width of the embedded calendar?

 

Thanks.

Share this post


Link to post
Share on other sites

Hi ferg,

The easiest way is to embed the calendar into a table for which you can define a specific width. Let me know if you want me to elaborate.

 

Jill / Trumba UA

Share this post


Link to post
Share on other sites

I assume that works top to bottm also?

 

Hi ferg,

The easiest way is to embed the calendar into a table for which you can define a specific width. Let me know if you want me to elaborate.

 

Jill / Trumba UA

Share this post


Link to post
Share on other sites

Hi igenr8,

I'm sorry I lost track of your post and didn't answer it Monday! I don't think this works with a table cell, or if it does, I haven't found the attributes that allow it. For restricting the height, instead of a table, you could try embedding the calendar inside a div something like this (with whatever width and height settings or additional attributes you want, such as a border or padding):

 

<div style="line-height:100%;width:650px;height:300px;overflow:scroll;">

<script type="text/javascript" language="javascript" src="http://www.trumba.com/k.aspx?calendar=yourcalendar"> </script>

</div>

 

I haven't had a huge amount of experience using this particular code, but it's worked for me the times I've tried it. If anyone else has any other tips, please feel free to chime in! Hope this helps.

 

Jill / Trumba UA

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×