Jump to content
Sign in to follow this  
n2singing

can you place spuds together side by side instead of stacked?

Recommended Posts

Hi,

 

I'm trying to have the calendar view list spud and the search spud appear next to each other on my calendar page (just to take up less vertical real estate). However, they always come out stacked, one on top of the other. I've tried to put the javascript in a <TABLE> layout using 2 cells <TD> next to each other in the same row, but it seems that the javascript must "spit out" a carriage return or something.

 

Thanks for any help.

 

Bobby B.

 

Los Angeles, CA

Edited by n2singing

Share this post


Link to post
Share on other sites
Guest Adam

Hi Bobby B.,

 

I was able to get this to work, using the method that you described. It looked something like this:

<table>
<td> 
<spud script> main calendar spud here
</script> 
</td> 

<td> 
<spud script> insert search spud here
</script>
</td>
</table>

 

It sounds like you're on the right track. If this still isn't working for you, if you'd like to share your URL here, I'd be happy to investigate.

 

Hope this helps,

 

Adam

Trumba Support

Share this post


Link to post
Share on other sites

Hi Bobby B.

 

You might also want to try using divs instead of a table to line up your spuds.

 

For example to line up a calendar list and search spud, you might use two divs like this:

 

<div style="width:160px;float:left">
<script type="text/javascript" src="http://www.trumba.com/scripts/spuds.js"></script>
<script type="text/javascript">
$Trumba.addSpud({
webName: "yourcalendarswebname",
spudType : "mix" });
</script>
</div>

<div style="width:160px;padding-left:180px;">
<script type="text/javascript" src="http://www.trumba.com/scripts/spuds.js"></script>
<script type="text/javascript">
$Trumba.addSpud({
webName: "yourcalendarswebname",
spudType : "searchlabeled" });
</script>
</div>

 

Where it says yourcalendarswebname just make sure your calendar's name is inserted. You don't have to stick with the exact width or padding amounts that I've added here but this gives you an idea of how you might set up the divs.

 

Just another approach.

Connie

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  

×