Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 02-28-2009, 10:28 PM Dreamweaver Error
Junior Talker

Posts: 3
Name: Altaf Wahid
Trades: 0
Hi, I'm new to Dreamweaver and have been experimenting with it a bit. I'm a little stuck right now, I keep getting this error:
There is an error at like 69, column 75 (absolute position 3204) of "C:\Users\Altaf Wahid\Documents\Your Dream Site\Test.html": Nested editable regions
I created a template and then created a page which i called test.html using the template. It's this page that's causing the problem. Here's my code. I emboldened line 69

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><body><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link rel="stylesheet" href="Images/Template/emx_nav_left.css" type="text/css" />
<script type="text/javascript">
<!--
var time = 3000;
var numofitems = 7;

//menu constructor
function menu(allitems,thisitem,startstate){
callname= "gl"+thisitem;
divname="subglobal"+thisitem;
this.numberofmenuitems = allitems;
this.caller = document.getElementById(callname);
this.thediv = document.getElementById(divname);
this.thediv.style.visibility = startstate;
}

//menu methods
function ehandler(event,theobj){
for (var i=1; i<= theobj.numberofmenuitems; i++){
var shutdiv =eval( "menuitem"+i+".thediv");
shutdiv.style.visibility="hidden";
}
theobj.thediv.style.visibility="visible";
}

function closesubnav(event){
if ((event.clientY <48)||(event.clientY > 107)){
for (var i=1; i<= numofitems; i++){
var shutdiv =eval('menuitem'+i+'.thediv');
shutdiv.style.visibility='hidden';
}
}
}
// -->
</script>
</head>
<div class="skipLinks">skip to: <a href="#content">page content</a> | <a href="#pageNav">links on this page</a> | <a href="#globalNav">site navigation</a> | <a href="#siteInfo">footer (site information)</a> </div>
<div id="masthead">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="utility"> <a href="#">Utility Link</a> | <a href="#">Utility Link</a> | <a href="#">Utility Link</a> </div>
<div id="globalNav"> <img alt="" src="Images/Template/gblnav_left.gif" height="32" width="4" id="gnl" /> <img alt="" src="Images/Template/glbnav_right.gif" height="32" width="4" id="gnr" />
<div id="globalLink"> <a href="#" id="gl1" class="glink" onmouseover="ehandler(event,menuitem1);">Home</a><a href="#" id="gl2" class="glink" onmouseover="ehandler(event,menuitem2);">News</a><a href="#" id="gl3" class="glink" onmouseover="ehandler(event,menuitem3);">Blog</a><a href="#" id="gl4" class="glink" onmouseover="ehandler(event,menuitem4);">Forum</a><a href="#" id="gl5" class="glink" onmouseover="ehandler(event,menuitem5);">Feedback</a><a href="#" id="gl6" class="glink" onmouseover="ehandler(event,menuitem6);">Contact Us</a></div>
<!--end globalLinks-->
<form id="search" action="">
<input name="searchFor" type="text" size="10" />
<a href="">search</a>
</form>
</div>
<!-- end globalNav -->
</div>
</div>
<!-- end masthead -->
<div id="pagecell1">
<!--pagecell1-->
<img alt="" src="Images/Template/tl_curve_white.gif" height="6" width="6" id="tl" /> <img alt="" src="Images/Template/tr_curve_white.gif" height="6" width="6" id="tr" />
<div id="breadCrumb"></div>
<div class="feature"><!-- InstanceBeginEditable name="edit_region_1" -->
<p><img src="Images/warren_buffet.jpg" alt="warren_buffet" width="340" height="248" />ddfsd</p>
<p style="color: #000000; font-size: 36pt">
<label><a href="http://us.rd.yahoo.com/finance/finhome/topstories/apf;_ylt=AlBXg8PAZ7QDH7OtpZ2QS8RO7sMF/*http://biz.yahoo.com/ap/090228/buffett_letter.html"><strong>Berkshire has worst year, Buffett still optimistic</strong></a></label>
</p>
<p style="font-size: 14pt">Warren Buffett says the economic turmoil that contributed to a 62 percent profit drop last year at the holding company he controls is certain to continue in 2009, but the revered investor remains optimistic.</p>
altaf.wahid is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-28-2009, 11:35 PM Re: Dreamweaver Error
Junior Talker

Posts: 3
Name: Altaf Wahid
Trades: 0
Here's the code from the original template. Again, I emboldened line 69.

</div>
<!-- end masthead -->
<div id="pagecell1">
<!--pagecell1-->
<img alt="" src="../Images/Template/tl_curve_white.gif" height="6" width="6" id="tl" /> <img alt="" src="../Images/Template/tr_curve_white.gif" height="6" width="6" id="tr" />
<div id="breadCrumb"></div>
<div class="feature"><!-- TemplateBeginEditable name="edit_region_1" -->
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<!-- TemplateEndEditable --></div></div>
<!-- end masthead -->
<div id="pagecell1">
<!--pagecell1-->
<img alt="" src="../Images/Template/tl_curve_white.gif" height="6" width="6" id="tl" /> <img alt="" src="../Images/Template/tr_curve_white.gif" height="6" width="6" id="tr" />
<div id="breadCrumb"></div>
<div class="feature"><!-- TemplateBeginEditable name="edit_region_1" -->
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<!-- TemplateEndEditable --></div>
altaf.wahid is offline
Reply With Quote
View Public Profile
 
Old 03-01-2009, 07:19 AM Re: Dreamweaver Error
jesi's Avatar
Extreme Talker

Posts: 153
Trades: 0
I think you copied this coding from any one's website from Source page.
It will not better for you, just make a template urself
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

jesi is offline
Reply With Quote
View Public Profile Visit jesi's homepage!
 
Old 03-02-2009, 06:48 PM Re: Dreamweaver Error
Junior Talker

Posts: 3
Name: Altaf Wahid
Trades: 0
Actually, I used one of the default templates that came with Dreamweaver and tried changing it around. And that wasn't helpful. Thanks.
altaf.wahid is offline
Reply With Quote
View Public Profile
 
Old 03-03-2009, 09:33 AM Re: Dreamweaver Error
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Well, the error is pretty self-explanatory, really, you have TWO editable regions defined and DW doesn't like it.

The first one is here:
Quote:
<html xmlns="http://www.w3.org/1999/xhtml"><body><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" >
Then you have the second one here:
Quote:
<div class="feature"><!-- InstanceBeginEditable name="edit_region_1" -->
It's one or the other, you'll have to re-think the editable regions.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Dreamweaver Error
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24113 seconds with 12 queries