Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
jdku #1
Optional Region leaves white space
I have a number of optional regions in a template, basically allows a user to
have up to 10 items per month for each month of the year two years in a row.
The problem is that if a user hasn't selected anything for, say, January or
February of either year, then adds something in March, when the item appears on
the page there is a huge amount of white space above the item they've added
where contribute seems to be leaving space for the 20 items that the user has
not selected to show!!
is it possible to remove this space or is there a better way to do what I'm
trying?
jdku Guest
-
How do I stop users from showing an optional region?
I have an optional region in my template that shows a landing page banner. I can turn it on and off in the template properties box. Is there a way... -
White Space Management
Digging through the web trying to solve some white space issues, i stumbled upon the CF Administrator setting in CFMX7 called White Space Management... -
Logo on Web - White Space
Using a corporate logo on my web page. It's a TIF. I can change the color of the logo graphic (round, but on the web page the logo displays on a... -
Trim White Space
I imported a bitmap with white spaces at the borders whithout trimming it. That's right, it's gone fine, i have my image with the white spaces. But... -
Getting rid of white space...
are you speaking of this? use strict; while(my $line = <>) { ($line) = ($line =~ /^\s*(.*)\s*\n$/); print($line."_nice/n"); } -----Original... -
Murray *TMM* #2
Re: Optional Region leaves white space
The whitespace shows at design time, but not at run time, right?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"jdku" <webforumsuser@macromedia.com> wrote in message
news:d5ahjc$ejf$1@forums.macromedia.com...>I have a number of optional regions in a template, basically allows a user
>to
> have up to 10 items per month for each month of the year two years in a
> row.
> The problem is that if a user hasn't selected anything for, say, January
> or
> February of either year, then adds something in March, when the item
> appears on
> the page there is a huge amount of white space above the item they've
> added
> where contribute seems to be leaving space for the 20 items that the user
> has
> not selected to show!!
>
> is it possible to remove this space or is there a better way to do what
> I'm
> trying?
>
Murray *TMM* Guest
-
jdku #3
Re: Optional Region leaves white space
no the other way round. At run time it leaves the space. Macromedia support said it had something to do with the editable regions being within <TR> tags but i've moved them round and still no joy.
jdku Guest
-
Murray *TMM* #4
Re: Optional Region leaves white space
Who at tech support told you that?
When the option regions are evaluated, and found to be 'false', DW *does*
leave whitespace in the code, but this should not leave corresponding space
in the browser rendering of the page. You're saying that it *does* leave
that space in the browser?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"jdku" <webforumsuser@macromedia.com> wrote in message
news:d5qfr2$m2h$1@forums.macromedia.com...> no the other way round. At run time it leaves the space. Macromedia
> support said it had something to do with the editable regions being within
> <TR> tags but i've moved them round and still no joy.
Murray *TMM* Guest
-
jdku #5
Re: Optional Region leaves white space
I'm not sure but it's now been escalated to someone else. They've also said the
same thing. Something to do with the <TR> tags not being inside the template
begin if statements.
Yes it does leave the white space. They've told me to use optional regions
instead but haven't looked into them yet.
jdku Guest
-
Murray *TMM* #6
Re: Optional Region leaves white space
<sigh>
Show me the code for one of these optional regions (from your template) and
its context, please.
It sounds like the two of you are talking past each other.
I'm still not clear on the problem, though - is the whitespace affecting the
browser display?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"jdku" <webforumsuser@macromedia.com> wrote in message
news:d5sdls$i14$1@forums.macromedia.com...> I'm not sure but it's now been escalated to someone else. They've also
> said the
> same thing. Something to do with the <TR> tags not being inside the
> template
> begin if statements.
>
> Yes it does leave the white space. They've told me to use optional regions
> instead but haven't looked into them yet.
>
Murray *TMM* Guest
-
jdku #7
Re: Optional Region leaves white space
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="3" SUMMARY="begin
january table">
<!-- TemplateBeginIf cond="AAAoptJan01" --><TR>
<TD><SPAN CLASS="mainTxtBold"><!-- TemplateBeginEditable
name="editDateJan01" -->January (Insert year. eg 05 or 2005)<!--
TemplateEndEditable --></SPAN><!-- TemplateEndIf --><BR>
<!-- TemplateBeginIf cond="AABoptJan01Seminar01" -->
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%"
SUMMARY="begin seminar 01 table">
<TR>
<TD WIDTH="15%" CLASS="mainTxt"><!-- TemplateBeginEditable
name="JanDate01" -->insert date here eg 01st, 23rd <!-- TemplateEndEditable
--></TD>
<TD WIDTH="70%"><!-- TemplateBeginEditable name="JanTitle01"
-->Insert title of seminar here & make it a link to the full description
page<!-- TemplateEndEditable --></TD>
<TD WIDTH="15%" CLASS="mainTxt"><!-- TemplateBeginEditable
name="JanPrice01" -->Insert price here <!-- TemplateEndEditable --></TD>
</TR>
<TR>
<TD COLSPAN="3" CLASS="mainTxt"><!-- TemplateBeginEditable
name="JanShortDesc01" -->Insert a short description of the seminar / event
here. Try to keep it around a paragraph in length <!-- TemplateEndEditable
--></TD>
</TR>
<TR>
<TD HEIGHT="1" BGCOLOR="#009966" COLSPAN="3"><img
SRC="../images/Spacer.gif" ALT="*" WIDTH="1" HEIGHT="1"></TD>
</TR>
</TABLE>
</TD>
</TR><!-- TemplateEndIf -->
<!-- TemplateBeginIf cond="AACoptJan01Seminar02" --><TR>
<TD>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%"
SUMMARY="begin seminar 02 table">
<TR>
<TD WIDTH="15%" CLASS="mainTxt"><!-- TemplateBeginEditable
name="JanDate02" -->insert date here eg 01st, 23rd <!-- TemplateEndEditable
--></TD>
<TD WIDTH="70%"><!-- TemplateBeginEditable name="JanTitle02"
-->Insert title of seminar here & make it a link to the full description
page<!-- TemplateEndEditable --></TD>
<TD WIDTH="15%" CLASS="mainTxt"><!-- TemplateBeginEditable
name="JanPrice02" -->Insert price here <!-- TemplateEndEditable --></TD>
</TR>
<TR>
<TD COLSPAN="3" CLASS="mainTxt"><!-- TemplateBeginEditable
name="JanShortDesc02" -->Insert a short description of the seminar / event
here. Try to keep it around a paragraph in length <!-- TemplateEndEditable
--></TD>
</TR>
<TR>
<TD HEIGHT="1" BGCOLOR="#009966" COLSPAN="3"><img
SRC="../images/Spacer.gif" ALT="*" WIDTH="1" HEIGHT="1"></TD>
</TR>
</TABLE>
</TD>
</TR><!-- TemplateEndIf -->
if the user selects 1 event (theres a max of 10) in Jan (theres 12 months)
then I publish the page, IE, Dreamweaver, Contribute or all 3 are leaving the
space for the other 9 events for Jan and the space for the other 11 months. so
what you get is one event and a whole heap of scrolling empty page!
This prob. isn't the best way to do this but anyway. You might want to cut the
code into something else to make it more readable!
jdku Guest
-
jdku #8
Re: Optional Region leaves white space
sorry to answer your other question, the problem isn't effecting the browser
display as such, it's just the people who have asked for this don't want the
white space and scrolling for no reason, which is understandable as it doesn't
look good.
jdku Guest
-
Murray *TMM* #9
Re: Optional Region leaves white space
That's a FOL, or 'fact of life' I'm afraid.
As long as it doesn't affect the browser's rendering of the page, I don't
think there will be much motivation to fix it....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"jdku" <webforumsuser@macromedia.com> wrote in message
news:d5t2uv$mhl$1@forums.macromedia.com...> sorry to answer your other question, the problem isn't effecting the
> browser
> display as such, it's just the people who have asked for this don't want
> the
> white space and scrolling for no reason, which is understandable as it
> doesn't
> look good.
>
Murray *TMM* Guest



Reply With Quote

