Professional Web Applications Themes

UPDATING THE TEMPLATE - Dreamweaver AppDev

Hi everybody, I want to update my template . I am giving my template below: <html> <head> <!-- TemplateBeginEditable name="doctitle" --> <title>University of Memphis - University College</title> <!-- TemplateEndEditable --><meta http-equiv="Content-Type" content="text/html; cht=iso-8859-1"> <!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Tue Oct 28 11:42:14 GMT-0600 (Central Standard Time) 2003--> <script language="JavaScript"> <!-- function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=doent; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].doent; 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.doent); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; doent.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a))!=null){doent.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function MM_swapImgRestore() { //v3.0 var ...

  1. #1

    Default UPDATING THE TEMPLATE

    Hi everybody,
    I want to update my template . I am giving my template below:
    <html>
    <head>
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>University of Memphis - University College</title>
    <!-- TemplateEndEditable --><meta http-equiv="Content-Type"
    content="text/html; cht=iso-8859-1">
    <!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Tue Oct 28 11:42:14
    GMT-0600 (Central Standard Time) 2003-->
    <script language="JavaScript">
    <!--
    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=doent;
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].doent; 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.doent);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; doent.MM_sr=new Array;
    for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){doent.MM_sr[j++]=x; if(!x.oSrc)
    x.oSrc=x.src; x.src=a[i+2];}
    }
    function MM_swapImgRestore() { //v3.0
    var i,x,a=doent.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++)
    x.src=x.oSrc;
    }

    function MM_preloadImages() { //v3.0
    var d=doent; 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 mmLoadMenus() {
    if (window.mm_menu_1015104429_0) return;
    window.mm_menu_1015104429_0 = new Menu("root",180,16,"Verdana, Arial,
    Helvetica,
    sans-serif",10,"#000000","#ffffff","#cccccc","#000084", "left","middle",3,0,1000,
    -5,7,true,true,true,0,true,true);
    mm_menu_1015104429_0.addMenuItem("Admissions &
    Applications","window.open('admission.htm', '_self');");
    mm_menu_1015104429_0.addMenuItem("Experiential
    Learning","window.open('experiential.htm', '_self');");
    mm_menu_1015104429_0.addMenuItem("Information
    Sessions","window.open('info_sessions.htm', '_self');");
    mm_menu_1015104429_0.addMenuItem("Request
    Information","window.open('info_request_form.htm', '_self');");
    mm_menu_1015104429_0.addMenuItem("Design Your Own
    Degree","window.open('dyod.htm', '_self');");
    mm_menu_1015104429_0.hideOnMouseOut=true;
    mm_menu_1015104429_0.menuBorder=1;
    mm_menu_1015104429_0.menuLiteBgColor='#ffffff';
    mm_menu_1015104429_0.menuBorderBgColor='#555555';
    mm_menu_1015104429_0.bgColor='#555555';
    window.mm_menu_1015104720_1 = new Menu("root",181,16,"Verdana, Arial,
    Helvetica,
    sans-serif",10,"#000000","#ffffff","#cccccc","#000084", "left","middle",3,0,1000,
    -5,7,true,true,true,0,true,true);
    mm_menu_1015104720_1.addMenuItem("Advising","windo w.open('advising.htm',
    '_self');");
    mm_menu_1015104720_1.addMenuItem("Electronic Permit
    Request","window.open('electronic_permit.htm', '_self');");
    mm_menu_1015104720_1.addMenuItem("Graduation
    Information","window.open('graduation.htm', '_self');");
    mm_menu_1015104720_1.addMenuItem("Request Advising
    Appointment","window.open('advising_appt.htm', '_self');");
    mm_menu_1015104720_1.addMenuItem("SACS","window.op en('sacs.htm', '_self');");

    mm_menu_1015104720_1.addMenuItem("Scholarship","wi ndow.open('sholarship.htm',
    '_self');");
    mm_menu_1015104720_1.addMenuItem("UC Forms","window.open('forms.htm',
    '_self');");
    mm_menu_1015104720_1.hideOnMouseOut=true;
    mm_menu_1015104720_1.menuBorder=1;
    mm_menu_1015104720_1.menuLiteBgColor='#ffffff';
    mm_menu_1015104720_1.menuBorderBgColor='#555555';
    mm_menu_1015104720_1.bgColor='#555555';
    window.mm_menu_1015104846_2 = new Menu("root",156,16,"Verdana, Arial,
    Helvetica,
    sans-serif",10,"#000000","#ffffff","#cccccc","#000084", "left","middle",3,0,1000,
    -5,7,true,true,true,0,true,true);
    mm_menu_1015104846_2.addMenuItem("MALS","window.op en('mals_jack.htm',
    '_self');");
    mm_menu_1015104846_2.addMenuItem("Organizational
    Leadership","window.open('org_leadership.htm', '_self');");

    mm_menu_1015104846_2.addMenuItem("Paralegal","wind ow.open('paralegal_jackson.htm
    ', '_self');");
    mm_menu_1015104846_2.hideOnMouseOut=true;
    mm_menu_1015104846_2.menuBorder=1;
    mm_menu_1015104846_2.menuLiteBgColor='#ffffff';
    mm_menu_1015104846_2.menuBorderBgColor='#555555';
    mm_menu_1015104846_2.bgColor='#555555';
    window.mm_menu_1015105132_3 = new Menu("root",122,16,"Verdana, Arial,
    Helvetica,
    sans-serif",10,"#000000","#ffffff","#cccccc","#000084", "left","middle",3,0,1000,
    -5,7,true,true,true,0,true,true);
    mm_menu_1015105132_3.addMenuItem("UNIV Courses","window.open('syllabus.htm',
    '_self');");
    mm_menu_1015105132_3.addMenuItem("LEGL
    Courses","window.open('syllabus.htm#legl', '_self');");
    mm_menu_1015105132_3.addMenuItem("Fire Service
    Courses","window.open('syllabus.htm#fire', '_self');");
    mm_menu_1015105132_3.addMenuItem("Thematic
    Studies","window.open('thematic.htm', '_self');");
    mm_menu_1015105132_3.hideOnMouseOut=true;
    mm_menu_1015105132_3.menuBorder=1;
    mm_menu_1015105132_3.menuLiteBgColor='#ffffff';
    mm_menu_1015105132_3.menuBorderBgColor='#555555';
    mm_menu_1015105132_3.bgColor='#555555';
    window.mm_menu_1015105413_5_1 = new Menu("Undergraduate
    Programs",260,16,"Verdana, Arial, Helvetica,
    sans-serif",10,"#000000","#ffffff","#cccccc","#000084", "left","middle",3,0,1000,
    -200,16,true,true,true,0,true,true);
    mm_menu_1015105413_5_1.addMenuItem("Alcohol/Drug
    Abuse","window.open('alcohol_drug.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("American
    Studies","window.open('american_studies.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Biomedical
    Engineering","window.open('biomedical.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Biomedical
    Illustration","window.open('bio_illustration.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Childcare
    Administration","window.open('childcare.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Construction
    Management","window.open('construction_mgmt.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Commercial
    Aviation","window.open('aviation.htm', '_self');");<br>
    mm_menu_1015105413_5_1.addMenuItem("Family and Consumer
    Studies","window.open('consumer.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Fashion and Home Furnishings
    Merchandising","window.open('fashion.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Fire
    Administration","window.open('fire.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Fire Prevention
    Technology","window.open('fire_tech.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Health
    Services","window.open('health.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Human
    Services","window.open('human_services.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Judaic
    Studies","window.open('http://cas.memphis.edu/isc/jdst/', '_blank');");
    mm_menu_1015105413_5_1.addMenuItem("Law Enforcement
    Administration","window.open('law.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Nonprofit
    Administration","window.open('nonprofit.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Online:
    Curricula","window.open('online_degree.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Organizational
    Leadership","window.open('org_lead.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Paralegal
    Studies","window.open('paralegal.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Religion in
    Society","window.open('religion.htm', '_self');");
    mm_menu_1015105413_5_1.addMenuItem("Technology Management
    Services","window.open('tech_mgmt.htm', '_self');");
    mm_menu_1015105413_5_1.hideOnMouseOut=true;
    mm_menu_1015105413_5_1.menuBorder=1;
    mm_menu_1015105413_5_1.menuLiteBgColor='#ffffff';
    mm_menu_1015105413_5_1.menuBorderBgColor='#555555' ;
    mm_menu_1015105413_5_1.bgColor='#555555';
    window.mm_menu_1015105413_5 = new Menu("root",180,16,"Verdana, Arial,
    Helvetica,
    sans-serif",10,"#000000","#ffffff","#cccccc","#000084", "left","middle",3,0,1000,
    -200,16,true,true,true,0,true,true);
    mm_menu_1015105413_5.addMenuItem("Graduate
    Programs","window.open('mals.htm', '_self');");
    mm_menu_1015105413_5.addMenuItem("Design Your Own
    Degree","window.open('dyod.htm', '_self');");
    mm_menu_1015105413_5.addMenuItem(mm_menu_101510541 3_5_1);
    mm_menu_1015105413_5.hideOnMouseOut=true;
    mm_menu_1015105413_5.childMenuIcon="images/arrows.gif";
    mm_menu_1015105413_5.menuBorder=1;
    mm_menu_1015105413_5.menuLiteBgColor='#ffffff';
    mm_menu_1015105413_5.menuBorderBgColor='#555555';
    mm_menu_1015105413_5.bgColor='#555555';
    window.mm_menu_1015105244_4 = new Menu("root",126,16,"Verdana, Arial,
    Helvetica,
    sans-serif",10,"#000000","#ffffff","#cccccc","#000084", "left","middle",3,0,1000,
    -5,7,true,true,true,0,true,true);

    mm_menu_1015105244_4.addMenuItem("Registration
    Helpline","window.open('http://www.enrollment.memphis.edu/registrar/r_center/hel
    p.htm', '_blank');");

    mm_menu_1015105244_4.addMenuItem("RODP","window.op en('http://www.tn.regentsdegre
    es.org/campus/memphis/', '_blank');");

    mm_menu_1015105244_4.addMenuItem("Tigerweb","windo w.open('https://tigerweb.memph
    is.edu/ahomepg.htm', '_blank');");
    mm_menu_1015105244_4.addMenuItem("UofM
    BookStore","window.open('http://umemphis.bkstore.com/', '_blank');");
    mm_menu_1015105244_4.addMenuItem("UofM
    Homepage","window.open('http://www.memphis.edu/', '_blank');");
    mm_menu_1015105244_4.hideOnMouseOut=true;
    mm_menu_1015105244_4.menuBorder=1;
    mm_menu_1015105244_4.menuLiteBgColor='#ffffff';
    mm_menu_1015105244_4.menuBorderBgColor='#555555';
    mm_menu_1015105244_4.bgColor='#555555';

    mm_menu_1015105244_4.writeMenus();
    } // mmLoadMenus()

    //-->
    </script>
    <script language="JavaScript1.2" src=
    sswapna Guest

  2. #2

    Default Re: UPDATING THE TEMPLATE

    And the question is?

    By the way, are you aware that you have chosen a broken and surly menu
    system for your pages?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (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
    ==================

    "sswapna" <com> wrote in message
    news:d8so84$c6t$macromedia.com... 


    Murray Guest

  3. #3

    Default Re: UPDATING THE TEMPLATE

    Main Entry: sur·ly
    Pronunciation: 's&r-lE
    Function: adjective
    Inflected Form(s): sur·li·er; -est
    Etymology: alteration of Middle English sirly lordly, imperious, from sir
    1 obsolete : ARROGANT, IMPERIOUS
    2 : irritably sullen and churlish in mood or manner : CRABBED
    3 : menacing or threatening in appearance <surly weather>
    (from www.m-w.com)

    I always did feel threatened by those menus.... ;)
    Not necessarily poking fun; I just like adding words to my nal, so I
    look them up whenever I run across one I'm not sure of the definition for.
    This one triggered my imagination a bit. I wonder if the menus are sullen
    because they know they're broken? Hmm....



    "Murray *TMM*" <com> wrote in message
    news:d8spcq$dlq$macromedia.com... 
    >
    >[/ref]




    Lionstone Guest

  4. #4

    Default Re: UPDATING THE TEMPLATE

    > I wonder if the menus are sullen because they know they're broken?

    Without a doubt.... 8)

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (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
    ==================

    "Lionstone" <com> wrote in message
    news:d8sr6s$ftm$macromedia.com... 
    >>
    >>[/ref]
    >
    >
    >[/ref]


    Murray Guest

  5. #5

    Default Re: UPDATING THE TEMPLATE

    HI can you please explain in me more detail about what is meant by sullen
    links. I am not aware of what you are saying. Does this is the reason that is
    causing error while updating the template. Kindly help me.

    sswapna Guest

  6. #6

    Default Re: UPDATING THE TEMPLATE

    The pop-up menus you have used become very difficult to manage when used
    with templates. Most people who are experienced hate them. I certainly
    do - and I go out of my way to encourage (berate, badger, cajole, push,
    coerce, extort, or otherwise persuade) people not to use them.

    Why are you getting errors? I dunno. The problem is that the people who
    could answer your question also don't know because they don't use the
    menus....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (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
    ==================

    "sswapna" <com> wrote in message
    news:d8uocv$4t9$macromedia.com... 


    Murray Guest

  7. #7

    Default Re: UPDATING THE TEMPLATE

    Hi,
    Thank you for suggesting me. The problem is I need to add one menu item. If I
    added and uploaded to server the menus are not working. Can you please suggest
    why is it so? I have updated it as below-
    i have added new item here -

    window.mm_menu_1015105132_3 = new Menu("root",122,16,"Verdana, Arial,
    Helvetica,
    sans-serif",10,"#000000","#ffffff","#cccccc","#000084", "left","middle",3,0,1000,
    -5,7,true,true,true,0,true,true);

    like this-

    mm_menu_1015105413_5_1.addMenuItem("Correctional
    Administration","window.open('administration.htm', '_self');");

    kindly tell me if i add like this, does it work?

    sswapna Guest

  8. #8

    Default Re: UPDATING THE TEMPLATE

    I don't know. I hate these menus. I don't use them. You shouldn't use
    them either - especially with Templates. Sorry....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (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
    ==================

    "sswapna" <com> wrote in message
    news:d8uukp$e56$macromedia.com... 


    Murray Guest

  9. #9

    Default Re: UPDATING THE TEMPLATE

    Can you please suggest any other menu,that I can use. So that I can change my
    menus. Actually this menu was designed by my previous worker who used to work
    in my place. Now he left the job, so I am just continuing the job by making
    updates to it. So I dont have exact idea about it. Can you please suggest me
    any other menu that can be helpful to me.

    sswapna Guest

  10. #10

    Default Re: UPDATING THE TEMPLATE

    http://www.projectseven.com/tutorials/navigation/snapmenus/index.htm

    or

    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm

    and here's an example you can yze -

    http://www.projectseven.com/tutorials/autolayers/

    Or these -

    http://www.tjkdesign.com/

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (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
    ==================

    "sswapna" <com> wrote in message
    news:d8v2mf$jpp$macromedia.com... 


    Murray Guest

Similar Threads

  1. dreamweaver template not updating Contribute pages
    By Rhenan in forum Macromedia Contribute General Discussion
    Replies: 2
    Last Post: April 27th, 06:56 PM
  2. Template Updating Non-HTML ext.
    By Chopper23 in forum Dreamweaver AppDev
    Replies: 14
    Last Post: April 6th, 02:02 PM
  3. Updating template problem
    By Murray *TMM* in forum Macromedia Dreamweaver
    Replies: 13
    Last Post: July 26th, 08:25 PM
  4. Error message when updating template
    By gsiemens webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 25th, 05:07 AM
  5. Replies: 0
    Last Post: July 15th, 09:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139