Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
VVebbie #1
Fixing Repeatable Region Display Glitches
Over the last two days I have been attempting to address a glitch where
Contribute incorrectly renders the controls for repeatable regions.
The situation in question involved a free-flowing CSS layout, and attempting
to apply a repeatable region to a set of cascading nested divs defining a
container. The problem is that the repeatable region controls render at the
edge of the content box of the innermost div, resulting in overlapping
containers, borders - it's just generally a mess. Results were better in
Dreamweaver, but not ideal.
What I believe is happening is that Contribute latches onto the first element
it is capable of editing to define the borders of the region, and accomodates
anything else at the same level. This isn't such a bad approach for regular
editable regions, as typically they are used exclusively for text editing; and
should work fine for table layouts, however with a CSS layout, it doesn't work
so well.
The solution I found was to insert a text element before and after the outer
div of the element causing me grief.
A span element with a non-breaking space HTML entity inside of it will work
fine; then you give it a class of contribute_block and set:
height: 0px;
overflow: hidden;
visibility: hidden;
And you should be good to go.
<!-- TemplateBeginRepeat name="Sub Section" -->
<div class="manual_template_infobox">
<div class="manual_template_infobox_t"><div
class="manual_template_infobox_r"><div class="manual_template_infobox_b">
<div class="manual_template_infobox_tl"><div
class="manual_template_infobox_tr"><div class="manual_template_infobox_br"><div
class="manual_template_infobox_bl">
================================================== ==============
<!-- TemplateBeginRepeat name="Sub Section" -->
<span class="contribute_block"> </span>
<div class="manual_template_infobox">
<div class="manual_template_infobox_t"><div
class="manual_template_infobox_r"><div class="manual_template_infobox_b">
<div class="manual_template_infobox_tl"><div
class="manual_template_infobox_tr"><div class="manual_template_infobox_br"><div
class="manual_template_infobox_bl">
...
</div></div></div></div></div></div></div>
</div>
<span class="contribute_block"> </span>
<!-- TemplateEndRepeat -->
==============================================
span.contribute_block
{
border: none;
color: transparent;
font-size: 0px;
height: 0px;
margin: 0px;
overflow: hidden;
padding: 0px;
visibility: hidden;
}
VVebbie Guest
-
I know we can set max image width, but I need to set itby region. Region A has one max width; Region B another.
We can already set a maximum image width for use globally, throughout every page. Can we do it by region? This way one region can have a max... -
Contribute Repeating Region Glitches
I'm having a problem with Contribute Repeating Regions that I've not found dicussed/documented anywhere. This is NOT the problem documented... -
Repeating Region Breaks HTML Page Display
Unlike many other users, my repeating region mini-controls work. However, using the "+" button to make a new repeating row via Contibute (seems to... -
repeatable randomness
The question is a bit confusing but here's an idea... Not sure if that's what you want ; To have flash randomly pick preset numbers let's say 12,... -
repeatable randomness
Hi I tried to search for this answer, but can't find it I need to generate a few hundred random numbers, but every time I load the resulting...



Reply With Quote

