%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%

I can't figure out why <%@LANGUAGE="JAVASCRIPT"
CODEPAGE="65001"%> is shown at the top of the page in Firefox.
Safari works perfectly.
The page is:
http://www.boogieboarder.org/movies/
Any tips would be a great help. Thanks.

When you created this page in DW you specified that it would
be an
ASP/Javascript page.
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
==================
"mtpeders" <[email protected]> wrote in
message
news:fpv6mn$mqc$[email protected]..
>I can't figure out why <%@LANGUAGE="JAVASCRIPT"
CODEPAGE="65001"%> is shown
>at
> the top of the page in Firefox. Safari works perfectly.
>
> The page is:
http://www.boogieboarder.org/movies/
>
> Any tips would be a great help. Thanks.
>

Similar Messages

  • Language=Javascript" CODEPAGE

    The first line of code automatically generated for two
    templates is <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    This line of code appears at the top of a browser window in
    FF and ME7.
    One of the templates has a spry popup menu and the other has
    a PVII menu magic menu. If I delete the first line of code the page
    still works without it. What is this code and is it necessary?
    Thanks, Dave

    DSWalther wrote:
    > The first line of code automatically generated for two
    templates is
    > <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    I can't tell you *why* it's there, but it's the ASP way of
    saying "this
    page uses JavaScript and UTF-8 encoding.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Asp CODEPAGE="1252" or CODEPAGE="65001"

    Hi yea,
    I see when |I creaet a new page using cs3 I get the head
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    where as when using dw8 I used to get
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    I am confused as I have set the preferences the same wht I
    beleve I had dw8
    set at.
    my doc's are also set as
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    why is the code page set different, and will it make a
    different.
    regards
    Kenny

    Dave
    Thank you,
    I was very confused now you made it all more clear.
    regards
    kenny
    "David Powers" <[email protected]> wrote in message
    news:f6l7at$51u$[email protected]..
    > Twocans wrote:
    >> When I used dw8 the default was 1252,
    >
    > In DW8, the default encoding was Western European
    (iso-8859-1), which is
    > the equivalent of ASP codepage 1252. In CS3, the default
    encoding is
    > UTF-8, which is the equivalent of ASP codepage 65001.
    >
    >> should I go back and change all my pages to 65001
    now i am using cs3,
    >> should it make a difference to what i have created
    so far.
    >
    > The file format of a Web page must be the same as the
    @CodePage used in
    > the page.
    >
    >
    http://www.asp-dev.com/main.asp?page=96
    >
    > If you are creating web pages that use the CS3 default
    encoding UTF-8, you
    > must use codepage 65001. If you switch back to the DW8
    default encoding,
    > both the web page encoding and the codepage must match.
    >
    > The choice is yours. UTF-8 supports most written
    languages (including
    > English), so is a good choice. However, it's not a good
    idea to mix
    > encodings on the same website, particularly if you're
    working with a
    > database. If you're working with an existing database
    that was populated
    > using codepage 1252, you should stick with that encoding
    (and make sure
    > that the web page encoding is iso-8859-1. If you're
    working with a new
    > site and new database, go with UTF-8 and 65001.
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "Foundation PHP for Dreamweaver 8" (friends of
    ED)
    > Author, "PHP Solutions" (friends of ED)
    >
    http://foundationphp.com/

  • HTMLbeforeForm= SCRIPT LANGUAGE="JavaScript" window.opener = top; /SCRIPT

    I've found this line of code in my formsweb.cfg file, but to be honest I have no clue what it's doing.
    HTMLbeforeForm=<SCRIPT LANGUAGE="JavaScript">window.opener = top;</SCRIPT>
    Anyone know what this code might be responsible for?

    I have seen this sometimes used to prevent the user being asked if they want to close the window when a javascript command to close the window is issued. Not sure it always works with different browsers or versions.

  • JSP language javascript

    What is the problem?
    <%@ page language="javascript" %>
    <%
    var i;
    for ( i=1; i<5; i++ )
    out.println("JSP whit JavaScript <br>");
    %>

    What is the problem?
    <%@ page language="javascript" %>
    <%
    var i;
    for ( i=1; i<5; i++ )
    out.println("JSP whit JavaScript <br>");
    %>The <% and %> tags indicate a Java scriptlet.
    "var" is JavaScript syntax, the rest is Java.
    out.println is a Java method.
    If you want to do your loop in JavaScript then it would
    be like this:
    <script>
    for ( var i = 1; i < 5; i++ )
    document.writeln("JSP whit JavaScript <br>");
    </script>

  • Image Align Not Working in Browser

    Ok, so i have text and i put some images in there and i set my image align to either left or right or however i need it and it looks fine in dreamweaver, but when i preview it in a browser it isn't right. Does anyone know why this could be? I'm prolly being dumb and just have a slight minor detail wrong so......feel free to slap me if needed....

    In code view, you have this at the top of your page:
    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    <!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>
    Which should be this:
    <!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>
    Remove the JavaScript tag.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Slide show does not work

    I created a slide show. It works really well on the Prieview with a browser. Once I put it on the web it does not work. here is the code.
    <%@LANGUAGE="JAVASCRIPT"
    CODEPAGE="65001"%>
    <!doctype html>
    <html><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta charset="utf-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <style type="text/css">
    /* BeginOAWidget_Instance_2141542: #ImageSlideShow */
    #ImageSlideShow.ImageSlideShow {
        width: 300px;
        height: 300px;
        border: solid 5px #000000;
    #ImageSlideShow .ISSClip {
        background-color: #333333;
    /* EndOAWidget_Instance_2141542 */
    </style>
    <!-- InstanceEndEditable -->
    <style type="text/css">
    #apDiv16 {
        position: absolute;
        left: 267px;
        top: 289px;
        width: 402px;
        height: 331px;
        z-index: 14;
        border: thick ridge rgb(0,0,255);
    </style>
    <style type="text/css">
    #apDiv17 {
        position: relative;
        left: 687px;
        top: 287px;
        width: 346px;
        height: 65px;
        z-index: 15;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 18px;
        line-height: 20px;
        font-weight: bold;
        font-style: italic;
    </style>
    <style type="text/css">
    #apDiv18 {
        position: absolute;
        left: 814px;
        top: 318px;
        width: 254px;
        height: 369px;
        z-index: 16;
        font-family: Arial, Helvetica, sans-serif;
        line-height: 3px;
        color: rgb(0,0,0);
        font-weight: bold;
    #apDiv18 P FONT {
        color: rgb(0,0,0);
    #apDiv18 P FONT {
        font-weight: normal;
    </style>
    <style type="text/css">
    #apDiv19 {
        position: absolute;
        left: 301px;
        top: 280px;
        width: 426px;
        height: 328px;
        z-index: 1000;
    </style>
    <style type="text/css">
    #apDiv20 {
        position: absolute;
        left: 314px;
        top: 319px;
        width: 437px;
        height: 312px;
        z-index: 16;
    </style>
    <style type="text/css">
    #apDiv21 {
        position: absolute;
        left: 273px;
        top: 231px;
        width: 520px;
        height: 23px;
        z-index: 16;
        font-size: 18px;
    </style>
    <style type="text/css">
    <!--
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
        padding: 0;
        margin: 0;
    h1, h2, h3, h4, h5, h6, p {
        margin-top: 0;     /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
        padding-right: 15px;
        padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
        border-top-width: medium;
        border-right-width: medium;
        border-bottom-width: medium;
        border-left-width: medium;
        border-top-style: ridge;
        border-right-style: ridge;
        border-bottom-style: ridge;
        border-left-style: ridge;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
        color: #42413C;
        text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
        color: #6E6C64;
        text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
        text-decoration: none;
        color: #0000FF;
    /* ~~ this fixed width container surrounds the other divs ~~ */
    .container {
        width: 2000px;
        background-color: #666;
        margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
        position: absolute;
        height: 1000px;
        left: 0px;
        top: 0px;
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
        background-color: #333333;
        border-bottom-width: thick;
        border-bottom-style: double;
        border-bottom-color: rgb(255,0,0);
        width: 2000px;
        position: absolute;
        left: 0px;
        top: 0px;
        height: 150px;
    /* ~~ The footer ~~ */
    .footer {
        padding: 10px 0;
        background-color: #FF0000;
        height: 150px;
        width: 2000px;
        border-top-width: thick;
        border-top-style: double;
        border-top-color: rgb(0,0,0);
        left: 0px;
        position: absolute;
        top: 850px;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    #apDiv1 {
        position: absolute;
        left: 204px;
        top: 13px;
        width: 317px;
        height: 49px;
        z-index: 1;
        font-family: "Arial Black", Gadget, sans-serif;
        text-transform: uppercase;
        color: #F00;
        font-size: 40px;
    #apDiv4 {
        position: absolute;
        left: 180px;
        top: 19px;
        width: 585px;
        height: 23px;
        z-index: 4;
        font-family: "Arial Black", Gadget, sans-serif;
        font-size: 24px;
        font-style: oblique;
        color: #FF0;
    #apDiv12 {
        position: absolute;
        left: -6px;
        top: 52px;
        width: 201px;
        height: 27px;
        z-index: 9;
        font-family: "Arial Black", Gadget, sans-serif;
        font-size: 36px;
        color: #0FF;
        font-weight: bold;
        text-transform: lowercase;
        font-style: oblique;
    #apDiv5 {
        position: absolute;
        left: 0px;
        top: 53px;
        width: 757px;
        height: 26px;
        z-index: 5;
        font-family: "Arial Black", Gadget, sans-serif;
        font-size: 36px;
        color: #06F;
        text-transform: lowercase;
    #apDiv6 {
        position: absolute;
        left: 366px;
        top: 155px;
        width: 1413px;
        height: 32px;
        z-index: 999;
        color: #999;
        font-family: Georgia, "Times New Roman", Times, serif;
        font-weight: bold;
    -->
    </style>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    #apDiv8 {
        position: absolute;
        left: 70px;
        top: 66px;
        width: 1280px;
        height: 41px;
        z-index: 8;
        font-family: Arial, Helvetica, sans-serif;
        color: #000;
        font-weight: bold;
    #apDiv2 {
        position: absolute;
        left: 11px;
        top: 213px;
        width: 140px;
        height: 308px;
        z-index: 9;
    </style>
    <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    #apDiv3 {
        position: absolute;
        left: 302px;
        top: 321px;
        width: 654px;
        height: 466px;
        z-index: 10;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 14px;
        font-weight: bold;
        line-height: 10px;
        border-top-width: thick;
        border-top-style: solid;
        border-right-style: solid;
        border-bottom-style: solid;
        border-left-style: solid;
        border-top-color: rgb(0,51,255);
    #apDiv7 {
        position: absolute;
        left: 2px;
        top: 35px;
        width: 302px;
        height: 326px;
        z-index: 7;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 16px;
        line-height: 5px;
        font-weight: normal;
        color: #666;
    #apDiv9 {
        position: absolute;
        left: 270px;
        top: 302px;
        width: 382px;
        height: 295px;
        z-index: 11;
        border: thick solid rgb(0,51,255);
    .style12 {font-size: 18pt}
    #apDiv7 P FONT {
        color: rgb(0,0,0);
        font-family: Verdana, Geneva, sans-serif;
        font-size: 16px;
    #apDiv10 {
        position: absolute;
        left: 4px;
        top: 164px;
        width: 131px;
        height: 293px;
        z-index: 999;
    #apDiv11 {
        position: absolute;
        left: 670px;
        top: 298px;
        width: 268px;
        height: 61px;
        z-index: 13;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 18px;
        color: #000;
    .container .content #apDiv11 P FONT {
        color: rgb(0,0,0);
    #apDiv13 {
        position: absolute;
        left: 134px;
        top: 230px;
        width: 864px;
        height: 551px;
        z-index: 13;
    #apDiv14 {
        position: absolute;
        left: 151px;
        top: 252px;
        width: 605px;
        height: 278px;
        z-index: 13;
    #apDiv15 {
        position: absolute;
        left: 98px;
        top: 392px;
        width: 1350px;
        height: 496px;
        z-index: 13;
    #apDiv16 {
        position: absolute;
        left: 339px;
        top: 249px;
        width: 724px;
        height: 37px;
        z-index: 900;
        border-bottom-width: thick;
        border-bottom-style: solid;
        border-bottom-color: rgb(255,0,0);
    #apDiv17 {
        position: absolute;
        left: 50;
        top: 266px;
        width: 620px;
        height: 1;
        z-index: 13;
        background-color: #FF0000;
    #apDiv22 {
        position: absolute;
        left: 132px;
        top: 50px;
        width: 40px;
        height: 46px;
        z-index: 1000;
        color: #FFF;
    #apDiv23 {
        position: absolute;
        left: -103px;
        top: 340px;
        width: 800px;
        height: 3;
        z-index: 10;
        border-top-width: thick;
        border-top-style: groove;
        border-top-color: rgb(255,0,0);
    #apDiv30 {
        position: absolute;
        height: 30px;
        width: 1000px;
        left: -102px;
        top: 288px;
    </style>
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <!-- InstanceBeginEditable name="head" -->
    <style type="text/css">
    #apDiv16 {
        position: absolute;
        left: 264px;
        top: 326px;
        width: 402px;
        height: 331px;
        z-index: 14;
        border: thick ridge rgb(0,0,255);
    </style>
    <style type="text/css">
    #apDiv17 {
        position: absolute;
        left: 687px;
        top: 324px;
        width: 346px;
        height: 65px;
        z-index: 15;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 18px;
        line-height: 20px;
        font-weight: bold;
    </style>
    <style type="text/css">
    #apDiv18 {
        position: absolute;
        left: 687px;
        top: 392px;
        width: 254px;
        height: 358px;
        z-index: 16;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 16px;
        line-height: 0px;
    </style>
    <style type="text/css">
    #apDiv19 {
        position: absolute;
        left: 214px;
        top: 293px;
        width: 952px;
        height: 375px;
        z-index: 101;
    </style>
    <style type="text/css">
    #apDiv22 {
        position: absolute;
        left: 216px;
        top: 286px;
        width: 906px;
        height: 348px;
        z-index: 17;
    #apDiv24 {
        position: absolute;
        left: 70px;
        top: 518px;
        width: 785px;
        height: 113px;
        z-index: 1000;
    #apDiv25 {
        position: absolute;
        left: 222px;
        top: 361px;
        width: 115px;
        height: 250;
        z-index: 7;
    </style>
    <link href="../Spry-UI-1.7/css/SpryImageSlideShow.css" rel="stylesheet" type="text/css">
    <script src="../Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryImageLoader.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryImageSlideShow.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryPanAndZoomPlugin.js" type="text/javascript"></script>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2141542" binding="#ImageSlideShow" />
    </oa:widgets>
    -->
    </script>
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <div>Content for New Div Tag Goes Here</div>
    <div>Content for New Div Tag Goes Here</div>
    <container class="container">
    <div id="apDiv1">
      <!-- InstanceBeginEditable name="EditRegion4" -->
    <div id="apDiv25">
      <ul id="ImageSlideShow">
        <li><a href="../images/bent_shank_wnuts.jpg"><img src="../images/src/bent_shank_wnuts.jpg" alt="" /></a></li>
        <li><a href="../images/champion_rivet_at_operator.JPG"><img src="../images/src/champion_rivet_at_operator.JPG" alt="" /></a></li>
        <li><a href="../images/coining.jpg"><img src="../images/src/coining.jpg" alt="" /></a></li>
        <li><a href="../images/dry_box_workers.jpg"><img src="../images/src/dry_box_workers.jpg" alt="" /></a></li>
        <li><a href="../images/laser_shlomo.jpg"><img src="../images/src/laser_shlomo.jpg" alt="" /></a></li>
      <li><a href="../images/lung-blocker-white-gowns.jpg"><img src="../images/src/lung-blocker-white-gowns.jpg" alt="" /></a></li> 
      </ul>
      <script type="text/javascript">
    // BeginOAWidget_Instance_2141542: #ImageSlideShow
    var ImageSlideShow = new Spry.Widget.ImageSlideShow("#ImageSlideShow", {
        widgetID: "ImageSlideShow",
        injectionType: "replace",
        autoPlay: true,
        displayInterval: 4000,
        transitionDuration: 2000,
        componentOrder: ["view", "controls"],
        plugIns: [ Spry.Widget.ImageSlideShow.PanAndZoomPlugin ]
    // EndOAWidget_Instance_2141542
      </script>
    </div>
    <div id="apDiv23"></div>
    <!-- InstanceEndEditable -->
      NOGAH
      <div id="apDiv5">Machine Designers &amp; Builders</div>
    <div id="apDiv4">smart innovative engineering </div>
    </div>
    <!-- InstanceBeginEditable name="EditRegion3" -->
    <div id="apDiv15">
      <p> </p>
    </div>
    <!-- InstanceEndEditable -->
    <div class="header"><a href="#"><img src="../images/logoN.jpg" alt="Insert Logo Here" name="Insert_logo" width="100" height="150" id="Insert_logo" style="color: #F00; text-transform: uppercase; font-size: 40px; font-family: 'Arial Black', Gadget, sans-serif; display: block;"></a>
    <!-- end .header --></div>
      <div class="content">
        <div id="apDiv6" style="left: 100px; top: 170px">
          <ul id="MenuBar1" class="MenuBarHorizontal">
            <li><a href="index.html">Home</a>        </li>
            <li><a href="facility.html">Our Facility</a></li>
            <li><a href="about%20us.html">About Us</a></li>
    <li><a href="contact%20us.html">Contact Us</a></li>
            <li><a href="#" class="MenuBarItemSubmenu">Medical</a>
              <ul>
                <li><a href="lung%20blocker%20bed%20mounted.html">Lung Blocker Bed Mounted</a></li>
                <li><a href="lung%20blocker%20stand.html">Lung Blocker Stand</a></li>
                <li><a href="couch.html">Radiation Couch</a></li>
                <li><a href="lab%20bench.html">Lab Bench</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Biotech</a>
              <ul>
                <li><a href="mega%20base%20SH.html">Mega Base Dispensing S.H</a></li>
                <li><a href="mega%20base%20DH.html">Mega Base Dispensing D.H</a></li>
                <li><a href="filling%20machine.html">Liquid Filling Machine</a></li>
                <li><a href="powder%20dispenser.html">Powder Dispensing</a></li>
                <li><a href="capper.html">Capper</a></li>
                <li><a href="laser%20labeler.html">Laser Labeler</a></li>
                <li><a href="racker.html">Vial Racker</a></li>
                <li><a href="dry%20box.html">Glove Box</a></li>
                <li><a href="heat%20seal.html">Sealing Press</a></li>
    </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Polymers</a>
              <ul>
                <li><a href="lid%20stacking.html">Lid Stacking</a></li>
                <li><a href="heat%20staking%20machine.html">Heat Staking</a></li>
                <li><a href="tire%20assembly.html">Roller Assembly</a></li>
                <li><a href="lint%20trap.html">Lint Trap</a></li>
                <li><a href="bosch.html">Dryer Assembly</a></li>
                <li><a href="marbal.html">Cooling Tower</a></li>
                <li><a href="jar%20trimming.html">Jar Trimming</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Fasteners</a>
              <ul>
                <li><a href="bent%20shank.html">Bent Shank </a></li>
                <li><a href="lug%20nuts%20tapping%20machine.html">Lug Nuts</a></li>
                <li><a href="round%20small%20nuts.html">Rivets Tapping</a></li>
                <li><a href="knurling.html">Knurling</a></li>
                <li><a href="eyebolts.html">Eye Bolts</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Feeding</a>
              <ul>
                <li><a href="feeding%20with%20vision.html">Using Vision</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Metal</a>
              <ul>
                <li><a href="champion.html">Rail Road</a></li>
                <li><a href="assembly.html">Assembly</a></li>
                <li><a href="coining.html">Coining</a></li>
                <li><a href="pointing.html">Pointing</a></li>
                <li><a href="damper%20assembly.html">Damper Assembly</a></li>
                <li><a href="fomo.html">Notching</a></li>
                <li><a href="nut%20welder.html">Nut Welding</a></li>
                <li><a href="soundwich.html">Dashboard</a></li>
                <li><a href="water%20pump.html">Drilling</a></li>
                <li><a href="rotor_deburing.html">Deburing</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">General</a>
              <ul>
                <li><a href="road%20construction.html">Road Construction</a></li>
                <li><a href="large%20hose.html">Large Hose Mfg.  Drive</a></li>
              </ul>
            </li>
            <li><a href="IMTS%20show.html">IMTS Show</a></li>
            <li><a href="http://www.yedaengineering.com/">Yeda LLC</a></li>
          </ul>
    </div>
    <h2> </h2>
        <p class="MenuBarHorizontal"> </p>
        <p> </p>
    <p class="style12"> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
    </div>
    <div class="footer">
        <div id="apDiv8">Nogah Engineering 1800 London Road Unit C Cleveland Ohio 44112 USA Tel: 216.738.1730 Fax: 216.738.1770 </div>
        <p> </p>
      <!-- end .footer --></div>
    <!-- end .container --></div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    <!-- InstanceEnd --></html>
    Thanks.

    All these supporting files are missing (404 not found on server). 
    <link href="../Spry-UI-1.7/css/SpryImageSlideShow.css" rel="stylesheet" type="text/css">
    <script src="../Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryImageLoader.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/SpryImageSlideShow.js" type="text/javascript"></script>
    <script src="../Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryPanAndZoomPlugin.js" type="text/javascript"></script>
    Upload Spry-UI-1.7 folder to your remote server by clicking the folder and hitting the UP arrow in your Files Panel.
    Also, validate your code and fix reported errors.  You have unbalanced div tags.
    HTML - http://validator.w3.org/
    Nancy O.

  • My drop down menus made in Fireworks wont work after I put them in Dreamweaver

    I am trying to make a site for my work. And I made a drop down menu within Fireworks. I pasted the code into the place I wanted it to go on Dreamweaver, then I saved the page and went into Internet Explorer. I rolled over my buttons that were supposed to be drop downs and they only work if you refresh then roll over and once you take your mouse off of it, you'd have to refresh again to see the buttons. I have tried and tried to figure this out but I just cant seem to. PLEASE HELP!
    JoLynn
    Here is the link to my page
    http://lakechelanmirror.bravehost.com/
    The drop down menus are supposed to be the NEWS button and MIRROR BLOG button.
    I THINK this is the code for the menu..
    var mmOpenContainer = null;
    var mmOpenMenus = null;
    var mmHideMenuTimer = null;
    function MM_menuStartTimeout(hideTimeout) {
    mmHideMenuTimer = setTimeout("MM_menuHideMenus()", hideTimeout);
    function MM_menuHideMenus() {
    MM_menuResetTimeout();
    if(mmOpenContainer) {
      var c = document.getElementById(mmOpenContainer);
      c.style.visibility = "inherit";
      mmOpenContainer = null;
    if( mmOpenMenus ) {
      for(var i in mmOpenMenus) {
       var m = document.getElementById(mmOpenMenus[i]);
       m.style.visibility = "hidden";  
      mmOpenMenus = null;
    function MM_menuHideSubmenus(menuName) {
    if( mmOpenMenus ) {
      var h = false;
      var c = 0;
      for(var i in mmOpenMenus) {
       if( h ) {
        var m = document.getElementById(mmOpenMenus[i]);
        m.style.visibility = "hidden";
       } else if( mmOpenMenus[i] == menuName ) {
        h = true;
       } else {
        c++;
      mmOpenMenus.length = c+1;
    function MM_menuOverMenuItem(menuName, subMenuSuffix) {
    MM_menuResetTimeout();
    MM_menuHideSubmenus(menuName);
    if( subMenuSuffix ) {
      var subMenuName = "" + menuName + "_" + subMenuSuffix;
      MM_menuShowSubMenu(subMenuName);
    function MM_menuShowSubMenu(subMenuName) {
    MM_menuResetTimeout();
    var e = document.getElementById(subMenuName);
    e.style.visibility = "inherit";
    if( !mmOpenMenus ) {
      mmOpenMenus = new Array;
    mmOpenMenus[mmOpenMenus.length] = "" + subMenuName;
    function MM_menuResetTimeout() {
    if (mmHideMenuTimer) clearTimeout(mmHideMenuTimer);
    mmHideMenuTimer = null;
    function MM_menuShowMenu(containName, menuName, xOffset, yOffset, triggerName) {
    MM_menuHideMenus();
    MM_menuResetTimeout();
    MM_menuShowMenuContainer(containName, xOffset, yOffset, triggerName);
    MM_menuShowSubMenu(menuName);
    function MM_menuShowMenuContainer(containName, x, y, triggerName) {
    var c = document.getElementById(containName);
    var s = c.style;
    s.visibility = "inherit";
    mmOpenContainer = "" + containName;

    Only half works in opera, menu doesn't stay visible long enough to click on it.
    I'm also getting "<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>" at the top of every page?

  • Cannot view my pages in a browser

    I starting designing a small website yesterday and I could
    preview all of the pages and their links in my local browser. Today
    however, there seems to have been a problem and the 'Internet
    Explorer cannot display the webpage' page keeps on popping up. I
    have tried to set the browser preferences to a temporary folder but
    that hasn't changed anything either. My site root folder is saved
    on my external harddrive, could this be a problem? This is my first
    attempt t setting up a site and all of the Dreamweaver help pages
    are well above my level of understanding abotu coding. Is there an
    easy way to resolve this?
    Many thanks,
    Rosie

    It might not be your only problem, but remove
    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    from above the DOCTYPE
    Does this help?
    Jo
    "Rosie E" <[email protected]> wrote in
    message
    news:[email protected]...
    >I starting designing a small website yesterday and I
    could preview all of
    >the
    > pages and their links in my local browser. Today
    however, there seems to
    > have
    > been a problem and the 'Internet Explorer cannot display
    the webpage' page
    > keeps on popping up. I have tried to set the browser
    preferences to a
    > temporary
    > folder but that hasn't changed anything either. My site
    root folder is
    > saved on
    > my external harddrive, could this be a problem? This is
    my first attempt t
    > setting up a site and all of the Dreamweaver help pages
    are well above my
    > level
    > of understanding abotu coding. Is there an easy way to
    resolve this?
    >
    > Many thanks,
    > Rosie
    >
    > <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    > <!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" />
    > <!-- TemplateBeginEditable name="doctitle" -->
    > <title>basic_sheet_layout</title>
    > <!-- TemplateEndEditable --><!--
    TemplateBeginEditable name="head" --><!--
    > TemplateEndEditable -->
    > <link href="../basic.css" rel="stylesheet"
    type="text/css" />
    > <!--[if IE 5]>
    > <style type="text/css">
    > /* place css box model fixes for IE 5* in this
    conditional comment */
    > .twoColFixLtHdr #sidebar1 { width: 230px; }
    > </style>
    > <![endif]-->
    > <!--[if IE]>
    > <style type="text/css">
    > /* place css fixes for all versions of IE in this
    conditional comment */
    > .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    > .twoColFixLtHdr #mainContent { zoom: 1; }
    > /* the above proprietary zoom property gives IE the
    hasLayout it needs to
    > avoid several bugs */
    > </style>
    > <![endif]-->
    > <style type="text/css">
    > <!--
    > body,td,th {
    > color: #000033;
    > font-style: italic;
    > }
    > body {
    > background-color: #7D7DFF;
    > background-image: url(../Images/background2.jpg);
    > margin-left: 10px;
    > margin-top: 10px;
    > margin-right: 10px;
    > margin-bottom: 10px;
    > }
    > -->
    > </style>
    > <script src="../SpryAssets/SpryMenuBar.js"
    > type="text/javascript"></script>
    > <link href="../SpryAssets/SpryMenuBarVertical.css"
    rel="stylesheet"
    > type="text/css" />
    > <!-- TemplateParam name="descriptive text"
    type="boolean" value="true" -->
    > <style type="text/css">
    > <!--
    > .style1 {font-size: small}
    > -->
    > </style>
    > <script src="../Scripts/AC_RunActiveContent.js"
    > type="text/javascript"></script>
    > </head>
    >
    > <body class="twoColFixLtHdr">
    >
    > <div id="container">
    > <div id="header">
    > <h1>Rosie Earp &gt; Work Archive</h1>
    > <!-- end #header --></div>
    > <div id="sidebar1">
    > <ul id="MenuBar1" class="MenuBarVertical">
    > <li><a class="MenuBarItemSubmenu"
    href="#">Home
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=5,0,0,0','width','87','height','28','title','homepage','src','text1','qu
    > ality','high','pluginspage','
    http://www.adobe.com/shockwave/download/download.cg
    >
    i?P1_Prod_Version=ShockwaveFlash','bgcolor','#AEAEFF','movie','text1'
    > //end
    > AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=5,0,0,0" width="87" height="28"
    title="homepage">
    > <param name="movie" value="text1.swf" />
    > <param name="quality" value="high" />
    > <param name="bgcolor" value="#AEAEFF" />
    > <embed src="text1.swf" quality="high"
    > pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
    > n=ShockwaveFlash" type="application/x-shockwave-flash"
    width="87"
    > height="28"
    > bgcolor="#AEAEFF"></embed>
    > </object></noscript>
    > </a></li>
    > <li><a href="#"
    class="MenuBarItemSubmenu">About Me</a>
    > <ul>
    > <li><a href="#">CV</a></li>
    > <li><a href="#">Contact
    </a></li>
    > </ul>
    > </li>
    > <li><a class="MenuBarItemSubmenu"
    href="#">Second Year Work</a>
    > <ul>
    > <li><a class="MenuBarItemSubmenu"
    href="#">Sumac Project</a>
    > <ul>
    > <li><a href="#">Graffiti Concept
    Project</a></li>
    > <li><a href="#">SketchUp
    Modelling</a></li>
    > </ul>
    > </li>
    > </ul>
    > </li>
    > <li><a href="#"
    class="MenuBarItemSubmenu">Third Year Work</a>
    > <ul>
    > <li><a href="#">Project
    Description</a></li>
    > <li><a href="#"
    class="MenuBarItemSubmenu">Nottingham </a>
    > <ul>
    > <li><a href="#">The
    Flanuer</a></li>
    > <li><a href="#">Journey Image
    Gallery</a></li>
    > <li><a href="#">Panels</a></li>
    > </ul>
    > </li>
    > <li><a href="#"
    class="MenuBarItemSubmenu">Edinburgh</a>
    > <ul>
    > <li><a href="#">Site
    Analysis</a></li>
    > <li><a href="#">Conceptual
    Work</a></li>
    > <li><a href="#">Design
    Development</a></li>
    > <li><a href="#">2D
    Drawings</a></li>
    > <li><a href="#">3D Rhino
    Modelling</a></li>
    > </ul>
    > </li>
    > </ul>
    > </li>
    > </ul>
    > <h3> </h3>
    > <!-- end #sidebar1 --></div>
    > <div id="mainContent">
    > <p align="left"> Main Content </p>
    > <h1 align="center"><!-- TemplateBeginEditable
    name="gallery
    > image" --><img
    > src="../Images/second_year_web/images/P1030597.jpg"
    alt="grffiti"
    > width="322"
    > height="423" /><!-- TemplateEndEditable
    --></h1>
    > <!-- TemplateBeginIf cond="_document['descriptive
    text']" -->project
    > desription<!-- TemplateEndIf -->
    > <h2> </h2>
    > <!-- end #mainContent --></div>
    > <!-- This clearing element should immediately follow
    the #mainContent div
    > in
    > order to force the #container div to contain all child
    floats --><br
    > class="clearfloat" />
    > <div id="footer">
    > <p align="center" class="style1">Rosie Earp -
    Design Extra Website -
    > Spring 2007</p>
    > <!-- end #footer --></div>
    > <!-- end #container --></div>
    > <script type="text/javascript">
    > <!--
    > var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
    > {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    > //-->
    > </script>
    > </body>
    > </html>
    >

  • Why do I get an 800a0d5d error on a delete?

    Hi,
    I am using SQL Server, and my site is defined as ASP Javascript.
    I add and update this table fine, but when I go to delete a record, I get:
    ADODB.Command error '800a0d5d'
    Application uses a value of the wrong type for the  current operation.
    /admin/consumer/condeldet.asp, line 27
    I'm using DW's delete function. What could I be doing wrong? I'm not sure where to look.
    Here is the code with line 27 in bold:
    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    <!--#include virtual="/Connections/PA.asp" -->
    <%
    // *** Edit Operations: declare variables
    // set the form action variable
    var MM_editAction = Request.ServerVariables("SCRIPT_NAME");
    if (Request.QueryString) {
      MM_editAction += "?" + Server.HTMLEncode(Request.QueryString);
    // boolean to abort record edit
    var MM_abortEdit = false;
    %>
    <%
    // *** Delete Record: construct a sql delete statement and execute it
    if (String(Request("MM_delete")) == "form1" &&
        String(Request("MM_recordId")) != "undefined") {
      if (!MM_abortEdit) {
        // execute the delete
        var MM_editCmd = Server.CreateObject ("ADODB.Command");
        MM_editCmd.ActiveConnection = MM_PA_STRING;
        MM_editCmd.CommandText = "DELETE FROM redleader.Consumer WHERE Consumer_ID = ?"
        MM_editCmd.Prepared = true;
       MM_editCmd.Parameters.Append(MM_editCmd.CreateParameter("param1", 5, 1, -1, Request.Form("MM_recordId"))); // adDouble
        MM_editCmd.Execute();
        MM_editCmd.ActiveConnection.Close();
        // append the query string to the redirect URL
        var MM_editRedirectUrl = "/admin/success.asp";
        if (MM_editRedirectUrl && Request.QueryString && Request.QueryString.Count > 0) {
          MM_editRedirectUrl += ((MM_editRedirectUrl.indexOf('?') == -1) ? "?" : "&") + Request.QueryString;
        Response.Redirect(MM_editRedirectUrl)
    %>
    <%
    // *** Restrict Access To Page: Grant or deny access to this page
    var MM_authorizedUsers="y";
    var MM_authFailedURL="/admin/loginerr.asp";
    var MM_grantAccess=false;
    if (String(Session("MM_Username")) != "undefined") {
      if (false || (String(Session("MM_UserAuthorization"))=="") || (MM_authorizedUsers.indexOf(String(Session("MM_UserAuthorization"))) >=0)) {
        MM_grantAccess = true;
    if (!MM_grantAccess) {
      var MM_qsChar = "?";
      if (MM_authFailedURL.indexOf("?") >= 0) MM_qsChar = "&";
      var MM_referrer = Request.ServerVariables("URL");
      if (String(Request.QueryString()).length > 0) MM_referrer = MM_referrer + "?" + String(Request.QueryString());
      MM_authFailedURL = MM_authFailedURL + MM_qsChar + "accessdenied=" + Server.URLEncode(MM_referrer);
      Response.Redirect(MM_authFailedURL);
    %>
    <%
    var Recordset1__MMColParam = "1";
    if (String(Request.QueryString("Consumer_ID")) != "undefined" &&
        String(Request.QueryString("Consumer_ID")) != "") {
      Recordset1__MMColParam = String(Request.QueryString("Consumer_ID"));
    %>
    <%
    var Recordset1_cmd = Server.CreateObject ("ADODB.Command");
    Recordset1_cmd.ActiveConnection = MM_PA_STRING;
    Recordset1_cmd.CommandText = "SELECT * FROM redleader.Consumer WHERE Consumer_ID = ?";
    Recordset1_cmd.Prepared = true;
    Recordset1_cmd.Parameters.Append(Recordset1_cmd.CreateParameter("param1", 5, 1, -1, Recordset1__MMColParam)); // adDouble
    var Recordset1 = Recordset1_cmd.Execute();
    var Recordset1_numRows = 0;
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html lang="en"><!-- InstanceBegin template="/Templates/main2col.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Consumer Directed Choices</title>
    <!-- InstanceEndEditable -->
    <link href="/main2col.css" rel="stylesheet" type="text/css">
    <link href="/allshared.css" rel="stylesheet" type="text/css">
    <link rel="shortcut icon" href="favicon.ico">
    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="iehacks.css" />
    <![endif]-->
    <!--[if IE 7]>
    <style type="text/css">
    #primaryContent {
    zoom: 1;
    width: 684px;
        /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    </head>
    <body class="twoColLayout">
    <div id="container">
    <div id="header"><img src="/images/logolong.jpg" alt="logo" width="685" height="150"><a href="#MainContent"><img src="/images/smallpics/trans.gif" alt="Skip Navigation" width="1" height="1" border="0"></a>
    <a href="#submenu"><img src="/images/smallpics/trans.gif" alt="Go to submenu" width="1" height="1" border="0"></a>
    <ul id="navtop">
    <li id="nav_pgm"><a href="/pgms.asp">Programs, Services</a></li>
    <li id="nav_con"><a href="/contactus.asp">Contact us</a></li>
    <li id="nav_emp"><a href="/empopps.asp">Employment</a></li>
    <li id="nav_don"><a href="/donate.asp">Donations</a></li>
    </ul>
    <!-- end #header --></div>
    <ul id="navleft">
    <li id="nav_hom"><a href="/index.asp">Home</a></li>
    <li id="nav_do"><a href="/whatwedo.asp">  Who We Are</a></li>
    <li id="nav_cabout"><a href="/consumers/login.asp">Current Consumers</a></li>
    <li id="nav_pabout"><a href="/pa/about.asp">Current PAs</a></li>
    <li id="nav_cal"><a href="http://www.calendarwiz.com/calendars/calendar.php?crd=cdchoices&" target="_blank">Calendar</a></li>
    <li id="nav_pro"><a href="/profiles/profiles.asp">Profiles</a></li>
    <li id="nav_news"><a href="/news.asp">CDC in the News</a> </li>
    <li id="nav_lnk"><a href="/links.asp">Links</a></li>
    <li id="nav_blank"><a href="/message.asp"> Message from CEO</a></li>
    <!-- InstanceBeginEditable name="OptionalMenuPicture" --> <a name="submenu" id="MainContent2"></a>
    <li class="c2">
    OptionalMenuPicture<!-- InstanceEndEditable -->
      </ul>
      <div id="primaryContent"><a name="MainContent" id="MainContent"></a>
      <!-- InstanceBeginEditable name="primaryContent" -->
      <h1>Delete a Consumer</h1>
      <form ACTION="<%=MM_editAction%>" METHOD="POST" id="form1" name="form1">
        <p><%=(Recordset1.Fields.Item("FirstName").Value)%> <%=(Recordset1.Fields.Item("LastName").Value)%></p>
        <p><strong>Gender:</strong> <%=(Recordset1.Fields.Item("Gender").Value)%></p>
        <p> </p>
        <p><%=(Recordset1.Fields.Item("NearbyCrossStreets").Value)%></p>
        <p><%=(Recordset1.Fields.Item("City").Value)%>, <%=(Recordset1.Fields.Item("State").Value)%>  <%=(Recordset1.Fields.Item("ZipCode").Value)%></p>
        <p> </p>
        <table width="500" border="1" cellpadding="2" cellspacing="0" class="rosebox">
          <tr>
            <td width="69" valign="top" class="textbold"><div align="right">CDC Ext:</div></td>
            <td width="417"><%=(Recordset1.Fields.Item("CDCExtOrDID").Value)%></td>
          </tr>
          <tr>
            <td valign="top" class="textbold"><div align="right"><strong>County:</strong></div></td>
            <td><%=(Recordset1.Fields.Item("AddressCounty").Value)%></td>
          </tr>
        </table>
        <p> </p>
        <p>Be careful! This cannot be undone!</p>
        <p> </p>
        <p>
          <label>
          <input type="submit" name="delbut" id="delbut" value="Delete" />
          </label>
        </p>
        <input type="hidden" name="MM_delete" value="form1">
        <input type="hidden" name="MM_recordId" value="<%= Recordset1.Fields.Item("Consumer_ID").Value %>">
      </form>
      <!-- InstanceEndEditable -->  </div>
    <!-- end #container --></div>
    </body>
    <!-- InstanceEnd --></html>
    <%
    Recordset1.Close();
    %>
    Any direction would be greatly appreciated!!!

    Certainly you would think that and I would too, but I've seen enough reports on here describing this scenario that were eventually fixed by reformating the card to give me pause. Don't claim to understand it, or guarantee that it will work but it's a very quick fix to try.
    Regards
    TD

  • Header photos keep moving

    How do i keep the photos in my header from moving down the page when i resize my screen smaller. it also seems to effect the photos when viewed on line. check it out at www.kansasspineinstitute.com i just need the photos to be next to each other. thanks

    Comments on your site:
    You have a line of code above the <!DOCTYPE on all your pages. Remove that line [ <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> ]; I think it will throw off the browsers' rendering.
    Please optimize your photos when you use them on a webpage. I would have clicked away immediately because they take so long to load at the size (file-wise)that they are now.
    It is pretty simple to resize them, right from Dreamweaver. Look in the Property Inspector for an icon that looks like a figure eight falling over. Click your image, then click the Edit Image Settings icon (the falling-over figure 8). Click on the "File" tab, and you will see how huge your images are. Going by the final size in your page, put one of those numbers in and the image will adjust to that size, proportionally. You will need to check the size indicated in the <img src... that calls in the image, to make sure it is the final size you want.
    I'm not understanding what you mean about your pictures not being lined up. Please explain.
    While you're at it, you should get rid of word-spaces in file names.
    Beth

  • How do I get facebook games to display correctly?

    While using Firefox the bottom of screen is cut off. I have updated Flash, Firefox and windows 7, tried all the options, help forums, FAQ's with no
    luck, can anyone help, please!

    The DW built in scripting will do that, those specific to the DW generated scripts are  not an issue.
    The missing end tags are a big issue though. None of your links in your menu have an end tag </a>, you are also missing a few </li>, that causes the rest of your page to basically become a link since the browser doesn't understand what you're trying to do. That is not part of any pre-made template I've ever seen in DW.
    You also have <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> at the beginning of your page, that needs to go completely. That gets added when you accidentally choose "ASP Javascript" when creating a new page rather than "HTML".
    There is a meta tag outside the <head> area of your code, that needds to be moved between your head tags. You also forgot to self close the keywords and description meta by using /> instead of > (not a major issue, but due to doctype, should be fixed)
    Because you're missing an ending </p> tag at about line 287 you'll get errors involving a lot of the remaining tags saying something to the effect of "canot go here, missing object..."

  • Div display in and out of dreamweaver

    As an experiment, I am painstakingly hand coding a template
    using css to create boxes with rounded edges. I have what looks
    like an L shaped box on its side on the left top corner with a
    small box directly to its right. Nestled in the "Gap" of this "L"
    is my main content div.
    See here:
    http://www.centralheatingandcoolingnow.com/test2.html
    My question is this: It displays properly in IE and FF, but
    not in my Dreamweaver edit window. This is the second time I have
    run across problems with the DW display not doing what I want it to
    do. If it looks right in DW, it is all wrong when it hits the
    browser. In this case, the main content box is moved up 130px from
    its original position. In DW, it is covering my header boxes
    completely. If I don't move it up, it looks right in DW, but not in
    the browser (it's off by that 130px).
    I would like to create this template in DW so I can easily
    edit multiple pages with the template. I suppose I can do it
    because the content box is on top of the header (which won't need
    to be changed anyway). Is there something I can do to get this to
    look right in DW, or is this a quirk I need to get used to?

    Sharon1175 wrote:
    > As an experiment, I am painstakingly hand coding a
    template using css to create
    > boxes with rounded edges. I have what looks like an L
    shaped box on its side on
    > the left top corner with a small box directly to its
    right. Nestled in the
    > "Gap" of this "L" is my main content div.
    >
    > See here:
    http://www.centralheatingandcoolingnow.com/test2.html
    >
    > My question is this: It displays properly in IE and FF,
    but not in my
    > Dreamweaver edit window. This is the second time I have
    run across problems
    > with the DW display not doing what I want it to do. If
    it looks right in DW,
    > it is all wrong when it hits the browser. In this case,
    the main content box
    > is moved up 130px from its original position. In DW, it
    is covering my header
    > boxes completely. If I don't move it up, it looks right
    in DW, but not in the
    > browser (it's off by that 130px).
    >
    > I would like to create this template in DW so I can
    easily edit multiple pages
    > with the template. I suppose I can do it because the
    content box is on top of
    > the header (which won't need to be changed anyway). Is
    there something I can
    > do to get this to look right in DW, or is this a quirk I
    need to get used to?
    It seems each release gets better and better at displaying
    CSS layouts,
    for CS3 has been fine, and I hear that CS4 is better.
    The first thing I notice is that you have this at the top of
    the page:
    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    Thats ASP code, your page is HTML, get rid of that, I doubt
    it will help
    your problem, but it will let your page validate.
    Your CSS has an error too, line 129 says:
    background-color: ffff90
    it should be
    background-color: #ffff90
    Again not a serious problem, but worth correcting.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

  • How to upload a calculated value

    I am a beginner Dreamweaver CS4 user and I am building a website with PHP and MySQL.
    My issue will be probably easily solved by any experienced DW user but I couldn't find a solution in tutorials and specialized books.
    I have to sell a product and I need that customer fills a Purchase Order. To this purpose I have a HTML form with 3 text fields: "UnitPrice", "Quantity" and "TotalPrice". The customer have to fill the "Quantity" field only because the "UnitPrice" is a constant value and the "TotalPrice" is a calculate value. I am using the Insert Record Server Behavior to upload data and I have no problem with the first two fields that are loaded into the MySQL database normally.
    My question is, what is the way to calculate the "TotalPrice" ("UnitPrice" multiplied by "Quantity"), put this value in the appropriate field and upload it into the database?
    I'll be very grateful to someone who can give me a hand about that.

    Here is the full code for that page
    <?php require_once('Connections/Registro.php');
    mysql_query("SET NAMES utf8")?>
    <?php
    //initialize the session
    if (!isset($_SESSION)) {
      session_start();
    ?>
    <?php
    // This is a testing variable only that works well but it needs to change the value "10" for the value inserted by the customer
    $SubtotalDispositivos = 39.95 * 10
    ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;  
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO Pedidos_Telefonos (emailusuario, preciounitariodispositivo, cantidaddispositivos, subtotaldispositivos, preciounitarioseguro, cantidadseguro, subtotalseguro, costodispositivos, medioenvio, costoenvio, costoimpuestos, totalapagar) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['emailusuario'], "text"),
                           GetSQLValueString($_POST['preciounitariodispositivo'], "double"),
                           GetSQLValueString($_POST['cantidaddispositivos'], "int"),
                           GetSQLValueString($_POST['subtotaldispositivos'], "double"),
                           GetSQLValueString($_POST['preciounitarioseguro'], "double"),
                           GetSQLValueString($_POST['cantidadseguro'], "int"),
                           GetSQLValueString($_POST['subtotalseguro'], "double"),
                           GetSQLValueString($_POST['costodispositivos'], "double"),
                           GetSQLValueString($_POST['medioenvio'], "text"),
                           GetSQLValueString($_POST['costoenvio'], "double"),
                           GetSQLValueString($_POST['costoimpuestos'], "double"),
                           GetSQLValueString($_POST['totalapagar'], "double"));
      mysql_select_db($database_Registro, $Registro);
      $Result1 = mysql_query($insertSQL, $Registro) or die(mysql_error());
      $insertGoTo = "comprartutelefonoprueba2.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    $colname_DatosIniciales = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_DatosIniciales = $_SESSION['MM_Username'];
    mysql_select_db($database_Registro, $Registro);
    $query_DatosIniciales = sprintf("SELECT emailusuario FROM Registro_Usuarios WHERE emailusuario = %s", GetSQLValueString($colname_DatosIniciales, "text"));
    $DatosIniciales = mysql_query($query_DatosIniciales, $Registro) or die(mysql_error());
    $row_DatosIniciales = mysql_fetch_assoc($DatosIniciales);
    $totalRows_DatosIniciales = mysql_num_rows($DatosIniciales);
    ?>
    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    <!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"><!-- InstanceBegin template="/Templates/masinformacion.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Información adicional</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="oneColLiqCtrHdr.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="oneColLiqCtrHdr">
    <div class="oneColLiqCtrHdr" id="container">
      <div id="header"><a href="http://www.tullaveausa.com"><img src="images/logo azul.jpg" alt="tu-llave-a-USA" width="323" height="77" align="middle" /></a>
        <!-- end #header --></div>
      <!-- InstanceBeginEditable name="Contenido" -->
      <div id="mainContent">
        <h1>Comprar  dispositivo(s) telefónico(s) PRUEBA (último)</h1>
        <form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>">
          <p>Cálculo de costos en Dólares de los Estados Unidos (usar formato con punto decimal y dos dígitos decimales).</p>
          <h3><strong>1. Costo del(los) Dispositivo(s)</strong>
            <input name="emailusuario" type="hidden" id="emailusuario" value="<?php echo $row_DatosIniciales['emailusuario']; ?>" />
            <?php echo $row_DatosIniciales['emailusuario']; ?></h3>
          <blockquote>
            <table width="443" border="1" align="center">
              <caption>
                <strong>Tabla 1. Costo del(los) dispositivo(s) </strong>
              </caption>
              <tr align="center">
                <td width="166"><strong>1. Concepto</strong></td>
                <td width="75"><strong>2. Precio Unitario</strong></td>
                <td width="71"><strong>3. Cantidad</strong></td>
                <td width="103"><strong>4. Subtotal (Col. 2 X Col.3)</strong></td>
              </tr>
              <tr>
                <td>Dispositivo(s) magicJack:</td>
                <td align="center"><input name="preciounitariodispositivo" type="text" id="preciounitariodispositivo" value="39.95" size="8" maxlength="10" readonly="readonly" /></td>
                <td align="center"><input name="cantidaddispositivos" type="text" id="cantidaddispositivos" value="1" size="2" maxlength="2" />
                *</td>
                <td align="center"><input name="subtotaldispositivos" type="text" id="subtotaldispositivos" value="<?php echo $SubtotalDispositivos; ?>" size="8" maxlength="10" readonly="readonly" /></td>
              </tr>
              <tr>
                <td>Seguro por pérdida o daño (opcional)*:</td>
                <td align="center"><input name="preciounitarioseguro" type="text" id="preciounitarioseguro" value="5.00" size="8" maxlength="10" readonly="readonly" /></td>
                <td align="center"></span>
                  <input name="cantidadseguro" type="text" id="cantidadseguro" value="0" size="2" maxlength="2" />
                *</td>
                <td align="center"><input name="subtotalseguro" type="text" id="subtotalseguro" size="8" maxlength="10" readonly="readonly" /></td>
              </tr>
              <tr>
                <td colspan="3"><strong>TOTAL DIPOSITIVO(S)</strong> (Suma columna 4):</td>
                <td align="center"><span id="sprytextfield14">
                  <input name="totaldispositivos" type="text" id="totaldispositivos" size="8" maxlength="10" readonly="readonly" />
                </span></td>
              </tr>
            </table>
            <blockquote>
              <blockquote>
                <p>Nota: Sólo llenar los campos marcados con * y luego ir a la Tabla 3</p>
              </blockquote>
            </blockquote>
          </blockquote>
          <h3><strong>2. Costo de manipuleo y envío</strong></h3>
          <table width="623" border="1" align="center">
            <tr>
              <th width="228" scope="col">Destino</th>
              <th width="101" align="center" scope="col">Correo aéreo regular*</th>
              <th width="98" align="center" scope="col">Correo aéreo certificado*</th>
              <th width="88" align="center" scope="col">Express Mail Service</th>
              <th width="74" align="center" scope="col">Fed-Ex Courier</th>
            </tr>
            <tr>
              <td scope="row">Estados Unidos (continental)</td>
              <td align="center">6.95</td>
              <td align="center">N/A</td>
              <td align="center">N/A</td>
              <td align="center">N/A</td>
            </tr>
            <tr>
              <td scope="row">México y Canadá</td>
              <td align="center">8.50</td>
              <td align="center">18.50</td>
              <td align="center">29.00</td>
              <td align="center">34.00</td>
            </tr>
            <tr>
              <td scope="row">Centro y Sudamérica (incluye Alaska y Puerto Rico)</td>
              <td align="center">12.00</td>
              <td align="center">22.00</td>
              <td align="center">34.00</td>
              <td align="center">45.00</td>
            </tr>
            <tr>
              <td scope="row">Europa, Asia, África y Oceanía (incluye Hawaii)</td>
              <td align="center">12.50</td>
              <td align="center">22.50</td>
              <td align="center">45.00</td>
              <td align="center">50.00</td>
            </tr>
            <caption>
              <strong>Tabla 2: Costo de manipuleo y envío para 1 ó 2 dispositivos</strong>
            </caption>
          </table>
          <blockquote> </blockquote>
          <h4>3. Costo total </h4>
          <table width="616" border="1" align="center">
            <caption>
              <strong>Tabla 4. Costo total </strong>
            </caption>
            <tr>
              <th width="383" scope="col">Concepto</th>
              <th width="126" align="center" scope="col">Medio de envío elgido</th>
              <th width="85" align="center" scope="col">Costo</th>
            </tr>
            <tr>
              <td colspan="2" align="left" scope="row">Costo del(los) dispositivo(s) (Total Tabla 1.):</td>
              <td align="left"><input name="costodispositivos" type="text" id="costodispositivos" size="8" maxlength="8" readonly="readonly" /></td>
    </tr>
            <tr>
              <td align="left" scope="row">Costo de envío (Valor correspondiente Tabla 2 ó 3.):</td>
              <td align="left"><input name="medioenvio" type="text" id="medioenvio" size="15" maxlength="25" />
              *</td>
              <td align="left"><input name="costoenvio" type="text" id="costoenvio" size="8" maxlength="8" />
              *</td>
    </tr>
            <tr>
              <td colspan="2" align="left" scope="row">Impuestos (6%):</td>
              <td align="left"><input name="costoimpuestos" type="text" id="costoimpuestos" size="8" maxlength="8" readonly="readonly" /></td>
    </tr>
            <tr>
              <th colspan="2" align="left" scope="row">TOTAL A PAGAR (Subtotal + impuestos):</th>
              <td align="left"><input name="totalapagar" type="text" id="totalapagar" size="8" maxlength="8" readonly="readonly" /></td>
    </tr>
    </table>
          <blockquote>
            <blockquote>
              <blockquote>
                <p>Nota: Sólo llenar los campos marcados con * y luego presionar &quot;Calcular valores&quot;</p>
              </blockquote>
            </blockquote>
          </blockquote>
          <table width="200" border="0" align="center">
            <tr>
              <td align="right"><input type="reset" name="cancelar" id="cancelar" value="Cancelar" /></td>
              <td align="left"><input type="submit" name="calcular" id="calcular" value="Calcular valores" /></td>
            </tr>
          </table>
          <input type="hidden" name="MM_insert" value="form1" />
        </form>
        <hr />
        <p><a href="obtenertutelefono.php">Volver a &quot;obtener un nuevo teléfono&quot;</a> (anulando proceso de compra)</p>
        <p><a href="principalcuenta.php">Volver a tu cuenta</a>
          <!-- end #mainContent -->
          (anulando proceso de compra)</p>
        <p> </p>
        <!-- end #mainContent -->
      </div>
    <!-- InstanceEndEditable -->
      <div id="footer">
        <!-- end #footer -->
      </div>
    <!-- end #container --></div>
    </body>
    <!-- InstanceEnd --></html>
    <?php
    mysql_free_result($DatosIniciales);
    ?>

  • How do I get my page to display correctly in IE?

    I am redesigning my template, and I have posted the current result here:
    http://www.bikeraceinfo.com/test5.html
    Most of the CSS is in the document itself (I've left in the comments until I get done, sorry it's so long; DW put most of it there), but the CSS for the menu (the main problem) is here:
    http://www.bikeraceinfo.com/menu4.css
    The menu works fine in Opera, Firefox, and Chrome. Then there's IE (I'm testing it in 8). The menu is all spread out vertically (items too far apart), and the while the sub-menu shows up when you hover over the main title, it doesn't stick around long enough to choose a sub-item (unless you mouse really fast).
    IE behaves enough differently than the other three that I feel there must be some single line of code that IE wants in order to render correctly.
    Another thing that happens in all of them: when you get the mouse near the menu, all of the type on the page gets an underline, like it's linked to something. IE goes one further and puts a red box around the graphic in the sidebar.
    Help! Thanks---

    The DW built in scripting will do that, those specific to the DW generated scripts are  not an issue.
    The missing end tags are a big issue though. None of your links in your menu have an end tag </a>, you are also missing a few </li>, that causes the rest of your page to basically become a link since the browser doesn't understand what you're trying to do. That is not part of any pre-made template I've ever seen in DW.
    You also have <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> at the beginning of your page, that needs to go completely. That gets added when you accidentally choose "ASP Javascript" when creating a new page rather than "HTML".
    There is a meta tag outside the <head> area of your code, that needds to be moved between your head tags. You also forgot to self close the keywords and description meta by using /> instead of > (not a major issue, but due to doctype, should be fixed)
    Because you're missing an ending </p> tag at about line 287 you'll get errors involving a lot of the remaining tags saying something to the effect of "canot go here, missing object..."

Maybe you are looking for