DW-CS3 inserts header code in body of doc's..??

hi folks,
my DW CS3 has been acting a bit funny lately, both with new
template driven sites and sites I've graduated up thru DW MX.
what seems to be happening is an implant of code normally
seen in the <head> of a web page, ending up mid-way thru the
<body> for no apparent reason. this includes title, meta
tags, dw's roll over javascrpt etc.
example, this code:
=======================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<html><!-- InstanceBegin
template="/Templates/_MAIN.dwt" codeOutsideHTMLIsLocked="false"
--><!-- DW6 -->
<head><!-- InstanceBeginEditable name="metatags"
-->
<title>name of website, etc</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<meta name="Generator" content="">
<meta name="Revisit-After" content="60 Days">
<!-- InstanceEndEditable -->
<script language="JavaScript" type="text/JavaScript">
<!--
if (window != top) top.location.href = location.href;
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++) x.src=x.oSrc;
AND ON AND ON!!
===========================================
can anyone explain why this might be happening?
thanks for any enlightenment!!
Gary

> can anyone explain why this might be happening?
Could only be attributed to user error.
Can you give us a set of steps that causes this to happen
reliably?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Bananzaman" <[email protected]> wrote in
message
news:gcgjca$jos$[email protected]..
> hi folks,
>
> my DW CS3 has been acting a bit funny lately, both with
new template
> driven
> sites and sites I've graduated up thru DW MX.
>
> what seems to be happening is an implant of code
normally seen in the
> <head>
> of a web page, ending up mid-way thru the <body>
for no apparent reason.
> this
> includes title, meta tags, dw's roll over javascrpt etc.
>
> example, this code:
>
> =======================
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
> <html><!-- InstanceBegin
template="/Templates/_MAIN.dwt"
> codeOutsideHTMLIsLocked="false" --><!-- DW6 -->
> <head><!-- InstanceBeginEditable
name="metatags" -->
> <title>name of website, etc</title>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> <meta name="Generator" content="">
> <meta name="Revisit-After" content="60 Days">
> <!-- InstanceEndEditable -->
> <script language="JavaScript"
type="text/JavaScript">
> <!--
> if (window != top) top.location.href = location.href;
>
> function MM_swapImgRestore() { //v3.0
> var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++)
> x.src=x.oSrc;
> }
>
> AND ON AND ON!!
>
> ===========================================
>
> can anyone explain why this might be happening?
>
> thanks for any enlightenment!!
>
> Gary
>

