Link to home
Start Free TrialLog in
Avatar of harrismarkc
harrismarkc

asked on

Need advice regarding "nested editable regions" error apparently associated with nav bar library item

I'm working on a learning topic web project for a graduate course. I'm not a programmer, so when the semi-automated features of DW glitch, my code anlalysis skills are limited. I'm using a DW MX 2004 master template (no sub-templates yet). I created a navigation bar using the DW Insert > Image Objects > Navigation Bar menu selection. The template worked very well until, after having worked with it a couple of days, edited the nav bar (which I had added to the Library). I added a new button (with rollover images, like the other buttons). After doing this, I was unable to update the change to pages based on the template. I am also unable to save the template. Removing the new button from nav bar item does not fix the problem. Unfortunately, I had already saved the the change to the existing nav bar item, so I can't re-apply the previous nav bar.

The error window reads, "There is an error at line 99, column 604 (absolute position 5393) of <the file path to the template file>: Nested editable regions."

The line of code reads: <!-- #BeginLibraryItem "/Library/navbar1.lbi" --><body onLoad="MM_preloadImages('../images/btn-lessons-3.gif','../images/btn-lessons-2.gif','../images/btn-lessons-4.gif','../images/btn-extras-3.gif','../images/btn-extras-2.gif','../images/btn-extras-4.gif','../images/btn-links-3.gif','../images/btn-links-2.gif','../images/btn-links-4.gif','../images/btn-credits-3.gif','../images/btn-credits-2.gif','../images/btn-credits-4.gif','../images/btn-system-3.gif','../images/btn-system-2.gif','../images/btn-system-4.gif','../images/btn-home-3.gif','../images/btn-home-2.gif','../images/btn-home-4.gif')"><table border="0" cellpadding="0" cellspacing="8">

As a non-programmer, the only thing I notice that may be missing are the references to the first (initial state) images for each button. I see images 2, 3 and 4 for each button. I checked the library item (nav bar). It clearly indicates four images are associated with each button. I checked that all the images actually exist (they do) at the indicated paths. The images all display properly if viewed separately in the browser window.

Other potentially useful info: I created the site layout in Fireworks MX 2004 and exported to DW MX. In the template, I created a layer (not an editable region) in which to place the nav bar. I didn't want users to be able to change the nav bar. The only editable region is the main layout area. There is no overlap between the nav bar layer and editable region.

I have found no discussion of this error on the Macromedia site or in this forum.

In assigning difficulty, I'm giving this a high importance value because this project has to be ready for the professor to evaluate as of 6:00 EST, 8 Dec 03. Besides that personal timeline, I would like to know for the sake of expertise. Thanks.

Mark Harris (harrismarkc)
Nova Southeastern University
ASKER CERTIFIED SOLUTION
Avatar of Zeffer
Zeffer
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial