You need to get the <con:container> out of the cfoutput.

So...

.. 
<td valign="top" width="605"></cfoutput>
<con:container label="#stobj.objectID#_banner">
<cfoutput>
..

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jaci
> Sent: Wednesday, May 23, 2007 6:19 AM
> To: farcry-dev
> Subject: [farcry-dev] Re: Making banners
> 
> 
> Here is the code surrounding my container:
> 
> <cfoutput>
> <table width="790" cellpadding="0" cellspacing="0" 
> border="0"> <tr><td colspan="2" height="1"></td></tr> <tr 
> height="210"><td valign="top" width="185"><div 
> id="home-sidebar"> <cfmodule 
> template="/farcry/#application.applicationname#/webskin/
> includes/dmLCC_Sidebar.cfm"></div></td>
> <td valign="top" width="605"><con:container 
> label="#stobj.objectID#_banner"></td></tr>
> <tr><td colspan="2" height="1" bgcolor="##333333"></td></tr> 
> </table> </cfoutput>
> 
> Here is the template the container is using:
> <cfoutput><cfif isdefined("stObj.imageID") and 
> len(stObj.imageID)> <a 
> href="#stObj.link#"><widge:imageDisplay objectid="#stObj.imageID#"
> alt="#stObj.title#" ImageSize="original" bFailToTitle="false"
> class="border-px"></a></div></cfif></cfoutput>
> 
> As you can see there are no stray spaces...what am I missing.
> 
> Also as far as upgrading to 4.0 how does that work when you 
> already have a site up and running.  What kind of things will 
> be affected?
> 
> Thanks
> Jaci
> 
> 
> On May 22, 6:58 pm, modius <[EMAIL PROTECTED]> wrote:
> > On May 22, 11:59 pm, Jaci <[EMAIL PROTECTED]> wrote:
> >
> > > I have created images and associated them with a category I then 
> > > created a container and using the random fact rule and a custom 
> > > template call the images within the category and randomly display.
> >
> > > Question1 is there a better way to make and random banner with 
> > > associated link within farcry.
> >
> > You could build your own.  This is *very* easy in 4.0.  See a 
> > straightforward code example 
> here:http://docs.farcrycms.org:8080/confluence/display/FCDEV40
> /Sample+Prom...
> >
> > > Question2 and more and importantly.  There seems to be 
> about a 2px 
> > > width space under the banner. I have a pretty tight design and I 
> > > need to get rid of this.  I've tightened up all my code 
> but I think 
> > > this is part of the container call. Does anyone have any ideas?
> >
> > Post a code snippet of your container and a couple of lines 
> above and 
> > below it.  Post a code snippet of the resulting HTML.  The 
> 2px space 
> > might simple extraneous whitespace in the output.
> >
> > -- geoffhttp://www.daemon.com.au/
> 
> 
> > 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to