Similar Messages

  • Google tell me to insert their codes a site map in the head section before the first body section.. but where is it on my welcome page?

    Google tell me to insert their codes for a site map in the <head> section before the first <body> section.. but where in exact terms is the head & body section on my 09 iwebsite?

    It's been a while since I had to verify my sitemap with Google, but if I remember, there were two options for verification. The one I chose was an HTML file verification. That's a file that would be put in your Site Folder in GoDaddy. Google would then crawl your site to verify that way. I found that much easier than putting a file in the website itself.
    It would be a file that looks like this:  googlebe235d8cb7e91037.html
    And would live in your Site Folder on Godaddy like this:

  • The pt 3 tutorial code doesn't match the pt 2 tutorial code.  Nowhere to insert head in pt 2 code.

    At the end of the part 2 tutorial, this was the code:
    @charset "utf-8";
    /* CSS Document */
    #container {
    width: 968px;
    background: #FFF;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
    }#main_image {
    background-image: url(images/main.jpg);
    background-repeat: no-repeat;
    #container #main_image {
    height: 376px;
    width: 968px;
    #left_column, #center_column, #right_column {
    width: 316px;
    float: left;
    #center_column, #right_column {
    margin-left: 10px;
    The part 3 tutorial instructed this:
    Copy the <script> tags from the Edge Web Fonts site, and paste them into the <head> section of index.html in Dreamweaver just above the <link> that attaches the style sheet like this:
    <head>
    <meta charset="utf-8">
    <title>Check Magazine</title>
    <script src="http://use.edgefonts.net/sarina.js"></script>
    <link href="styles/check_cs6.css" rel="stylesheet" type="text/css">
    </head>
    As you can see from the code at the end of part two (listed at the top), there is no reference to <head> anywhere in the code; therefore, I am uncertain as to where to insert these code instructions.

    I assume that the embedded tags are in the index document, not the styles type document?   I appreciate the information, but I don't see how it relates to my question.  Maybe your answer was just over my head? My original question was: If the instructions say this:
    Copy the paste them into the  section of index.html in
    Dreamweaver just above the  that attaches the style
    sheet like this:
    and there the word does not appear anywhere on the index file that I can see it (whether it's embedded or otherwise), where do I insert the code?
    Date: Fri, 8 Feb 2013 10:29:29 -0800
    From: [email protected]
    To: [email protected]
    Subject: The pt 3 tutorial code doesn't match the pt 2 tutorial code.  Nowhere to insert &lt;head&gt; in pt 2 code.
        Re: The pt 3 tutorial code doesn't match the pt 2 tutorial code.  Nowhere to insert  in pt 2 code.
        created by Nancy O. in Dreamweaver - View the full discussion
    The pair of and  tags are an integral part of any HTML document. When you create a new page in DW, it automatically creates the core HTML tags for you, so in that regard, there's nothing for you to add except content and styles. Embedded CSS styles are inserted inside the document's  tags like so:       body      #LeftSideBar       #RightSideBar      #MiddleContent
    External CSS is a separate physical file to which all your HTML pages are linked. Similar to above, links to external style sheets go inside the  tags like this:
      HTML & CSS Tutorials - http://www.html.net/http://w3schools.com/  Nancy O.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5058678#5058678
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5058678#5058678
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5058678#5058678. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to insert custom HTML before /body ?

    I love that I can insert custom HTML in the <head> of a page in Muse.
    However, I need to add custom HTML just before the end of <body>.
    Namely, I want to insert custom Jquery calls just before </body>. I can't do this in the <head>.
    However, other uses for other people might include inserting Analytics tracking code before </body>, as this is more optimum than in the <head>.
    I've tried using a Custom HTML widget, but even if I put it in the footer of my page, it still ends up appearing in the rendered HTML before Muse's Javascript. I need it to come after Muse's Javascript.
    Thanks in advance.

    Hi Harry,
    Please check this discussion, you might find it helpful in making the jQuery calls.
    How to (make best) use external js library from html object (need help from dev)
    http://forums.adobe.com/thread/1213057
    - Abhishek Maurya

  • DW CS3 Insert Record/Update Record: Record Form Wizard Error

    I have just bought Dreamweaver CS3 and I am running into some
    problems. I also have Dreamweaver MX 2004. When I use the Insert
    Record: Record Insertion Form Wizard on my Dreamweaver MX 2004 I
    have no problems using the Insert Record function. However, when I
    use the Dreaweaver CS3, I am running into errors. The error I am
    getting is the following..."Apache HTTP Server has encountered a
    problem and needs to close. We are sorry for the inconvenience."
    As well, when I use the update form wizard, when you place
    all your settings and place a redirection after updating to a page
    it does not do it, it stays on the same page and gives me the
    following error..."Warning: Cannot modify header information -
    headers already sent in C:\wamp\www\edit.php on line 50".
    This happens on all internet browsers when I want to insert a
    new record. It takes a long time to load the page and then it
    finally gives me an error which I stated above. I never had a
    problem before. I thought maybe I installed the application wrong,
    so I unistalled and reinstalled the DW CS3. I still get the same
    issue. I became so frustrated that I formatted my hard drive
    thinking make I have a adware or spyware, so to be cautious I
    formatted my computer and installed everything with a fresh install
    and still I get this error. Now my testing server that I use is
    called WAMP. I never had problems with it before using DW MX 2004
    or when I used the trial of DW 8. So now I am out of options. Is
    there a glitch in the new CS3 Web Premium that includes DW CS3
    upgrade software and if there is, is there a download. Can anyone
    help me, please.

    Please bare with me David. I know something is wrong because
    I have made two folders, one that is done in MX2004 and the other
    done in CS3. CS3 is generating errors. For example. In the insert
    page in MX2004 I do not need to make a recordset, however, for the
    CS3 insert page I noticed when I use the insert record form wizard
    it does not work unless I make a recordset where in MX2004 I did
    not need to do this. I've created a add.php and a edit.php of
    MX2004 and CS3. I will place it in the attach code so you can see
    side by side what it is generating. I can see that there are a few
    things that CS3 does change and some how it is making my internet
    browsers show an error saying......"Warning: Cannot modify header
    information - headers already sent in C:\wamp\www\edit.php on line
    50".
    What do I do?
    I noticed that in the following code difference in...
    MX2004 = <?php echo $row_rsTest['test']; ?>
    CS3 = <?php echo htmlentities($row_rsTest['test'],
    ENT_COMPAT, 'utf-8'); ?>
    There is a big difference.
    My database is the following...
    -- phpMyAdmin SQL Dump
    -- version 2.10.1
    http://www.phpmyadmin.net
    -- Host: localhost
    -- Generation Time: Jun 24, 2007 at 04:29 PM
    -- Server version: 5.0.41
    -- PHP Version: 5.2.3
    SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
    -- Database: `mysample`
    CREATE DATABASE `mysample` DEFAULT CHARACTER SET latin1
    COLLATE latin1_swedish_ci;
    USE `mysample`;
    -- Table structure for table `test`
    CREATE TABLE `test` (
    `testID` int(11) NOT NULL auto_increment,
    `test` longtext NOT NULL,
    PRIMARY KEY (`testID`)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
    -- Dumping data for table `test`
    INSERT INTO `test` (`testID`, `test`) VALUES
    (3, 'Sample Test');
    =======================================================================
    I use the program called
    WAMP.
    =======================================================================
    PHP PAGES

  • How to insert abap code in LSMW generated program?

    hi,
    i m working on LSMW for loading data in SAP
    i would like to insert abap code into the generated program....
    it's because i have 1 BKPF segment (header data), 2 BSEG segments, but i cannot define rules by customizing for the second BSEG segment(LSMW doesn't permitt).
    i already tried to insert code directly into the program, but obviously it disapears at each time i generate the program.
    i saw that apparently a code insertion has already be made into this program and the subject of this insertion is to define rules for the second BSEG (exactly what i want to do....) and this modification doesn't disapear at new prog generation.....
    Any idea ?

    Hi
    Why dont you use the FORM provided by LSMW
    To use this please do the following
    1.Goto option <b>Maintain Field Mapping and Conversion Rules</b>
    2.Goto menu <b>EXTRAS->LAYOUT->Form Routines</b>
      Here you will now get many options like
       Global Data
       Begin of Transaction
    Begin of Processing
    Begin of Record
      like wise the End of these also.
    Please put a breakpoint and check where you want to insert your code.
    Note:
    This is only for the Conversion Program and does not affect the main program used to update the Standard Tables
    Hi , I was reading your earlier post .. It seems that you have worked on EMIGALL. Consider a similar situation, it is like writing the code in the events till CALL01...
    Thanks
    DOminic
    Message was edited by: Dominic  Pappaly

  • Help with inserting counter code

    hi friends, i want to put an invisible counter on my website but i cant seem to do it. i got the counter code from statcounter and i also downloaded a trial version of bbedit. in bbedit when i do a search for the code i have to replace bbedit comes up with nothing on the search, im not html savy in the slightest...can somebody walk me through this step by step.

    If you want to insert the code by hand, just open each page.html file and scroll to the end. You will see a <body><html> tag. Just copy and paste your code before the <body> tag and the save.
    But if you want an easy and automatic way to do this for your pages...just download iComment 3.0. Launch it and paste your StatCounter code in the appropriate window. Then point iComment to your Sites folder and click Go. It will place the StatCounter code on every page in your site.
    If you don't want to do the Haloscan commenting, you can just leave that blank in iComment.
    James
    http://www.dirtdoog.com/

  • Insert "head" should put content in the header -- but doesn't

    Insert
    Head
    Meta
    Provides a call up box to complete the description or other meta data.
    Since it is in the insert "head" area, one would assume that it would mean whatever you enter would go as a meta tag in the header. Low an behold it inserts it wherever the cursor is.
    Is this a bug?
    Or is there some unknown reason why a meta tag would be inserted into the body, but be listed as insert in the head?

    That fact that is implies that it is inserting a meta tag -- and meta tag by definition goes in the header (except when using this tool) then it would indeed be a bug.
    Why would you insert a meta tag anywhere but inside the header?
    The pulldown says : Insert (assuming putting something in the document) >> Head (assuming into the header) >> Options
    So, it indicates what and where it is going to insert, but in reality, it doesn't.
    That would be the definition of a bug.
    Thank you.

  • Outlook 2013 - Insert HTML code into email

    Hi there,
    A simple question, or so I thought. How can I insert HTML code into an Outlook email?
    Thanks
    Dave

    You can inject HTML code into the message body via the Insert as Text option;
    Insert-> (Attach) File-> select the created htm-file-> press the down arrow on the Insert button-> Insert as Text
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected]

  • Inserting html code snippets

    I'm using Contribute 3 (version 3.11) and cannot insert html code snippets with this. But I'm rather confused as to what I need to upgrade to to do this.
    On the Adobe Help Center webpage it states that " Advanced Adobe Contribute users can use Adobe Contribute CS3 to add custom HTML code snippets to Contribute pages".
    So what is the difference between my version Contribute 3 and Contribute CS3?  And I know that there is now CS4 also, so assume that would be even better?
    I've spent quite a bit of time on the net trying to get to the bottom of this, and hope that someone will take pity on me and enlighten me!
    Thanks in advance.

    Joe, I'm told it should be in the Insert drop down menu if it has been enabled by the Administrator. Is there someone else involved with your site who could have disabled this function? I know that similar things have happened to me in the past.
    Anyway ... I have some good news to report. I downloaded the free trial of Contribute CS4 from the Adobe website yesterday. It took over an hour to download and I wasn't very optimistic that I would be able to get it to work but I did. There is indeed an "Insert html snippet" function and I have produced a test page with a booking engine on it as a result of inserting some code. I have not yet tested it with audio and video files. I will have the use of the free trial for 30 days so will be able to carry out some more tests before taking the plunge and upgrading.
    If you have the minimum system requirements I would say it is worth your giving this a try, Joe

  • Desperate help needed with insertion sort code

    Here is my insertion sort code for a doubly linked list that does not work. I cannot figure out why and I've been trying everything for the last 10 hours! Please Please help..
    public void insertionSort()
        Node pointer=head;
        while(pointer.next!=null)
            Node insert=pointer.next;
            if (insert.item.compareTo(pointer.item)>0)
                pointer=pointer.next;
            else
                insert.prev.next=insert.next;
                insert.next.prev=insert.prev;
                if (head.item.compareTo(insert.item)>0)
                    insert.next=head;
                    insert.prev=null;
                    head.prev=insert;
                    head=insert;
                Node current =head.next;
                while (current.item.compareTo(insert.item)<0)
                    current=current.next;
                insert.next=current;
                insert.prev=current.prev;
                current.prev.next=insert;
                current.prev=insert;
    }

    It makes sense tracing it out on paper, running it,
    the program never ends.This means that there is an infinite loop somewhere in your code. Find the loops and put some System.out.println()'s in them to see where it's going wrong.

  • Manually inserting rss code...

    hello,
    in the past when i've worked outside of iweb it just takes a simple line of code to get my site to point to my rss feed. i just need to insert the code in the header of each page. with iweb i have tried this with html snippets but the only way that has worked for me is to manually insert the code in the completed pages. the only thing is every time i update my pages i have to reinsert the code since i'm doing it after the iweb publishing. is there an easier way to do what i need? i prefer not to use the standard blog page that's why i'm asking...
    thanks,
    rick

    The code is locked because it is re-generated every once and awhile. If you were allowed to edit it, your changes would just be overwritten. The code generator is fairly flexible, and you can insert your own code at certain points, like pre-init and post-init for variables, using the property editor. Maybe you could post the part that you would like to edit, then the changes you want to make, and I might be able to suggest a way you could do it just using the form editor.

  • Syntax error, insert "}" to complete Class body.

    Hello everyone,
    I am trying to create simple Adobe form with WebDynpro for java. Java error in autogenerated class appears "Syntax error, insert "}" to complete Class body". As I see, java class really corrupted - there are no "}" at the class end.
    Really appreciate any help.
    Kirill

    It dissappeared.

  • How can I insert a code to switch between channels?

    I’ve got a HP4263A LCR meter which is being used with an ER-18 device to get multiple channel data acquisition, when I go to getting started to trigger the device, but this VI do not have an icon to change the channel how can I insert a code to switch between channels?

    I am just trying to use the drivers developed by NI for this device, but I don't know how to work on them to obtain data from three points, or three channels which I am using from an ER-16 device. So all what I have is the driver VI for the HP4263A.the only VI I can use is getting started, because whe I try to run any other one, this message appears:
    Error -1073807346 occurred at VISA Write in HP4263A Self-Test.vi.
    Possible reasons:
    VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.
    your help would be very helpful
    thanks

  • Running Illustrator on CS4. Would like to insert photo image into body of type. Would appreciate any guidance. Thank you

    Running Illustrator on CS4. Would like to insert photo image into body of type. Would appreciate any guidance. Thank you

    Use a clipping mask.
    Illustrator Help | Clipping masks

