Unlocking head tag in template/procedure unclear to me

Hi,
Still battling since last friday to unlock head tag in template so that i could add an accordion in a template-based doc.
I understand that in the process of creating an accordion DW cs3 has to write something like this in head: <script src= "../Accordion/SpryMenuBar.js" type="text/javascript"></script>..."
That fact i sat editable region in my template into body only make it impossible for it to do the task, hence the error message.
Now i searched in the help doc, i found a procedure "specify editable tag attributes in a template". This procedure didnt show much helpful.
This is the steps i followed:
- opened template and, in split view, i clicked anywhere inside head
- selected head tag
- modify, templates, make attribute editable
Then nothing to select, i went by guess, nothing works and the problem still remain. And my heart still broken...

By default, your template should have an editable region in it just before the closing </head> tag. It looks like this:
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
Dreamweaver should be able to find that editable region and insert the <script> tag there automatically.
If you don't have an editable region like that in the <head>, open the master template, and paste the code above just before the closing </head> tag.

Similar Messages

  • Unlock head tag

    I get an error message when trying to insert flash
    into my webpage, and yes it is a page that has come from a
    template.
    "You cannot insert this content with browser-safe scripts
    because the <head> tag is in a locked region. To insert the
    content with browser-safe scripts, open the template file.......
    and either unlock the <head> tag or add this content to the
    template."
    I want to put the flash item in the top part of the blue box
    on this page:
    Home page of
    section
    Thanks ahead for your help

    Start with a new page, not from template, and note what the
    head code looks like. Now insert the flash into that page. You
    don't need to keep the page. You just need to look at the head of
    the page in code view after inserting the flash. The new code
    inserted into the head when the flash was inserted needs to be
    added to the head of your template.
    Once the template has been modified with the newly inserted
    code try again to insert the flash into the original page in
    question. DW won't need to add code to the locked head portion of
    the page as the code it wanted to insert before will already be
    there.

  • Head tags in template generated pages, am I doing this right?

    http://www.saracenlanding.com/testpage.html
    I experienced the dreaded " ... locked by ... " error message when trying to insert keywords in a page generated by a dwt file. I went to the forum and found this information:
    http://forums.adobe.com/message/50942#50942
    So I enclosed the head in the cut, pasted and edited editable region markup and it seems to work.  Then I used the insert html>head tags>keywords to insert some keywords and that worked, but it put the keywords at the very top of the page. As I recall, the meta info is supposed to be inside the head section, so I cut and pasted the keyword markup into the head section, I had isolated with the editible markup and it seems to work.
    Not being the sharpest knife in the drawer on these matters, did I do this right? Have I set a trap for myself which will spring later on? Is there a better way? I only know to ask those who know more than I.
    Thanks in advance,
    Joe

    So, as far as setting it up - would I use the cd
    included with the Airport box or the existing apps on
    my computer?
    Use the CD. There is newer software on it.
    Does it matter which computer I set up
    first? If I do the airport setup utility on the old
    mac, will the new mac automatically recognize it when
    I turn it on?
    Both macs should connect with out a problem. It doesn't matter which you setup first.
    The other thing that was running through my head was
    that it would actually be nicer to put the Airport
    base station in my office (reduce the clutter of
    stuff in the living room), but since the old mac
    doesn't have a wireless card (and I don't even know
    if I can get one anymore), is there some kind of USB
    adapter that would work to access the signal? I've
    seen a bunch of them, but most of the reviews say
    they're not very mac-friendly.
    You probably won't find a mac USB adapter becuase there usually aren't mac drivers. You could bring the old computer to the Apple Store and they can install a wireless card in there.
    15 PMB C2 Duo   Mac OS X (10.4.8)   PPC Mac Mini

  • UI Template Substitution tags in a procedure

    Version: 10.1.4
    Is it possible to use Substitution tags in a procedure and call the procedure with in the UI template?
    So the UI template will be:
    <ORACLE>
    BEGIN
    Schema.procedureName;
    END;
    </ORACLE>
    The procedure will be:
    PROCEDURE procedureName as
    BEGIN
    htp.p('#USER.FULLNAME#');
    END;
    This way all the logic can be built in the procedure (taking advantage of the Substitution tags).
    When I tried the above the Substitution tag is not rendered as it supposed to (display the User Full Name), but just displays it as raw HTML.
    Is it possible/viable to use Substitution tags outside UI Templates?
    Thanks.

    The specific example you are asking about could also be implemented without substitution tags. The following is from a pl/sql item I added in my footer. Hope it's of use to you:
    declare
    l_person_rec wwsec_person%rowtype;
    begin
    htp.print('<div class=PortletText1>');
    l_person_rec := wwsec_api.person_info( wwctx_api.get_user_id() );
    if (l_person_rec.first_name = 'PUBLIC') then
       htp.print(l_person_rec.first_name);
    else
       htp.print(l_person_rec.first_name || ' ' || l_person_rec.last_name);
    end if;
    begin
       htp.print('(' || wwsec_api.group_info(wwsec_api.get_defaultgroup()).name ||
    exception when others then
       null;
    end;
    htp.print('</div>');
    end;

  • Template: error "Closed a head tag that was left unclosed."

    Hello,
    I have just found out why an error occurs with one of my template and I thought I'd post the solution for further reference in case someone encounters the same problem—it has bothered me for a quite a while. I'm using Dreamweaver CS4.
    Each time I opened the template, I had a message regarding the <head> tag. The message said that some invalid HTML had been corrected and the so-called invalid HTML was apparently "a <head> tag that was left unclosed":
    There was no closing <head> tag missing in my template and DW wasn't correcting anything in the code either even it said it did.
    My template started with:
    <!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" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>My company</title>
    <!-- TemplateEndEditable -->
    <meta name="author" content="2009" />
    <link href="../assets_design/css/design.css" rel="stylesheet" type="text/css" />
    <link href="../assets_design/css/designtext.css" rel="stylesheet" type="text/css" />
    <link href="../assets_design/css/content.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../assets_design/js/tools.js"></script>
    <!-- TemplateBeginEditable name="head" -->
    <meta name="keywords" content="..." />
    <!--[if IE 6]>
      <link href="assets_design/ie/IE6.css" rel="stylesheet" type="text/css" />
      <![endif]-->
    <!--[if IE 7]>
      <link href="assets_design/ie/IE7.css" rel="stylesheet" type="text/css" />
      <![endif]-->
    <!-- TemplateEndEditable -->
    </head>
    <!-- TemplateParam name="class" type="text" value="TwoColLayout" -->
    <!-- TemplateParam name="onload" type="text" value="" -->
    <body class="@@(_document['class'])@@" onload="@@(onload)@@">
    This error message appeared because the two lines "<!-- TemplateParam..." were between the <head> and <body> tags, while normally DW inserts them at the end of the <head> tag. I had moved them. The solution is therefore to put these lines back to where they were initially:
    <!-- TemplateEndEditable -->
    <!-- TemplateParam name="class" type="text" value="TwoColLayout" -->
    <!-- TemplateParam name="onload" type="text" value="" -->
    </head>
    <body class="@@(_document['class'])@@" onload="@@(onload)@@">

    http://www.showbagsusa.com//Templates/showbagtemplate.dwt
    look on line 146.
    <!-- TemplateEndEditable --><!--
    TemplateEndEditable --></td>
    the second one doesn't belong there, because there is no
    matched up opening
    tag.
    then on line 166, there's another closing template editable
    area comment
    that isn't paired with an opening one before it.
    <!-- TemplateEndEditable --></td>
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Make head /head tags editable within template?

    Hi Guys,
    Is it possible to create a template and make the area between the <head> </head> editable as I have about 80 pages in my site using my template, but I have about 12 odd pages that use various different javascript libraries and plugins to function.  I dont want to apply the scripts and plugins to the template as they are not required, besides they are individual to each page.
    Many Thanks for the advice.
    Jalz

    If you are using a recent version of Dreamweaver, there should be an editable section in the head of the document just before the closing head tag. It looks like this:
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    Insert the keywords, description, links to external files between the Template comments.
    If you're using an older version of Dreamweaver that hasn't created an editable region inside the head, copy and paste the template comments into the master template just before the closing head tag, as shown above.

  • Problem applying Spry tool tips to child pages because the head tag is in a locked region

    I’m new to DW and migrating a site from GoLive CS2 to DW CS5. The site uses templates created in GL CS2. I have stripped out as much GL stuff as possible.
    I want to use the SPRY tooltips as a way to show captions for graphics that are on some of the pages (I used to use an Open New Browser window for that but I don’t have as much control in DW as I did in GL). But when I try to apply SPRY tooltips (or any SPRY widget for that matter) I get the following message:
    “Required links could not be added to this file because the <head> tag is in a locked region. To insert this content, open the template file ‘xyz.dwt’ and either unlock the <head> tag or add this content to the template.”
    I am not sure how to go about solving this problem. In the template there is an editable region for adding graphics but in the template itself there are no graphics or anything else to apply a tooltip too. Also in the child pages there may be more than one place to use a tooltip. So that suggests to me that I should not add a tooltip to the template. That brings me to the other option.
    How would I go about unlocking the  <head> tag in the template, without messing everything up?
    Or, should I detach any page from the template when I want to add tooltips then reapply the template? I am planning to ditch the GL template anyway and apply a DW template to all the pages anyway.
    Any suggestions as to what I should do?
    Yours faithfully
    Branko
    PS I’m using Mac with Snow Leopard.

    I found a solution.
    I just made a transparent PNG. Put it in an inconspicuous part of the template. On the child page I could make as many copies as I needed making sure I provided id tags for each use etc.

  • Head tag locked

    I'm working in DW CS3 and I am attempting to add additional
    spry components into a page. I currently have some already but for
    some reason when trying to add a spry validation text field DW
    gives me an error saying:
    "Required links could not be added to this file because the
    <head> tag is in a locked region. To insert this content,
    open the template file ' ' and either unlock the <head> tag
    or add this content to the template."
    The problem is, I don't have a template for the site I'm
    building. So there is nothing to unlock or add to. And I'm unable
    to detach any template because one doesn't exist.
    Any suggestions on how to correct this issue??

    </tr>
    <tr>
    <td nowrap align="right"><span style="font-weight:
    bold; font-style: italic">Event Type:</span></td>
    <td align="left">
    <select name="CalEventName" id="CalEventName"
    tabindex="17">
    <option value="">Please Select</option>
    <?php
    do {
    ?>
    <option value="<?php echo
    $row_rsEventName['EventName']?>"><?php echo
    $row_rsEventName['EventName']?></option>
    <?php
    } while ($row_rsEventName = mysql_fetch_assoc($rsEventName));
    $rows = mysql_num_rows($rsEventName);
    if($rows > 0) {
    mysql_data_seek($rsEventName, 0);
    $row_rsEventName = mysql_fetch_assoc($rsEventName);
    ?>
    </select></td>
    <td colspan="2"
    align="right"><strong><em><span
    style="font-style:
    italic"><strong><em><strong><em>Start<span
    class="style10">*</span>:
    <input name="Sta3StartTime" type="text"
    id="Sta3StartTime" size="7" tabindex="18">
    </em>  Stop<span
    class="style10">*</span>:</strong></em>
    <input name="Sta3StopTime" type="text" id="Sta3StopTime"
    size="7" tabindex="19">
    </strong></span></em></strong></td>
    <td align="right"> </td>
    <td></td>
    <td colspan="3"
    align="right"><strong><em>Start<span
    class="style10">*</span>:
    <input name="Sta4StartTime" type="text"
    id="Sta4StartTime" tabindex="27" value="10:00" size="7">
    <span style="font-style:
    italic"><strong>  Stop<span
    class="style10">*</span>:
    <input name="Sta4StopTime" type="text" id="Sta4StopTime"
    tabindex="28" value="18:00" size="7">
    </strong></span></em></strong></td>
    </tr>
    <tr>
    <td nowrap align="right"><span class="style8"
    style="font-weight: bold"><em>Medic /
    EMT:</em></span></td>
    <td align="left"><select name="Sta3Emp1"
    id="Sta3Emp1" tabindex="20">
    <option value=""><strong>Please
    Select</strong></option>
    <option value="Open shift**">Open
    Shift**</option>
    <?php
    do {
    ?>
    <option value="<?php echo
    $row_calEmployee['EmpName']?> <?php echo
    $row_calEmployee['LastName']; ?>"><?php echo
    $row_calEmployee['EmpName']?> <?php echo
    $row_calEmployee['LastName']; ?></option>
    <?php
    } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
    $rows = mysql_num_rows($calEmployee);
    if($rows > 0) {
    mysql_data_seek($calEmployee, 0);
    $row_calEmployee = mysql_fetch_assoc($calEmployee);
    ?>
    </select></td>
    <td> </td>
    <td
    align="right"><strong><em>Hours:</em></strong>
    <input name="Sta3Emp1Hours" type="text"
    id="Sta3Emp1Hours" value="0" size="7" tabindex="21"></td>
    <td> </td>
    <td align="right"><span class="style4">Medic /
    EMT:</span></td>
    <td align="left"><select name="Sta4Emp1"
    id="Sta4Emp1" tabindex="29">
    <option value=""><strong>Please
    Select</strong></option>
    <option value="Open shift**">Open
    Shift**</option>
    <?php
    do {
    ?>
    <option value="<?php echo
    $row_calEmployee['EmpName']?> <?php echo
    $row_calEmployee['LastName']; ?>"><?php echo
    $row_calEmployee['EmpName']?> <?php echo
    $row_calEmployee['LastName']; ?></option>
    <?php
    } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
    $rows = mysql_num_rows($calEmployee);
    if($rows > 0) {
    mysql_data_seek($calEmployee, 0);
    $row_calEmployee = mysql_fetch_assoc($calEmployee);
    ?>
    </select></td>
    <td> </td>
    <td
    align="right"><strong><em>Hours:</em></strong>
    <input name="Sta4Emp1Hours" type="text"
    id="Sta4Emp1Hours" value="0" size="7" tabindex="30"></td>
    </tr>
    <tr>
    <td nowrap align="right"> </td>
    <td align="right"> </td>
    <td colspan="2" align="right"><select
    name="Sta3Emp1Reason" id="Sta3Emp1Reason" tabindex="22">
    <option value="">Please Select</option>
    <?php
    do {
    ?>
    <option value="<?php echo
    $row_rsSta3Emp1Reason['Reason']?>"><?php echo
    $row_rsSta3Emp1Reason['ReasonID']?> - <?php echo
    $row_rsSta3Emp1Reason['Reason']?></option>
    <?php
    } while ($row_rsSta3Emp1Reason =
    mysql_fetch_assoc($rsSta3Emp1Reason));
    $rows = mysql_num_rows($rsSta3Emp1Reason);
    if($rows > 0) {
    mysql_data_seek($rsSta3Emp1Reason, 0);
    $row_rsSta3Emp1Reason =
    mysql_fetch_assoc($rsSta3Emp1Reason);
    ?>
    </select></td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td colspan="2" align="right"><select
    name="Sta4Emp1Reason" id="Sta4Emp1Reason" tabindex="31">
    <option value="">Please Select</option>
    <?php
    do {
    ?><option value="<?php echo
    $row_rsSta4Emp1Reason['Reason']?>"><?php echo
    $row_rsSta4Emp1Reason['ReasonID']?> - <?php echo
    $row_rsSta4Emp1Reason['Reason']?></option><?php
    } while ($row_rsSta4Emp1Reason =
    mysql_fetch_assoc($rsSta4Emp1Reason));
    $rows = mysql_num_rows($rsSta4Emp1Reason);
    if($rows > 0) {
    mysql_data_seek($rsSta4Emp1Reason, 0);
    $row_rsSta4Emp1Reason =
    mysql_fetch_assoc($rsSta4Emp1Reason);
    ?>
    </select></td>
    </tr>
    <tr>
    <td nowrap align="right"><span class="style8"
    style="font-weight:
    bold"><em>EMT:</em></span></td>
    <td><select name="Sta3Emp2" id="Sta3Emp2"
    tabindex="23">
    <option value="">Please Select</option>
    <option value="Open Shift**">Open
    Shift**</option>
    <?php
    do {
    ?>
    <option value="<?php echo
    $row_calEmployee['EmpName']?> <?php echo
    $row_calEmployee['LastName']; ?>"><?php echo
    $row_calEmployee['EmpName']?> <?php echo
    $row_calEmployee['LastName']; ?></option>
    <?php
    } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
    $rows = mysql_num_rows($calEmployee);
    if($rows > 0) {
    mysql_data_seek($calEmployee, 0);
    $row_calEmployee = mysql_fetch_assoc($calEmployee);
    ?>
    </select></td>
    <td> </td>
    <td
    align="right"><strong><em>Hours:</em></strong>
    <input name="Sta3Emp2Hours" type="text"
    id="Sta3Emp2Hours" tabindex="24" value="0" size="7"></td>
    <td> </td>
    <td align="right"><span
    class="style4">EMT:</span></td>
    <td><select name="Sta4Emp2" id="Sta4Emp2"
    tabindex="32">
    <option value="">Please Select</option>
    <option value="Open Shift**">Open
    Shift**</option>
    <?php
    do {
    ?>
    <option value="<?php echo
    $row_calEmployee['EmpName']?> <?php echo
    $row_calEmployee['LastName']; ?>"><?php echo
    $row_calEmployee['EmpName']?> <?php echo
    $row_calEmployee['LastName']; ?></option>
    <?php
    } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
    $rows = mysql_num_rows($calEmployee);
    if($rows > 0) {
    mysql_data_seek($calEmployee, 0);
    $row_calEmployee = mysql_fetch_assoc($calEmployee);
    ?>
    </select></td>
    <td> </td>
    <td
    align="right"><strong><em>Hours:</em></strong>
    <input name="Sta4Emp2Hours" type="text"
    id="Sta4Emp2Hours" value="0" size="7" tabindex="33"></td>
    </tr>

  • Access to the head tag in a portal generated page

    We have a situation where we need to put some javascript in the <head> tag of a page so that it can be accessed by a javascript portlet. Any ideas?
    -Rob

    This capability is not there in 3.0.6 and 3.0.7. In 3.0.8 (due out end of this month), we have added a template capability which allows you to assign an html template to a page. The template could contain the javascript.
    In the interim, others have created an html portlet that contains the javascript, placed it on the page and turned it off by default. This works, but any user with customization rights to the page could remove it, so the title should read something like 'Do Not Remove!'

  • Add Editable Area to HEAD Tag?

    I am working in DW CS 5.5.
    My site has a base template and then a nested template for the Work pages.
    I'm trying to make the items in the vertical menu bar of the Work page editable attributes. When I select Modify > Template > Make Editable Attribute then set Attribute to class, enter a label name and set type to Text I get this error message:
    "There are no editable regions in the HEAD tag to insert the template property tag into. Please add an editable area to the HEAD tag in the base template and try again."
    I'm confused because I do have an editable region in the head. What am I doing wrong?

    Whoops, I should have included the top code in the base template file:
    <!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">
    <!-- TemplateParam name="Home Link" type="text" value="" -->
    <!-- TemplateParam name="About Link" type="text" value="" -->
    <!-- TemplateParam name="Services Link" type="text" value="" -->
    <!-- TemplateParam name="Work Link" type="text" value="" -->
    <!-- TemplateBeginEditable name="head" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Creative Consulting | Fresh Thinking + Clever Ideas</title><meta name="description" content="AFB Creative Consulting helps companies reach new levels of success. Services range from high level business strategy and project management to website design, blog design, email campaign design, logo design, brand development and social networking." />
    <meta name="keywords" content="AFB Creative Consulting, Amy Fuller Boyd, websites, blog, email campaigns, logos, branding, social media, project management, business development, business strategy" />
    <link href='../images/favicon.ico' rel='shortcut icon' type='image/x-icon'/>
    <style type="text/css">
    </style>
    <link href="../afbCCStyles.css" rel="stylesheet" type="text/css" />
    </head>
    <!-- TemplateEndEditable -->

  • Editable Head Tags

    Greetings,
    I've seen a response elsewhere but I can't respond to it so I'm probably adding duplicate info. Anyway, I've acquired a template website that is built in ASP. It doesn't appear that I can edit the head tags: title, description and keywords. I tried placing the following within the head tags but it didn't work, I still can't edit it on the other pages.
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Title entered here+</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="description" -->
    <meta name="Description" content="Description entered here">
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="keywords" -->
    <meta name="keywords" content="Keywords entered here." >
    <!-- InstanceEndEditable -->
    I've done this exact same thing for HTML websites and they work fine.

    Hi Murry,
    Yea, sorry, I meant to say that I AM doing it in the template. Here is the current Head of the template:
    <!--#include file="../includes/breadcrumb.asp"-->
    <!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">
    <head>
    <script type="text/javascript" src="../jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../jdSlider/jawdropper_slider.js"></script>
    <link rel="stylesheet" href="../jdSlider/jawdropper_slider.css" type="text/css" />
    <link rel="stylesheet" href="../examples.css" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../csshorizontalmenu.css" />
    <script type="text/javascript" src="../csshorizontalmenu.js">
    * CSS Horizontal List Menu- by JavaScript Kit (www.javascriptkit.com)
    * Menu interface credits: http://www.dynamicdrive.com/style/csslibrary/item/glossy-vertical-menu/
    * This notice must stay intact fok
    r usage
    * Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and 100s more
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Our Title</title>
    <meta name="Description" content="Out Description
    <meta name="keywords" content="Our Keywords" >
    <style type="text/css">
    <!--
    body,td,th {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 15px;
    color: #333;
    a:link {
    color: #333;
    a:visited {
    color: #000;
    . smallbodytext {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: #333;
    .image_left {
    float: left;
    margin-right: 20px;
    padding-bottom:15px;
    margin-top: 15px;
    .image_right {
    float: right;
    margin-left: 20px;
    padding-bottom:15px;
    margin-top: 15px;
    .pdf {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #069;
    font-variant: small-caps;
    h6 {
    font-family:Verdana, Geneva, sans-serif;
    font-size:20px;
    font-weight: normal;
    border-bottom: 1px gray dotted;
    color:#006699;
    -->
    </style>
    <link href="../style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
    margin-top: 0px;
    -->
    </style></head>
    Here is what I replaced it with but doesn't seem to work:
    <!--#include file="../includes/breadcrumb.asp"-->
    <!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">
    <head>
    <script type="text/javascript" src="../jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../jdSlider/jawdropper_slider.js"></script>
    <link rel="stylesheet" href="../jdSlider/jawdropper_slider.css" type="text/css" />
    <link rel="stylesheet" href="../examples.css" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../csshorizontalmenu.css" />
    <script type="text/javascript" src="../csshorizontalmenu.js">
    * CSS Horizontal List Menu- by JavaScript Kit (www.javascriptkit.com)
    * Menu interface credits: http://www.dynamicdrive.com/style/csslibrary/item/glossy-vertical-menu/
    * This notice must stay intact fok
    r usage
    * Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and 100s more
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Our Title</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="description" -->
    <meta name="Description" content="Our Description">
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="keywords" -->
    <meta name="keywords" content="Our Keywords." >
    <!-- InstanceEndEditable -->
    <style type="text/css">
    <!--
    body,td,th {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 15px;
    color: #333;
    a:link {
    color: #333;
    a:visited {
    color: #000;
    . smallbodytext {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: #333;
    .image_left {
    float: left;
    margin-right: 20px;
    padding-bottom:15px;
    margin-top: 15px;
    .image_right {
    float: right;
    margin-left: 20px;
    padding-bottom:15px;
    margin-top: 15px;
    .pdf {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #069;
    font-variant: small-caps;
    h6 {
    font-family:Verdana, Geneva, sans-serif;
    font-size:20px;
    font-weight: normal;
    border-bottom: 1px gray dotted;
    color:#006699;
    -->
    </style>
    <link href="../style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
    margin-top: 0px;
    -->
    </style></head>
    In case you can't spot the difference, I added editable regions:
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Our Title</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="description" -->
    <meta name="Description" content="Our Description">
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="keywords" -->
    <meta name="keywords" content="Our Keywords." >
    <!-- InstanceEndEditable -->

  • Unbalanced Head Tag

    Hi
    I am trying to make a template of a page I have done in Dreamweaver CS4 and keep getting this error message: There is an error on line 3 – unbalanced head tag.
    Has anybody got any ideas of how I solve this?
    Code below:
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>The Team at Barbury Castle Stables</title>
    <link href="includes/CSSLayouts/CSSLayouts.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="includes/CSSLayouts/debug_plus.js"></script>
    <link href="includes/CSSLayouts/akTeam.css" rel="stylesheet" type="text/css" />
    <link href="includes/CSSLayouts/akTeam_user.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="includes/ImageShowPro/flash_detect_min.js"/>
    <script type="text/javascript" src="includes/ImageShowPro/xtdProBanner1.js"/>
    <script type="text/javascript" src="includes/ImageShowPro/xtdProBannerLayout.js"/>
    </head>
    Many thanks
    Steve

    Hi
    Below is the code for the whole page – I think I have only one head tag, can’t seem to find another. What do you mean about “both bodys”?
    Regards
    Steve
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>The Team at Barbury Castle Stables</title>
    <link href="includes/CSSLayouts/CSSLayouts.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="includes/CSSLayouts/debug_plus.js"></script>
    <link href="includes/CSSLayouts/akTeam.css" rel="stylesheet" type="text/css" />
    <link href="includes/CSSLayouts/akTeam_user.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="includes/ImageShowPro/flash_detect_min.js"/>
    <script type="text/javascript" src="includes/ImageShowPro/xtdProBanner1.js"/>
    <script type="text/javascript" src="includes/ImageShowPro/xtdProBannerLayout.js"/>
    </head>
    <body class="akTeam_body_design">
    <div class="akTeam">
      <!-- (CSSLayouts Begin)  #akTeam #build_version=1.0.258;pack=User;category=;layout=;layoutType=page;scheme=;cssSource=file ;assets=;halign=center;minwidth=960px;maxwidth=960px;width=960px;bc=My Page Layouts;bl=AKTeam-->
      <div class='cssLO akTeam_wrapper_layout'>
        <div class='wrapper cssLI akTeam_wrapper_design'>
          <div class='cssLO akTeam_header_layout'>
            <div class='header cssLI akTeam_header_design'>
              <div class='cssLO akTeam_aklogo_layout'>
                <div class='aklogo cssLI akTeam_aklogo_design'>
                  <!-- aklogo Content Starts Here -->
                  <!-- aklogo Content Ends Here -->
                </div>
              </div>
              <div class='cssLO akTeam_topmenu_layout'>
                <div class='topmenu cssLI akTeam_topmenu_design'>
                  <!-- topmenu Content Starts Here -->
                  <p><a href="team.htm">The Team</a><a href="barbury.htm">       Barbury Castle       </a><a href="horses.htm">Horses in Training</a><a href="barbury.htm">       </a><a href="contact.htm">Contact</a><a href="barbury.htm">       </a><a href="index.htm">Home</a></p>
                  <!-- topmenu Content Ends Here -->
                </div>
              </div>
              <div class='cssLClearC'></div>
            </div>
          </div>
          <div class='cssLO akTeam_content_layout'>
            <div class='content cssLI akTeam_content_design'>
              <div class='cssLO akTeam_leftcon_layout'>
                <div class='leftcon cssLI akTeam_leftcon_design'>
                  <div class='cssLO akTeam_kingheader_layout'>
                    <div class='kingheader cssLI akTeam_kingheader_design'>
                      <div class='cssLO akTeam_teampic_layout'>
                        <div class='teampic cssLI akTeam_teampic_design'>
                          <!-- teampic Content Starts Here -->
                          <img src="_images/mug_kingy.jpg" alt="Alan King" width="100" height="140" />
                          <!-- teampic Content Ends Here -->
                        </div>
                      </div>
                      <div class='cssLO akTeam_teamtext_layout'>
                        <div class='teamtext cssLI akTeam_teamtext_design'>
                          <!-- teamtext Content Starts Here -->
                          <h1> Alan King </h1>
                          <h2>TRAINER</h2>
                          <p>Born in 1966, Alan is a farmer’s son who has nurtured a passion for racing from an early age. As a teenager he went to work at David Nicholson’s Condicote yard, where he soon became Assistant, a position Alan would keep until the “Duke’s” retirement 15 years later.</p>
                          <p>I was then, in December 1999 that he took out his own licence at Jackdaws Castle, where he trained 31 winners in six months. These included Anzum, who won the Grade 1 Long Walk Hurdle at Ascot and Relkeel, winner of the Grade 2 Bonusprint Hurdle aat Cheltenham.</p>
                          <p>On 1 June 2000 Alan moved to Barbury Castle, which has since been improved and expanded in the quest for more winners. He have also made Barbury Castle into a home for his young family. Alan met his wife, Rachel, when they both worked for the “Duke” and we were married in Antigua in 1998. They now have a son Henry and a daughter Georgia.</p>
                          <!-- teamtext Content Ends Here -->
                        </div>
                      </div>
                      <div class='cssLClearC'></div>
                    </div>
                  </div>
                  <div class='cssLO akTeam_subnav_layout'>
                    <div class='subnav cssLI akTeam_subnav_design'>
                      <!-- subnav Content Starts Here -->
                      <p> <a href="map.htm" target="_blank">HOW TO FIND US</a><a href="barbury.htm">       </a><a href="brochure.htm" target="_blank">2010-11  BROCHURE</a><a href="barbury.htm">       </a><a href="five.htm" target="_blank">FIVE TO FOLLOW</a></p>
                      <!-- subnav Content Ends Here -->
                    </div>
                  </div>
                  <div class='cssLO akTeam_address_layout'>
                    <div class='address cssLI akTeam_address_design'>
                      <!-- address Content Starts Here -->
                      <p>  </p>
                      <p>Alan
                        King Racing  <span class="yellowText">|</span>  Barbury Castle Stables  <span class="yellowText">|</span>  Wroughton SN4 0QZ<br />
                        Tel 01793 8150090    Fax 01789 845060    email <a href="mailto:[email protected]" target="_blank">[email protected] </a></p>
                      <p> </p>
                      <h3>Site designed by Wilderspin Marketing. Tel 01242 226558   www.wilderspinmarketing.co.uk</h3>
                      <!-- address Content Ends Here -->
                    </div>
                  </div>
                  <div class='cssLClearR'></div>
                </div>
              </div>
              <div class='cssLO akTeam_rightcon_layout'>
                <div class='rightcon cssLI akTeam_rightcon_design'>
                  <div class='cssLO akTeam_sidenav_layout'>
                    <div class='sidenav cssLI akTeam_sidenav_design'>
                      <!-- sidenav Content Starts Here -->
                      <h1> Trainer</h1>
                      <h2><a href="team.htm">Alan King</a><br />
                      </h2>
                      <h1>Assistant Trainers</h1>
                      <h2><a href="team/noelwilliams.htm">Noel WIlliams<br />
                      </a><a href="team/markweekes.htm">Mark Weekes</a><br />
                      </h2>
    <h1>Head Lads</h1>
                      <h2><a href="team/nigeltoal.htm">Nigel Toal<br />
                      </a><a href="team/paulduggan.htm">Paul Duggan</a><br />
                      </h2>
    <h1>Travelling Head Person</h1>
                      <h2><a href="team/matthowells.htm">Matt Howells</a><br />
                      </h2>
                      <h1>Secretary</h1>
                      <h2><a href="team/charlotteburke.htm">Charlotte Burke</a><br />
                      </h2>
                      <h1>Jockeys</h1>
                      <h2><a href="team/robertthornton.htm">Robert Thornton<br />
                      </a><a href="team/waynehutchinson.htm">Wayne Hutchinson<br />
                      </a><a href="team/gerardtumelty.htm">Gerard Tumelty</a><br />
                      <a href="team/samthomas.htm">Sam Thomas<br />
                      </a><a href="team/christianwilliams.htm">Christian Williams</a><br />
                      <a href="team/jimmymccarthy.htm">Jimmy McCarthy</a><br />
                      </h2>
    <h1>Conditional Jockeys</h1>
                      <h2><a href="team/christimmons.htm">Chris Timmons<br />
                      </a><a href="team/charliehuxley.htm">Charlie Huxley<br />
                      </a><a href="team/peterhatton.htm">Peter Hatton </a><br />
                      </h2>
    <h1>Amateur Jockeys</h1>
                      <h2><a href="team/jamesbanks.htm">James Banks </a><a href="team/robertjarrett.htm"><br />
                      Robert Jarrett<br />
                      </a><a href="team/joshnewman.htm">Josh Newman</a><br />
                      <a href="team/danhorsford.htm">Dan Horsford<br />
                      </a><a href="team/philipprince.htm">Philip Prince </a><br />
                      </h2>
                      <!-- sidenav Content Ends Here -->
                    </div>
                  </div>
                  <div class='cssLO akTeam_shroders_layout'>
                    <div class='shroders cssLI akTeam_shroders_design'>
                      <!-- shroders Content Starts Here -->
                      <a href="http://www.schroders.com/privatebank/home/" target="_blank"><img src="_images/schroders_wo.png" width="265" height="128" alt="shroders" /></a>
                      <!-- shroders Content Ends Here -->
                    </div>
                  </div>
                  <div class='cssLClearR'></div>
                </div>
              </div>
              <div class='cssLClearC'></div>
            </div>
          </div>
          <div class='cssLClearR'></div>
        </div>
      </div>
      <div class="cssLClearL"></div>
      <!-- #akTeam (CSSLayouts End) -->
    </div>
    </body>
    </html>

  • Can I prevent the #HEAD# tag from loading jQuery in APEX 4?

    I am using APEX to generate a report that is specifically designed to be viewed on a BlackBerry phone.
    When accessing the APEX 3.2 version of the application from a BlackBerry phone it works fine.
    When accessing the APEX 4.0 version (exported from 3.2 and imported to 4.0) the BlackBerry browser reports the following error:
    HTTP Error 413: Request Entity Too Large
    The page you requested could not be loaded. Please try loading a different page.
    I have tracked this down to the use of jQuery-UI by APEX 4.0.
    I can reproduce the error in APEX 3.2 by loading the jquery-ui.min.js file in the Page Template.
    So, is there any way of preventing APEX 4.0 from loading jQuery or jQuery-UI by default in the #HEAD# tag of the page template?
    Richard

    Hi,
    You can set page attribute Include Standard JavaScript and CSS to No.
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/bldr_pg_edit_att.htm#BACHFFBE
    Of course then any of Apex JavaScripts are not loaded
    Regards,
    Jari

  • Multiple head tags on instance pages

    Hi there,
    I have a problem whereby pages created from a template are
    producing multiple head tags, 3 pairs in fact.
    I have used the Check Template Syntax and it is OK.
    If I remove the doctype it does not create these duplicate
    head areas.
    Here is my doctype in the dwt:
    &lt;!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"
    xml:lang="en">
    <head>
    &lt;!-- TemplateInfo codeOutsideHTMLIsLocked="false"
    -->
    and here is what is being output in instance pages:
    &lt;!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"
    xml:lang="en"><head></head><head></head><head></head>&lt;!--
    InstanceBegin template="/Templates/master.dwt"
    codeOutsideHTMLIsLocked="false" -->
    I have searched the forums and the web in general but have
    found no help. Any help would be greatly appreciated.
    kind regards

    > Have you ever heard of editable-head-areas being
    duplicated?
    No. But I have recommended consistently that Nested templates
    are too
    complex for casual use. Frankly, I have not found a good
    scenario that
    would compel me to use them at all. I don't encourage that
    you use them
    either - why are you?
    > I have a master template, and the head area has a
    Dreamweaver
    > editable-area
    > tag around the entire head area.
    Why would you do this? All you need there is the doctitle and
    the head
    region.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "scratchmybrain" <[email protected]> wrote
    in message
    news:[email protected]...
    > Hi Murray
    >
    > sorry if that was confusing.
    >
    > What it meant is, and some more of the story, as
    follows:
    >
    > I have a master template, and the head area has a
    Dreamweaver
    > editable-area
    > tag around the entire head area.
    >
    > I have made new nested templates from the master, each
    of which have the
    > editable-area tag around the entire head.
    >
    > However, whenever I made a new template based on the
    master, Dreamweaver
    > would
    > assign a second editable-area tag immediately after the
    head, but which
    > was
    > *also* called the 'head'.
    >
    > And since I had 2 areas called the 'head', the second of
    which (an empty
    > tag)
    > seemed to take precedent over the former, and
    obliterated the head of
    > subsequent child pages.
    >
    > Indeed just by editing the master it applied the same
    extra set of tags to
    > each nested template.
    >
    > All of this happened before I became aware of what the
    problem was, and by
    > hunting around I found this extra editable-area tag to
    be the culprit.
    >
    > I do not have access to the files until Monday next
    week, so I can't
    > attach
    > anything.
    >
    > Have you ever heard of editable-head-areas being
    duplicated?
    >
    > thanks Murray
    >
    > cheers
    >
    > Darryl
    >
    >

  • Editable head tag

    Whenever I try to attach a stylesheet, it won't attach.  I looked and ever though my head tag says it's editable, it's grayed out. 

    Where are you attaching the style sheet? Is this on the template page or the HTML page?
    Make sure you are adding the css inbetween the editable region for head section as below
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    -HTH
    Bhawna

Maybe you are looking for