How to keep a Spry menu in one file?

Could somebody explain me how I can keep the HTML code for a
Spry menu (horizontal) bar in just one file? Of course, the aim is
to reduce the effort of making later changes in the menu to a
minimum... I'm not a professionell developer, but I wonder if I can
do so by using PHP or maybe XML. The question is: How do I do this?
Thanks for any help!

http://www.tizag.com/phpT/include.php
Pablo
www.paul-dell.com
"Death is no more than passing from one room into another.
But there's a
difference
for me, you know. Because in this room I know I can have a
beer."
"bjjobe" <[email protected]> wrote in
message
news:fvelgb$idr$[email protected]..
> Could somebody explain me how I can keep the HTML code
for a Spry menu
> (horizontal) bar in just one file? Of course, the aim is
to reduce the
> effort
> of making later changes in the menu to a minimum... I'm
not a
> professionell
> developer, but I wonder if I can do so by using PHP or
maybe XML. The
> cquestion is: How do I do this?
>
> Thanks for any help!
>
>

Similar Messages

  • How to create multiple spry menu in one site?

    Hello,
    I know it's been answered before but I couldn't get a step by step answer. I have a template already live.  It has a menu with 5 items. I need to add another menu with 7 items in one of the pages in the same site. How could I do this?
    Zandy Leonard
    [Personal contact info removed by moderator]

    Wouldn't it be simpler to add seven items to the menu you have now?
    If that can't fly, please read about Optional Regions.
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7acca.h tml#WScbb6b82af5544594822510a94ae8d65-7acaa
    Nancy O.

  • How to keep multiple function modules under one Web service

    Hi Experts,
    I have Three RFC function modules and i need to create one web service for these three RFC function modules. I know How to crearte a web service for one function module.
    please suggest me How to keep multiple function modules under one Web service.
    Thanks in advance
    Lakshminarayana

    Hi Lakshmi,
    The best way to do it is to assign all the three RFC Enabled FM's to one function group. Later on the top menu in Utilities you get an option to Create a Webservice from a Function Group.
    You can create one single Webservice using all the the 3 FM's.
    I hope this helps.
    Thanks,
    Manu

  • How to align the spry menu pannel in dreamweaver cs4

    Can someone tell me how to align the spry menu pannel either left, center, are right in a div tag? I'm talking the whole pannel I have within a div tag.
    Thanks

    Defaults to left align
    To center ul.MenuBarHorizontal{margin: 0 auto; width: 32em;} addjusting the width to suit.
    To align right ul.MenuBarHorizontal {float: right; width: 32em;} addjusting the width to suit.

  • How can I scan multiple pages to one file with MG 7120

    My printer does not have ADF. How can I scan multiple pages to one file on my MG 7120?

    Hi albabynyr,
    There is a program that comes with the printer called the IJ Scan Utility that can assist you with scanning multiple pages into a single file.  To scan using the IJ Scan Utility, please follow these steps:
    1. Start IJ Scan Utility by going to your Start menu, then selecting All Programs, then Canon Utilities, then  IJ Scan Utility (folder), then IJ Scan Utility (program).
    2. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
    3. Click the DOCUMENT SCAN option on the left pane of the window.
    4. In the right pane of the window, locate the SELECT SOURCE field and select the DOCUMENT option.
    5. Set the color mode, document size, and scanning resolution as required in the rest of the fields shown in the window. Click DOCUMENT SCAN ORIENTATION SETTINGS... to specify the orientation of the documents to be scanned.
    6. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
    a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file.
    b.) In the DATA FORMAT field, use the drop-down arrow to select the PDF (Multiple Pages) option.
    c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the DOCUMENTS folder.
    7. Once all settings have been selected, click the OK button at the bottom of the SETTINGS (DOCUMENT SCAN) window. The IJ Scan Utility main screen appears.
    8. Click the DOCUMENT button. Scanning starts. After a page has scanned, the screen to continue or end scanning appears. If you have more pages to scan, place the next page on the platen and click Scan.  Do this each time a page has completed scanning.  After the last page has been scanned, click Exit. Scanned images are saved in previously selected folder location specified in the SETTINGS... window. Click the CANCEL button to cancel scanning if needed during scanning.
    Hope this helps!
    This didn't answer your question or issue? Please call or email us at one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How can I script moving paths from one file to another?

    Hello. I have 1 image with various color correction layers. The other is the exact same size but only contains paths. How can I script moving paths from one file to another? Thanks, in advance, for any help you can offer. Thanks!

    Thanks! This one actually worked for me. Thanks for your help.
    http://forums.adobe.com/message/3305389#3305389

  • How do I save multiple songs as one file?

    How do I save multiple songs as one file?

    Mhoopes wrote:
    How do I save multiple songs as one file?
    There are two ways:
    1.  Put the individual song files into a folder, and then Zip the folder.  This creates a single .zip file.  (Note however, that a .zip file is not playable in a normal player: it is just a "holder" for the song files.)
    2.  Use an audio editor such as Audacity to concatenate the individual song files into a single song file.  This creates a single file can be played in a normal player such as iTunes.
    Technique #2 is the one normally used to create a continuous mix.

  • How do I keep the Spry menu fixed to the bottom of the header div?

    I have created a horizontal Spry menu bar using Dreamweaver CS4 but the problem is, I can't figure out how to make it be in the right position at the bottom of the header div. In Design View it is too far below the header background graphic, in Live View it cuts off the bottom of the header graphic, and it also looks higher or lower in Safari and Firefox.
    I'm sure it's very simple, but how can I control them menu on the y-axis and keep the menu fixed to the bottom of the header div? Is there a way to float it to the bottom?
    I really appreciate any help or advice anyone can give me on how to get a stationary menu bar.

    Below is an example of a fixed-header & footer layout with jQuery smooth scrolling.   I did not use a separate scrolling div because mobile users have lots of trouble with them.
    View source to see the code. 
    http://alt-web.com/TEMPLATES/FixedLayout.shtml
    You need 4 basic things:
    jQuery latest core library,
    jQuery easing.js,
    jQuery anchor.js, inside the <head> of your document
    jQuery function code,  near the bottom of your document.
    That's all there is to it.
    Nancy O.

  • How to use a Spry Menu as a Library item?

    Okay, this is my second post; but, with a different title.
    I made a Spry menu for my Home Page. I saved it and a logo
    together as a library item and placed the library item on a second
    page. The links in the menu work when there is no style sheet
    attached for the Spry meny and the menu appears just as text; but,
    as soon as the .css style sheet for the menu is attached to the
    second page, the menu appears correct except the drop down menus do
    not work. I tried adding a link to the Spry Java Script file as it
    is on the home page; still no luck.
    I tried the same with a test file, which I have since
    removed, stored at the same folder as the home page; same problem.
    How are we suposed to make a workable library item with a
    Spry Menu? Surely this is possible, no?
    Here are the two pages I am referring to:
    Good Page:
    http://iculver.com/
    Bad Page:
    http://iculver.com/pages/AboutUs/Personal_info.html

    Apologies - my mistake. You are correct, and my instructions
    were
    incomplete. That other bit is required too.
    > Now, I thought (probably in error) that items after !--
    were comments, but
    > it
    > seems to be required, too. I tried eliminating taht part
    and the menus did
    > not
    > work. I need all of this last part.
    The comments 'hide' the scripting from validators and older
    browsers, but
    it's still recognized as javascript, since the comments occur
    INSIDE a
    <script> tag.
    > these Spry Menus in Libraries easier to use...)
    It's not so hard once you get all the pieces together.
    1. Create the library item as described.
    2. Make sure that each page that is to carry this library
    item has the
    required links in the head (to the CSS and the js files), AND
    in the body.
    Why not use a template instead? That way, all of these links
    are managed
    for you.
    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
    ==================
    "JustBob" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hummm...
    >
    > Now, don't yell at me, okay? I'm a goLive switcher and
    really a graphic
    > designer, not a coder...
    >
    > So, It seems from the above message that I am to
    establish the links to
    > the
    > script and the css file before inserting the library
    item. But, either
    > way,
    > that didn;t do the trick for me. I did find a bit of
    code in one of the
    > pages
    > that seems to be required.
    >
    > It seems I also need to insert this just before the
    close of the body tag:
    >
    > <script type="text/javascript">
    > <!--
    > var MenuBar1 = new Spry.Widget.MenuBar("MenuBar",
    > {imgDown:"SpryAssets/SpryMenuBarDownHover.gif",
    > imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    > //-->
    > </script>
    >
    > Now, I thought (probably in error) that items after !--
    were comments, but
    > it
    > seems to be required, too. I tried eliminating taht part
    and the menus did
    > not
    > work. I need all of this last part.
    >
    > I'm sorry I'm such a dope. I probably did something
    funny when I was
    > styling
    > the menu. (I do hope Adobe can accommodate dopes lime
    me, though, and make
    > these Spry Menus in Libraries easier to use...)
    >
    > Thanks for all of your help! Really!
    >

  • How to edit existing Spry Menu?

    I created a Spry Menu, but now that it's published (saved) I
    don't see how to edit it so I can easily add more menu items using
    DW's visual tool. All I can get to is the menu's CSS.
    How do I edit an existing Spry Menu to add/remove more items?
    I'm using CS3.

    I guess I dont understand. You can add or remove or change
    the menu in the
    properties panel. You can do all that in the design view as
    well, so I'm
    not sure what I am missing.
    Is the page available to view?
    "morkafur" <[email protected]> wrote in
    message
    news:goja98$mho$[email protected]..
    >I guess I'm not being clear. Sorry.
    >
    > What I'm saying is that when I click "anywhere in the
    menu" or the border
    > around it, I don't get the display where I can click the
    "+" to add a menu
    > item.
    >
    > For example, I have a menu item called "Capabilities".
    If I click that
    > menu
    > item I see properties for it, no problem. I get this.
    >
    > What I'm trying to do, however, is get back the the Spry
    menu item
    > DESIGNER
    > where I can add/remove menu items graphically.
    >
    > Regardless of where I click, that designer does not
    re-appear.
    >
    > If I click the Spry menu item on the toolbar, CS3
    creates a new menu, but
    > doesn't let me edit (using the menu designer) the
    existing one.
    >
    > -- M
    >

  • How to make 1 spry menu for the entire site? but not on each page

    i have a website that i wish to have multiple pages available all form the same menu and late and probably at regular intervals add more tabs to the menu
    is there a way to create a spry menu speratley that the page some how references, something like a frameset but without using framesets?
    im sort of new to webdesigning and unsure of the correct terminology, so i am finding it difficult to look up stuff that i don't know the name for, but will gladly go read someting if you point me in the right direction.
    regards
    for now
    wayne

    You can do this with PHP or ColdFusion
    These are "server side" scripting languages so you will have to test your website after you upload to you web hosting account.
    Or if you set up a local server. Without the local server you will get errors when you open them in firefox.
    To use the following what you do is "Cut" the part you want to be on all pages out, "Paste" it into a seperate document and in its place on your page you put one of the following suitable tags.
    You will also have to rename your main file to .php or .cfm as opposed to .html
    Again, whatever page you put one of these tags on, their extention must change match the type of tag used.
    First Method (PHP):
    PHP is the more common method -
    <?php @ require_once ("yourMenu.html"); ?>
    Require_once is basically a safeguard so that you don't add the menu twice onto a page.
    This will only work for PHP 4+
    This method would work for older versions of php too -
    <?php @ include("yourMenu.html"); ?>
    Second Method (ColdFusion):
    This will only work if your host has ColdFusion installled -
    <cfinclude template="bla.html">
    eg index.html
    <html>
    <head>
    <title>Stuff</title>
    <head>
    <body>
    <?php @ require_once("SpryMenu.html"); ?>
    </body>
    </html>
    SpryMenu.html
    <ul id="menubar1" class="MenuBarHorizontal">
        <li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
            <ul>
                <li><a href="#">Item 1.1</a></li>
    </ul>

  • How to make a spry menu "fixed"

    hey folks,
    im redesigning my photography website, and the little technique i had in dreamweaver is rusty.  i am going for a menu bar, across the top (with my name, and links to portfolio pages, contact info, etc.) to be visible at all times throughout the site.  the body of the portfolio pages will be a horizontal scroll bar.  the problem is that when i scroll to see the body, the spry menu scrolls away to the left with the rest.  i just need a tip on either fixing the menu in one place despite what the rest of the page does, or if there is a better tool to use. perhaps just inserting the menu as an image and creating hot spots?  or something like tables?  i know there are several ways to get things done in programs like dreamweaver, just hoping for the one that loads best, looks best, and is easy to edit in the future.  thanks!

    Have a look here http://limpid.nl/lab/css/fixed/header-and-footer
    Gramps

  • How to update all spry menu tabs on all pages

    Hi, Really need some help. I'm working in DW CS3. I've got a
    working Spry menu. ( Eureka!). I quickly made a template to start
    building pages. I left the spry bar as an uneditable region. My
    question is I made a change to the Spry Menu on the homepage. I
    changed one of the always visable tabs from Psychologist to
    "Store", and I'm adding new tabs under "instruction" every day.
    Problem is the already made pages are showing the original
    "non-update" spry menu. Is there a way for me to have DW update the
    spry bar on all pages, or is it because I made that uneditable it
    won't do it and I have to change the template?
    Thanks very much!

    I am not using an external style sheet....
    Why the heck not?  It's so much simpler to maintain site wide styles with one style sheet instead of many.
    Dreamweaver, Linking HTML to External Style Sheets
    As bregent says, CSS is not going to help you with HTML content.  If your site is already built without the aid of Server-Side Includes or DW Templates, another option is Library Items.
    Adobe Dreamweaver * Working with library items
    Nancy O.

  • How to populate a spry menu using microsoft sql server database?

    Hi
    I would like to use dreamweaver cs4 and spry menu to create a dynamically created menu system.
    My concept is to populate the menu items on the fly using MS sql server as the database technology.
    Can anyone point me in the right direction? I have googled and searched but cant seem to get anywhere.
    Also once i get my menu established, i would like to style it. It seems like a lot of work to style each element by hand. I was wondering if there were some collection of spry menu css files somewhere that i could just attach and presto!
    Thank you.
    Jerry

    I would like to use dreamweaver cs4 and spry menu to create a dynamically created menu system. My concept is to populate the menu items on the fly using MS sql server as the database technology.
    Basically
    create a dynamic XML file containing data from the database
    create A SpryXMLDataSet
    create a SpryRegion where the menu appears
    using SpryRepeat populate the menu
    More info can be found here http://labs.adobe.com/technologies/spry/samples/
    Also once i get my menu established, i would like to style it. It seems like a lot of work to style each element by hand. I was wondering if there were some collection of spry menu css files somewhere that i could just attach and presto!
    Have a look here http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2141544
    If you require further Spry related support go to http://forums.adobe.com/community/labs/spry

  • How to make changes in more then one file

    Hi All,
    M new and dont have deep idea about dreamwheaver.Actually i want to make changes in more then one file at the same time, how to do this. Is there any option available there. ?

    If you you build your new site with SSIs (server-side includes), changes to include files will populate to all pages on the remote server.  This is a huge time saver for maintaining common page elements on large sites.
    Example code might look like this:
    <body>
    header goes here
    <!--#include virtual="header.html"-->
    <p>some text</p>
    menu goes here
    <!--#include virtual="menu.html"-->
    <p>some text</p>
    footer goes here
    <!--#include virtual="footer.html"-->
    </body>
    </html>
    Pages with includes on them need to be saved as .shtm or .shtml.  If you use server-side scripts on your site, save as .asp or .php to match your script type.
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Nancy O.

Maybe you are looking for

  • Searching an ArrayList error

    Iv'e got this code public void SearchPrisoners(String id)                System.out.println("Prisoners:");                     for ( int i =0; i<(thePersons.size()); ++i)                          Person nextPersons = Person.next();                   

  • Management console problem after installing recommended patch cluster

    Hello everyone. I just got a new SUN 440 server, it didn't come with the solaris os installed and so I installed solaris 9 12/03 to it. The installation went fine and I could start the management console with no problems at all. Then I went to sunsol

  • Hi Reg Problem in Purchase order--taking wrong customer number.

    Hi all, I have a purchase order created with ref to sales order. But as per the partner role it was suppose to take customer A. But it is taking customer B. How is it possible?? Can you please guide me.where all to check?? Regards, Smitha

  • AE 5.2 - User provisioning error

    Hi, When using AE 5.2 to provision a new user, I receive the following error when I approve the request. Error in Provisioning your request, Request no: 60 error details : §BPD290-Field symbol has not yet been assigned. BPD290 being the CUA client wh

  • DV4 wont start - push the button and power and hard drive lights flash

    I have a Pavillion DV4 1228ca that won't start When I push the power button the power and battery lights on the front of the unit flash until I release the button. What particular problem is this an indicator of? Thanks