Maybe you are looking for

  • POS data variation in bw report for fiscal year

    HI , I got issue from User like ,In a BW report I have given sold to party as best buy with actual sel though and fiscal year form 2006 to 2008.I got some values with factory week 14/2009 for it.But when i selected fiscal year 2007 to 2008 i got some

  • Master detail form ... EXTREMELY URGENT

    gurus, here is my situation - i have 2 tables ... master ---> base_rate_type detail ---> base_rates the detail table has base rates for the base rate type in master. the detail can have multiple records but, only one active base rate. when the form i

  • Executing OS command from sql procedure

    i want to execute an OS command from the procedure, can i do this way? looks like it is not executing the command move.... declare begin dbms_output.put_line(' moving...'); host; move c:\file1\test.txt C:\moved exit; /

  • A string of question about Locking & Isolation Level

    Hi All It is highly appreciated if someone give offer answers to my below questions 1) There are two ways of locking mechanism: Pessimistic & Optimistic. In general, do all J2EE app server support all these two ways of locking ? 2) It seems to me tha

  • Why would I get a Sudden Motion Sensor error on a Mac Pro (not a laptop)??

    Get this error all the time since upgrading to Logic 9.1.4.  Thing is, I have a Mac Pro, not a laptop. Apple sends me to this page: http://support.apple.com/kb/HT1934 Should I disable sudden motion sensor?  Seems silly.  I am recording woth headphone