Dreamweaver Template & Javascript

I have a Dreamweaver template with this script:
<SCRIPT type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length; i++)
if (a
.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
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;
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers
.document);
if(!x && d.getElementById) x=d.getElementById(n);
return x;
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
// Comma separated list of images to rotate
var imgs = new
Array('images/northcampus/IMG_0587.JPG','images/northcampus/IMG_0593.JPG','images/northca mpus/IMG_0596.JPG','images/northcampus/IMG_0620.JPG','images/northcampus/IMG_0625.JPG');
// delay in milliseconds between image swaps 1000 = 1 second
var delay = 5000;
var counter = 0;
function preloadImgs(){
for(var i=0;i<imgs.length;i++){
MM_preloadImages(imgs
function randomImages(){
if(counter == (imgs.length)){
counter = 0;
MM_swapImage('rotator', '', imgs[counter++]);
setTimeout('randomImages()', delay);
//-->
</SCRIPT>
When I create a new htmlpage & attach the template, the
new page has extra code in my script! The last function turns out
like this:
function randomImages(){
if(counter == (imgs.length)){
counter = 0;
MM_swapImage('rotator', '', imgs[counter++]imgs);
function randomImages(){
if(counter == (imgs.length)){
counter = 0;
MM_swapImage('rotator', '', imgs[counter++]);
setTimeout('randomImages()', delay);
How can I stop this from happening? It breaks my new page
every time!
Thanks for any ideas,
nicki

Upload the template file and post a link to it, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"akmagnolia" <[email protected]> wrote in
message
news:[email protected]...
>I have a Dreamweaver template with this script:
>
>
> -----------------------
> <SCRIPT type="text/javascript">
> <!--
> function MM_preloadImages() { //v3.0
> var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
> var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
for(i=0;
> i<a.length;
> i++)
> if (a
.indexOf("#")!=0){ d.MM_p[j]=new Image;
> d.MM_p[j++].src=a;}}
> }
>
> 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;
> }
>
> function MM_findObj(n, d) { //v4.01
> var p,i,x; if(!d) d=document;
>
if((p=n.indexOf("?"))>0&&parent.frames.length) {
> d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
> if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++)
> x=d.forms[n];
>
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
> x=MM_findObj(n,d.layers
.document);
> if(!x && d.getElementById)
x=d.getElementById(n); return x;
> }
>
> function MM_swapImage() { //v3.0
> var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
Array;
> for(i=0;i<(a.length-2);i+=3)
> if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
if(!x.oSrc)
> x.oSrc=x.src; x.src=a[i+2];}
> }
>
> // Comma separated list of images to rotate
> var imgs = new
>
Array('images/northcampus/IMG_0587.JPG','images/northcampus/IMG_0593.JPG','image
>
s/northcampus/IMG_0596.JPG','images/northcampus/IMG_0620.JPG','images/northcampu
> s/IMG_0625.JPG');
> // delay in milliseconds between image swaps 1000 = 1
second
> var delay = 5000;
> var counter = 0;
>
> function preloadImgs(){
> for(var i=0;i<imgs.length;i++){
> MM_preloadImages(imgs
> }
> }
>
> function randomImages(){
> if(counter == (imgs.length)){
> counter = 0;
> }
> MM_swapImage('rotator', '', imgs[counter++]);
> setTimeout('randomImages()', delay);
> }
> //-->
> </SCRIPT>
>
>
> ----------------------------------
>
> When I create a new htmlpage & attach the template,
the new page has extra
> code in my script! The last function turns out like
this:
>
>
> -------------------------------
> function randomImages(){
> if(counter == (imgs.length)){
> counter = 0;
> }
> MM_swapImage('rotator', '', imgs[counter++]imgs);
> }
> }
>
> function randomImages(){
> if(counter == (imgs.length)){
> counter = 0;
> }
> MM_swapImage('rotator', '', imgs[counter++]);
> setTimeout('randomImages()', delay);
> }
>
>
> --------------------------
>
> How can I stop this from happening? It breaks my new
page every time!
> Thanks for any ideas,
> nicki
>
>

Similar Messages

  • Dreamweaver template files updating, but javascript/jquery not being called on random pages.

    Hello,
    I have been tasked with updating the navigation on a site that is using a Dreamweaver template (DWT) as the base file. The navigation was originally built using jQuery navigation UI, however this did not address all of our needs and I have updated it with another version of an accordion.
    The .dwt file only is only controlling the navigation and the head of the site.
    I have integrated the new xhtml structure and added/removed javascript/jquery into the .dwt file. I saved the file, therefore updating all of the relevant .html files, and verified that the accordion works.
    However - the accordion does not work for all of the xhtml files. Some files, seemingly at random, are not pulling in the javascript.
    When opening the relevant .html files, I can verify that they have all been updated with the new xhtml and the correct javasctipt. However, when viewing the .html files that are not displaying correctly with FireBug, I can see that none of the jquery/javascript is being applied to the navigation (classes are missing that are injected into the xhtml, but the structure and css is correct).
    I've done some research and the only issues I've been able to find are related to .xhtml files not being updated with the correct code, but in my case all of the affected files have the correct xhtml and scripts in the head.
    Does anyone have any light to shed on this subject? I am quite puzzled.

    While I understand that looking at code is the ultimate way to find a solution, the intent of my question was not "how do i fix this" or "what is wrong with my code" but rather "does anyone have any idea as to why this would be happening". Or even, "where would you start to troubleshoot this".
    I made my question general as such because I intended on trying to troubleshoot on my own in order to better understand the issue.
    Thank you for stating the obvious, not all first time forum posters are completely unaware of how to ask questions properly.

  • Flash banner in a Dreamweaver Template

    Hi all,
    I am using one of the provided Dreamweaver Templates (CSS).
    All is fine, except that for some reason it does not like Flash
    imports. I can alter the template as much as I like and it will
    always successfully change across the site, BUT if I try to insert
    a Flash movie/banner into the template - then it does not appear of
    ANY of the site files. The only way I can see the flash banner, is
    if I open the template.php file in a browser - then you can see
    that it is in fact there and working - but for some reason the
    other pages refuse to acknolwegde it. Images / Tables / Text - all
    work fine - just not flash banners. I even tried saving the banner
    as a JPG file in Flash, then sticking the JPG file in the template
    where the banner should - and it worked perfectly, but as a .swf
    extension it fails.
    Am I missing something?
    Nathan

    > BUT if I try to insert a Flash movie/banner into the
    template - then it
    > does not appear of ANY of the site files.
    Because of the active content .js fix, when you insert a .swf
    file into a
    template, you must use a Site Root relative path for it.
    Open the .dwt template file.
    Double-click on the .swf in design view- the "browse to file"
    dialog box
    should come up showing the currently selected file.
    look in the bottom of that dialog box for the pulldown to
    change from
    document relative path to site root relative path. Change it
    to site root.
    click okay and save the file, and let changes propagate.
    does it show in the child files now?
    [note- It may still not show during local preview because
    site root relative
    paths in javascript will not make any sense during local
    preview- they
    should work fine on the remote host if the site has it's own
    domain name
    though]
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • DreamWeaver Template - How to remove a border?

    Hi Folks,
    I'm a newbie here. 
    I decided to use a dreamweaver template to start my website.  I want to remove the border of the template...as well as to make the Left and Right hand side "margins" the same background color as the webpage... can anyone tell me where to start on this?  Thanks for the help,
    Joe

    For myself, the best place to learn about this sort of thing is staring you in the face... I don't like books.  I find that suffering thru solving things is the best way to learn.  The internet is a very good resource, and taking a course or two never hurt me, though I usually had most courses completed by the second class (I couldn't put this stuff down once I started).
    Dreamweaver is just a tool...one of a few fairly decent ones.  Learning how to use it is nice, but the more important things to learn are the languages of web design, which can be overwhelming to catch and keep up with.  For the basics, I'd say you want to get neck deep into HTML, CSS, and Javascript.
    I don't do web design on a continuous basis... my dealings are more often in the Flash realm. Other folks here may have other recommendations that may be better advice to follow.  You'll probably find a few postings where someone has asked how to learn what, so look around a bit.  If you don't find anything, just ask it straight out as a new posting.

  • Dreamweaver TEmplate

    I created a webpage using the dreamweaver template when I
    open it in the browser in a maximize screen its perfect but when I
    adjust the size the content on the middle 'div' is going to the
    bottom at the page. How can I do it like if I resize the page The
    contents will not be affected? Thanks!!

    > Of course the image in the middle
    > Section which is 3 inches wide will not fit. Right?
    That's correct, although inches mean nothing on the screen of
    a variety of
    users. Pixels would be the more consistent and proper unit of
    measure.
    > In regards with the css,java, html,
    It's javascript, not Java. The two are completely different
    things.
    > why did you say it?s advanced?
    The layout method used on the page is a bit arcane and unlike
    other 2/3
    column layouts I have seen.
    > I know that it?s just to make a template command
    > so that you can edit a certain section by using css
    > style sheets right?
    Hmmm - I don't understand what you are saying. CSS would have
    nothing to do
    with whether or not you can edit a section.
    > But isn?t dreamweaver will make the code for you?
    DW will not prevent you from making a mess of those pages,
    even though It's
    doing what you are telling it to.
    > What kinds of difficulties or problems do you think
    > that I will have in the future?
    Go here -
    http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamweaver
    Search this forum for "HALO" or "CSS template". You will have
    all of those
    problems, perhaps.
    Look - I don't want to discourage you from using this as an
    ACADEMIC
    exercise, but I don't think it's a good choice for any
    commercial entity.
    There are much better free/commercial choices you can make -
    http://dreamweaverresources.com/
    http://www.projectseven.com/
    This is two of the best, in my opinion.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "teamse" <[email protected]> wrote in
    message
    news:[email protected]...
    > Ok.Thanks I think that answers my questions because
    > If I resize the page to be only 2 inches wide
    > Of course the image in the middle
    > Section which is 3 inches wide will not fit. Right?
    >
    > In regards with the css,java, html, why did you say
    > it?s advanced? I know some things with html
    > and css I know that it?s just to make a template command
    > so that you can edit a certain section by using css
    > style sheets right? About Java, I don?t have any clue.
    > But isn?t dreamweaver will make the code for you?
    > The only thing that worries me is the navigation
    > Bar. But isn?t to edit it I?ll just have to put the
    > Link page for all the menu that I placed in the
    > Navigator bar?
    >
    > What kinds of difficulties or problems do you think
    > that I will have in the future?
    >
    > Thank you so much..
    >
    >

  • Dreamweaver template declaration affects Google Map loading

    My Dreamweaver Template declaration statement
    <!-- InstanceBegin template="/Templates/kayaking.dwt" codeOutsideHTMLIsLocked="false" -->
    is preventing a Google Map from loading.  It works fine in IE and Firefox, but not in Safari and Chrome.  The weird thing is, if I move it above the following declaration is works fine.
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    Dreamweaver inserts and locks this code so the only way I get it to work is to either detach it from the template completely or edit the code in a text editor before upload.  I need a different fix.  I'm hoping that there is actually other code in my page that is leading to the declaration problem although it seems unlikly.
    For reference here is the html that calls the map
    <a href="javascript:;" class="content" title="Location Map" onclick="mopen('map1');loadScript();return false">Location Map</a></p>
                      <div id="map1" style="visibility:hidden;"> <span class="content"><a href="javascript:;" class="closemap" onclick="mclose('map1')" title="Close Map">Close</a> </span>
                        <div id="googlemap1"> </div>
                      </div>
    For the code or to see for yourself go to http://www.outbackadventures.com/trips_classes/kayaking/kayak_classes/intro_paddling/index 2_3.html
    Any help would be much appreciated.  Thanks.

    The problem has been solved.  It seems that Google Chrome and Safari do not entirely ignore comment tags such as Dreamweaver's template declaration.
    In my "lazy load" Google Map code taken from a Google employee suggestion
    http://groups.google.com/group/Google-Maps-API/msg/4e2acbe1ca7f0324
    Example at http://imagine-it.org/google/gmaps-samples/dynamicloading.html
    there is this line of code
    document.documentElement.firstChild.appendChild(script);
    As I understand it Chrome and Safari may read the Dreamweaver template comment
    <!-- InstanceBegin template="/Templates/kayaking.dwt" codeOutsideHTMLIsLocked="false" -->
    as the first.Child and therefore results in invalid html causing an error and no loading of the script.
    This was solved by the help of folks at this post:
    http://groups.google.com/group/google-maps-api/browse_thread/thread/101bc4c59d098367/0decf 0c096119f82#0decf0c096119f82
    Essentially the code above needs to be modified so that it reads from the head section rather than from above it. To fix this, replace the above code with either one of the following lines:
    document.getElementsByTagName(\"head\")[0].appendChild(script);
    document.documentElement.getElementsByTagName(\"head\")[0].appendChild(script);

  • Tutorial on Dreamweaver templates?

    I am fairly new to Dreamweaver (cs6), having previously designed and maintained a few sites using Freeway. I purchased a template from TemplateMonster.com in the hope that this would simplify the creation of a new site. The template came without any instructions other than how to unzip the file. Their helpline really isn't helpful at all. Can anyone recommend an online tutorial on how to use a predesigned template? Lynda.com doesn't have one. Thanks!

    Commercial Templates are often very different from Dreamweaver Templates (.dwt files) which are in fact a site management tool.   This often confuses people.
    A Dreamweaver Template is a common structure used for creating all the pages in your site.  The template has Editable Regions which you define for content that will change from page to page.  Everything outside Editable Regions like your header, footer & menus will remain consistent throughout the site. 
    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp#1
    Conversely, commercial templates from houses like Monster tend to be little more than a collection of CSS, HTML, JavaScript and image files which you must extract and save to your DW Local Site Folder.   Once you define your local site in DW (Site > New Site), you can open the HTML files in Code or Split View to add your own content.
    Nancy O.

  • What about sites NOT created with Dreamweaver templates

    I am using Dreamweaver CS3 (no templates), and code most everything by hand (html, javascript and CSS). Would it work to have people in my office adding content to these existing sites with Contribute CS5 since there are NO Dreamweaver templates in place?

    Html webpages are editable in Contribute.

  • Dreamweaver Template Without Dreamweaver

    Hi.
    I'm doing an internship for the semester and the place i work is having me redesign their intranet.  I'll be gone in December, and while no immediate changes will really need to be made, over time they will probably want to do something such as adding a link in the side menu...
    The problem is, I don't think they use Dreamweaver--if they're using another web design program, is it possible for them to edit the dreamweaver template I've created for them?
    Thanks.

    Another approach is to use Server-Side Includes (text files) that contain hyperlinks, common headers & footers for example.   Person responsible for updates could edit the SSI files in any html editor.  Upload to server and the server would populate changes throughout the site.
    More on SSIs:
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Edit First line in dreamweaver templates

    Hello,
    When I create a page from a Dreamweaver template, a
    dreamweaver comment similar to the one below will be inserted:
    <!-- #BeginTemplate "/Templates/test.dwt" -->
    Each time I edit a page to add php code in the very first
    line, it is removed with every template update and the source code
    again starts with the dreamweaver comment. I need to add to all my
    pages a php code in the very first line like this one:
    <? $ob_start; $session_start; ?>
    How can I do that without removing the code from my pages
    with each template update. Another problem is that I can't insert a
    placeholder in the very first line of a dreamweaver template. Above
    that the first line is locked in dreamweaver, so that I can't
    change it manually. Is there any workaround available?
    Thanks,
    Philip

    > How can I do that without removing the code from my
    pages with each
    > template
    > update. Another problem is that I can't insert a
    placeholder in the very
    > first
    > line of a dreamweaver template. Above that the first
    line is locked in
    > dreamweaver, so that I can't change it manually. Is
    there any workaround
    > available?
    Put the code ABOVE the <html> tag.
    Which DW are you using? It looks like DW4 or earlier....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "flip3" <[email protected]> wrote in message
    news:ec40u0$mr3$[email protected]..
    > Hello,
    >
    > When I create a page from a Dreamweaver template, a
    dreamweaver comment
    > similar to the one below will be inserted:
    >
    > <!-- #BeginTemplate "/Templates/test.dwt" -->
    >
    > Each time I edit a page to add php code in the very
    first line, it is
    > removed
    > with every template update and the source code again
    starts with the
    > dreamweaver comment. I need to add to all my pages a php
    code in the very
    > first
    > line like this one:
    >
    > <? $ob_start; $session_start; ?>
    >
    > How can I do that without removing the code from my
    pages with each
    > template
    > update. Another problem is that I can't insert a
    placeholder in the very
    > first
    > line of a dreamweaver template. Above that the first
    line is locked in
    > dreamweaver, so that I can't change it manually. Is
    there any workaround
    > available?
    >
    > Thanks,
    >
    > Philip
    >

  • Dreamweaver Templates with Web Gallery

    I have built a site in dreamweaver CS4 I have used a Dreamweaver Template for my pages. Rather than clog my pages up with images I used Adobe Bridge to create a web gallery, It created a gallery ok and I saved it to my hard drive. It created two items, a resourses folder and an "index" file. So I I copied and pasted the two items into my Dreamweaver folder I created and called SS_Bridge. I pointed a link I created to point to the "index" file within the SS_Bridge Folder in Dreamweaver, Will this create a problem as there will be two "Index" files within my site
    jjrutter

    The "home" page index file would be at the root level of the site.  Other folders within the root can all have their own index (default) files.

  • NEW! Free Dreamweaver templates WITH Fireworks vector files

    I just released some free Dreamweaver templates that include
    not only the Dreamweaver template dwt file, but also the original
    pre-sliced Fireworks file with all the template graphics.
    The templates include the dwt, Fireworks file, pure CSS
    menus, are AdSense-ready, XHTML 1.0 valid and are very customizable
    through both the Fireworks file and the CSS.
    If you use one, let me know so I can get a screenshot and
    post a link to your site showing how the templates have been
    customized by various designers.
    Cheers!
    Brodit

    Can you post a link to the PHP page, please? This will allow
    me to see the
    HTML markup on it....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mr Zedd" <[email protected]> wrote in
    message
    news:eviqn8$ntm$[email protected]..
    > Hello everyone,
    >
    > I have been given an exisiting website to update that
    uses Dreamweaver
    > templates.
    >
    > I have made the changes successfully within the
    content.dwt file, saved
    > it,
    > and then uploaded both the new content.dwt file and the
    related *.htm
    > pages
    > that were linked to it.
    >
    > After going to the website to double check the new pages
    I found a *.php
    > file
    > that uses the same template, content.dwt, but it never
    asked to update
    > that
    > particular file.
    >
    > So, I opened the *.php file in Dreamweaver and tried to
    apply changes from
    > the
    > content.dwt file to it using: Templates - Update current
    page, but no such
    > luck. Since there is no code at the start of this file
    like the other
    > *.htm
    > files how do I "connect" it with the newly updated
    template. I tried
    > making a
    > small change on the content.dwt file so see what files
    would come up in
    > the "do
    > you wish to update..." list but for some reason the
    *.php file is not
    > there.
    >
    > Perhaps the answer is fairly obvious to someone who has
    worked with
    > Templates
    > a lot but since I have just started working with
    templates I still have a
    > large
    > knowledge gap in this area.
    >
    > Any help would be appreciated.
    >
    > Many thanks
    >
    > Mr Zedd
    >

  • DreamWeaver Template change not updating children webpages?

    Hi Group,
    Sorry for my newbie question here.
    I loaded an HTML webpage, and saved it out as a DreamWeaver Template file.
    I then created webpages from the template file (( File - New - Page From Template - Site - Template), and made sure that the "Update Page when Template Changes" check box was selected/checked.
    I then created several chldren webpages, and saved them as .html files.
    I decided to change the navbar system - part of the uneditiabel region in the template - by opening the template file and edit-ing that file, and then saving it as the same DreamWeaver template file.
    However, the webpages did Not Update to reflect the navbar changes in the template fle !??!???
    Can someone tell me what I'm doing wrong?
    I believe it is something that I'm doing incorrectly with DreamWeaver ..
    Here is the HTML if anyone is interested.
    <!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>
    <!-- TemplateBeginEditable name="DocTitle" -->
    <title>CNC Joe's  WorkShop - - Home Page </title>
    <!-- TemplateEndEditable --> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
       <link href="../style.css" rel="stylesheet" type="text/css" media="screen" />
    <!-- Keep the http-equiv meta tag for IE8 -->
      <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <!-- Link the CSS file here -->
    <link rel="stylesheet" type="text/css" media="screen,projection" href="../style.css" />
    </head>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <body>
    <div id="wrapper">
    <a name="top"></a>
    <a href="index.html" target="_self" title="CNC-Joe's Home Page" >
    <img src="../joesworkshoplogo.gif" width="770px" height="300px" alt="CNC Joe's  WorkShop - Home Page" />
    </a>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <!-- BEGIN OF PULL DOWN MENU -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <div class="mainmenu">
    <ul>
          <li class="li_nc"><a href="index.html" target="_self" >Home</a></li>
          <li class="li_hc"><a href="cad.html" target="_self" >CAD</a><ul class="ul_ch">
             <li class="li_nc"><a href="cad_intellicad.html" target="_self" >IntelliCAD</a></li>
             <li class="li_nc"><a href="cad_draftsight.html" target="_self" >DraftSight</a></li>
             <li class="li_nc"><a href="cad_progesoft.html" target="_self" >Progesoft</a></li>
          </ul></li>
          <li class="li_hc"><a href="cam_html" target="_self" >CAM</a><ul class="ul_ch">
             <li class="li_nc"><a href="cam_mach3.html" target="_self" >Mach3</a></li>
             <li class="li_nc"><a href="cam_vcarve.html" target="_self" >V-Carve</a></li>
             <li class="li_nc"><a href="cam_cut3d.html" target="_self" >Cut 3D</a></li>
             <li class="li_nc"><a href="cam_bobcadcam.html" target="_self" >Bob-CAD-CAM</a></li>
             <li class="li_nc"><a href="cam_meshcam.html" target="_self" >Mesh CAM</a></li>
             <li class="li_nc"><a href="cam_deskcnc.html" target="_self" >Desk CNC</a></li>
          </ul></li>
          <li class="li_hc"><a href="projects.html" target="_self" >Projects</a><ul class="ul_ch">
             <li class="li_nc"><a href="projects_zzeroplate.html" target="_self" >Z Zero Plate</a></li>
             <li class="li_nc"><a href="projects_x0y0edgefinder.html" target="_self" >X0-Y0 Edge Finder</a></li>
             <li class="li_nc"><a href="projects_digitizingtouchprobe.html" target="_self" >Digitizing Touch Probe</a></li>
             <li class="li_nc"><a href="projects_millwebcam.html" target="_self" >Mill Web CAM</a></li>
             <li class="li_nc"><a href="projects_laseredgefinder.html" target="_self" >Laser Pointer Edge Finder</a></li>
             <li class="li_nc"><a href="projects_davidlaserscanner.html" target="_self" >David Laser Scanner</a></li>
          </ul></li>
          <li class="li_hc"><a href="reference.html" target="_self" >Reference</a><ul class="ul_ch">
             <li class="li_nc"><a href="ref_gcodes.html" target="_self" >G-codes</a></li>
             <li class="li_nc"><a href="ref_nema.html" target="_self" >NEMA Motor Info</a></li>
             <li class="li_nc"><a href="ref_vbearings.html" target="_self" >V-Bearings</a></li>
             <li class="li_nc"><a href="ref_linearguides.html" target="_self" >Linear Guides</a></li>
          </ul></li>
          <li class="li_hc"><a href="offtopictopics.html" target="_self" >Off-Topic Topics</a><ul class="ul_ch">
             <li class="li_nc"><a href="ott_backyardfoundry.html" target="_self" >BackYard Foundry</a></li>
             <li class="li_nc"><a href="ott_blacksmithing.html" target="_self" >BlackSmithing</a></li>
          </ul></li>
          <li class="li_nc"><a href="links.html" target="_self" >Links</a></li>
          <li class="li_nc"><a href="contact.html" target="_self" >Contact</a></li>
    </ul>
    </div>
    <!-- END OF PULL DOWN MENU -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <!-- END OF PULL DOWN MENU -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <!-- TemplateBeginEditable name="content" -->
    <h2>Projects: Digitizing Touch Probe:</h2>
    <ul>
    <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
    </ul>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->       
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
    <!-- End of Editable Region - the rest is Boiler Plate -->       
    <!-- TemplateEndEditable -->  
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
      <br />
      <p><a href="#top" >Back To Top...</a></p>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
    <!-- Footer Region                                                                                    -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
    <div id="footer">
    <hr />
      <p>
      <a href="http://validator.w3.org/check?uri=referer">
      <img class="logos" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional"  height="31" width="88" /></a>
      <a href="http://jigsaw.w3.org/css-validator/check/referer">
       <img  style="border:0;width:88px;height:31px"
        class="logos" src="http://jigsaw.w3.org/css-validator/images/vcss"
        alt="Valid CSS!" />
      </a>
    </p>
      <h5><strong><i>
       This website is for educational purposes only. Any resemblance to any person - living or dead - is purely coincidental
      </i></strong></h5>    
      </div>
    </div><!-- end Div Wrapper -->
    </body>
    </html>

    Additional Info:
    No -I haven't been able to get the DW Template feature to work on other sites - this is my first application of it to a website (actually it's the whole reason for getting DreamWeaver... I know it works, I know that I'm doing something wrong.. I just don't know what it is...)
    All the .HTML files (index.html, cad.html, cam.html, etc. etc.)  are in the website's root directory.
    The Template file is in its own sub-directory folder named "Templates".
    Right now even the .css file is in the root directory....
    Thank You for trying to help me -  I greatly appreciate it.
    Joe

  • Problem Uploading Dreamweaver Template

    Hi,
    I am using Dreamweaver 8, and decided to revise my website
    using a Dreamweaver template. The pages look GREAT when I preview
    them in Firefox or IE. But when I uploaded the home page, using an
    FTP program, the page looked like a mess! None of the columns in
    the template were there. The formatting is all wrong, and the links
    don't work! This page is horrible! I don't understand since they
    looked great in the preview. Can somebody tell me what I've done
    wrong?
    If you'd like to view the mess, it's at
    http://www.karathecomputertutor.com
    Thanks!

    > If you'd like to view the mess, it's at
    http://www.karathecomputertutor.com
    > Thanks!
    there's a problem with the way you've defined this site in
    dreamweaver.
    the link you gave is at the root level of the public hosting
    for that
    domain.
    but the css link is:
    <link rel="stylesheet"
    href="../karathecomputertutor4.1/3col_leftNav.css
    and the links farther down in the page also are "../
    that means go up one folder level.
    there is no up from the root level.
    The site needs to be defined so that the "homepage" file,
    index.html is at
    the root level of what you've picked for the Local Site
    Folder.
    and, all the site files need to be in the Local Site Folder
    of course.
    and, the remote has to show the public level, with the
    index.html file in
    the root (use the "Host Directory" line in dw if your files
    need to go into
    a folder like "public_html" or "www" for example)

  • Dreamweaver Templates and Include files

    Hi,
    I am using dreamweaver templates so that my users can create
    new pages on our Intranet using Contribute.
    When I create a template and try and use an inculde file for
    the menu systems I get an error. I am trying to use the following
    code to inculde the asp file:
    <!--#include file="/includes/menu.asp" -->
    And I get the following error when saving the template:
    Unbalanced body tag
    I have checked and I definetly have opening and closing body
    tags in the HTML. So I am wondering whether the error is caused by
    the fact that the file is a dwt and not as asp.
    So, is there anyway of using include files in a dreamweaver
    template?
    Thanks in advance for any help.

    That's the wrong syntax for a file include. It should be
    either of these -
    <!--#include virtual="/includes/menu.asp" -->
    or
    <!--#include file="includes/menu.asp" -->
    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
    ==================
    "Alan" <[email protected]> wrote in
    message
    news:C568040E.31895D%[email protected]..
    >
    >
    >> <!--#include file="/includes/menu.asp" -->
    >>
    >> And I get the following error when saving the
    template:
    >>
    >> Unbalanced body tag
    >>
    >> I have checked and I definetly have opening and
    closing body tags in the
    >> HTML.
    >
    > Is the include file JUST the html that would be correct
    syntax for where
    > it
    > is used in the main file?
    >
    > In other words- included files should not be complete
    html docs with their
    > own head and body tags. That would result in multiple
    head and body tags
    > in
    > the assembled files.
    >
    >
    > --
    > Alan
    > Adobe Community Expert, dreamweaver
    >
    >
    http://www.adobe.com/communities/experts/
    >
    >
    >

Maybe you are looking for

  • How can I use NSDictionaryControllers for 2 dicts with common key?

    I have two dictionaries, both with the same key. Using Interface Builder I can build for each dictionary a two-column table, but I did not find out how to connect their keys so that selecting a line in one table automatically selects the correspondin

  • JDBC driver for SQL Developer

    Hi I was wondering where does SQL Developer gets the JDBC driver from? How does SQL Developer knows which version of database I am using since different version of database needs different version of driver? I have written a java application to write

  • Blocking of scheduling agreement

    Hi All, I have created a scheduling agreement with document type "LP: for on material. When created the SA is having Release ID as  "B Blocked". The schduling agreement item is maintained in source list with MRP indicator "2 - relevent for MRP". Plan

  • Anybody know how to check my automatic subscriptions in iTunes?  i.e. Hulu

    I can't find where on iTunes to manage my automatic subscriptions. Anybody know how to access this? Thanks

  • HT4914 Can i upload and have access to home videos in iTunes Match?

    Hello. I have been uploading all my music to iTunes Match and using iCloud, only to discover (apparently) that all of this does not include non-purchased (home) videos. I want to be able to put them in the cloud and stream on demand from multiple dev