![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm having an issue with InstanceBeginRepeat in design view in DWMX templates. If the region is within an positioned block the region icons are inaccessible. There are forms of this. If the position is added to the table tag, a "cross-arrow" cursor appears over the region icons which are inactive. If I place the table within a DIV tag and add the position style to the DIV, then a "circle with line" cursor appears. Here's a sample of the code block from the template: !-- InstanceBeginEditable name="LinksDweezil" -- table style="position:relative;top:309px; left:30px; height:300px; width:170px" border="0" cellspacing="0" cellpadding="0" !-- TemplateBeginRepeat name="QuestionLinks" -- tr td><!-- TemplateBeginEditable name="Link" --> <!-- TemplateEndEditable --></td /tr !-- TemplateEndRepeat -- /table !-- InstanceEndEditable -- An instance of this template repeat region is then uneditable in design view... However, if you use the menu it works. For example, Modify/Templates/Repeating Entries/New Entry at End Works. Is this a know bug? Is there a workaround? Any help would be appreciated, - Paul |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi, There's no reason that I would apply styles to a table either. I was looking for a workaround to this issue and simply tried everything I could think of. In general we assign CSS styles to the DIV class. As noted before this doen't work either in the cotext of the repeating region. BTW, I bought your book... Thanks, Paul. |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
The bug in CSS styles in DHTML is really going to make this hard. Any ideas? |
|
You're welcome. I read the section on passthrough several times. Then I saw in one of your responses in this forum that you wouldn't use it. You should have said that in the book! Ah, well... I'm trying to recode in Dreamweaver a set of templates that are currently functional in ColdFusion. I'm finding that they really don't map very well between the two applications. In particular, I can do the kinds of inheritance in DW that I am accustomed to doing in CF and other object languages. This makes reusablity of code a bit difficult. The library is useless for us. Template nesting works, but is strictly one to one... one child to parent. I really want siblings. So, I've flattened the design out to a base layer template, a compenent layer child (with lots of conditionals) and the actual template layer. This is beginning to work. However, the way that I was differentiating the different components was to apply CSS styles in the template layer. This way I can have different functionality and placement on things like buttons. The bug in CSS styles in DHTML is really going to make this hard. Any ideas? Paul. |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
Thanks again for the reply. It might make more sense if you had an idea of *what* we build... I work for an eLearning software company. The evolution of the software is to move from CD-ROM applications to DHTML on an intranet. The design of the software is constrained by being limited to a fixed window size. There is no page scrolling. (Mostly this is a result of client expectation. A scrolling webpage doesn't feel like an application.) Therefore, we use positioned components extensively. A component might be text or a list of responses to a situation that a learner can choose from (like a multiple choice question), or a list of links. It's these links that I need the repeating region for. Believe me, I'm using everything the template logic can offer. I had an idea in writting this though. What I've been calling components are part of our own library of items that we include on a page. These we have written in whatever language the templates are in... C, Python, Java, CF, etc. However, I could mix Flash in with these Dreamweaver templates and add Flash components. I can't imagine what the developer interface would be though. I've probably made this more, rather than less confusing. You should know though that the eLearning industry is going heavily to the web. This is in part dictated by the current standard for tracking, SCORM. So, it would be great to have a way to build SCORM client web-based courses in Dreamweaver. Thanks, Paul |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
Thanks, for your help. I will follow-up with the development team. As always, the project is needed immediately. So, I'll come up with a solution using what I've got. |
![]() |
| Thread Tools | |
| Display Modes | |
| |