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>

Similar Messages

  • How to make a good referencing for my web site

    hi. i start with muse and would like to know how to make a good referencing for my web site; thanks for your answers...

    Google and search the forum for: SEO or Search Engine Optimisation

  • Just got a new MacMini.  Migrated files using Time Machine.  However, now, on Launchpad, I see several Firmware updates that were relevant for the old machine, but not for the new one.  How do I get rid of these updates?  They won't delete!

    Just got a new MacMini.  Migrated files using Time Machine.  However, now, on Launchpad, I see several Firmware updates that were relevant for the old machine, but not for the new one.  How do I get rid of these updates?  They won't delete!

    Only thing I can think of is trying this Lion trick...
    http://www.cultofmac.com/106030/how-to-nuke-lions-launchpad-and-start-over/10603 0/

  • Outlook-2 different entries for the same person (but not the same email)

    i was asked to switch from outlook 2007 to outlook 2013 as a trial.
    For some reason, I get two different entries for the same person (but not the same email), one which is the name as normal and one where the name has ' around it. In the below example:
    I have 24 emails sent to Ciaran and then a further 14 sent to 'Ciaran'
    The email address for both is exactly the same and it does not seem to matter if I create a new email or reply to an incoming one.
    I switched back to Outlook 2007 and the issue is still the same.
    any suggestions?

    I would say that there is no way to prevent Outlook from doing it, it dependents on how the sender formatted the sending address, not the recipient who replies.
    To fix this:
    Open the message and double click the address and view source
    Just replace the generated Display As with the Display As you want
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • Why does the apps store not accept my ID and password, it works fine to log into this forum and it works for the apple store, but not to log in to buy apps, it just keeps telling me that the id or password is wrong, and I know it isn't

    Why does the apps store not accept my ID and password, it works fine to log into this forum and it works for the apple store, but not to log in to buy apps, it just keeps telling me that the id or password is wrong, and I know it isn't

    I Just signed in to find the answer to this too.  I started having the same trouble today.

  • My reader will not open a PDF file that I have downloaded from a government web site (an application form) - it states that the file is not good.  I can open on the web site but not from my mac computer

    My reader will not open a PDF file that I have downloaded from a government web site (an application form) - it states that the file is not good.  I can open on the web site but not from my mac computer.

    Maybe this: http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html ?
    Do you have a link to that document?

  • How to create a shortcut menu for the pane

    Hi all
    Well - I know how to create a shortcut menu for a control, but how is it created for a pane? There is the possibility to add an event case for a shortcut menu linked to a pane (see picture), but how can I create this menu?
    Message Edited by becktho on 08-01-2006 11:32 AM
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    ScreenShot001.png ‏22 KB

    ahlers option works, sorry but I can't add images from work!
    Just use the shortcut Menu Activation filter event? to create a menu.
    Ton
    Message Edited by TonP on 08-01-2006 12:56 PM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    Example_BD.png ‏4 KB
    Example_BD.png ‏4 KB

  • TS1424 I'm being charged twice for the same order. Playtika coin purchases are a problem on Ipod.  How do I get a credit for the coins I did not get?

    Did anyone else have problems with in App purchases from an IPod?  I get charged twice for the same order...  How do I get a credit for the coins not received?

    Try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How to make a webpage fill in the entire browser?

    Hello everyone im tring to make my website fill in the entire page and havent had much luck. If you click here http://elitelandscapingct.com/Home.html you can see what I mean. Is the only way to make it fill in the page to make the page width wider??? If thats the case do you guys have a recommened width number I should be around?

    iWeb pages are centered and have a fixed width, which you can change in the inspector.
    You have to take a lot of variables into account to decide what is the best width.
    Who will visit your pages and with what. From a 30" Desktop monitor to the iPhone/iPod touch and other brands of mobile phones, etc.
    Apple recommends a width of 980 pixels. Obviously with their products in mind.
    [Safari Reference Library |http://developer.apple.com/safari/library/navigation/index.html#section=Resour ceTypes&topic=CodingHow-Tos]
    I design my pages to fit a monitor of 1024 pixels wide. Then it also fits nicely when printed on A4 paper. An iWeb page of 980 pixles wide will fit all browsers on all PCs.
    Lately I've been designing webpages with only the iPad in mind :
    http://dailynews.webege.com/ipad/
    Keeps you busy to calculate the exact number of pixels.

  • How to make visible context menu for nodes of the given level of treeTable?

    Hello
    I'm using JDeveloper 11g 10.1.1.4
    I have a TreeTable component with 4 different levels (Contry-Branch-Town-Object).
    I need to show custom elements of the context menu (right click of the muse) only for rows with "Object".
    Now, I'm doing it with the aid of property "visible":
                <af:commandMenuItem text="Open" id="cmi1" immediate="true"
                                    visible="#{backingBeanScope.mbMObjectsRegistry.MObjectNode}"
                                    actionListener="#{backingBeanScope.mbMObjectsRegistry.btOpenMObject}"/>
        public boolean isMObjectNode() {
            Object oldRowKey = treeTableMObjectsRegistry.getRowKey();
            try {
                AppViewRowImpl row =
                    BindingUtils.getSelectedRowTreeTable(treeTableMObjectsRegistry);
                if (row == null || !isMOBjectRow(row)) {
                    return false;
                return isMOBjectRow(row);
            } finally {
                treeTableMObjectsRegistry.setRowKey(oldRowKey);
        private boolean isMOBjectRow(AppViewRowImpl row) {
            return (row != null) && (row instanceof MObjectsRegisterMORowImpl);
        }That works, but the problem is that it works a little bit slow, particulary if I have 5 or more menu items.
    Each menu item calls the metod isMObjectNode() 3 times per one opening of the menu.
    The question is: maybe, there is a method to calculate level of the selected node? Or, there is other variant?
    Anatolii

    You can use the following sample to develop your usecase.
    Here, we would show menu items only for the nodes at level 3.
    You can also download the entire sample based on POJO at
    http://adfsampleapplications.googlecode.com/svn/trunk/TreeSampleApplication.zip
    The code is self explanatory.
    Let know, if you have any specific questions.
    <af:form id="f1">
    <af:treeTable value="#{bindings.continents.treeModel}" var="node"
    selectionListener="#{bindings.continents.treeModel.makeCurrent}"
    rowSelection="single" id="tt1" columnStretching="last">
    <f:facet name="nodeStamp">
    <af:column id="c1">
    <af:outputText value="#{node}" id="ot2"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}" id="ot1"/>
    </f:facet>
    *<f:facet name="contextMenu">*
    *<af:popup id="p1" contentDelivery="lazyUncached">*
    *<af:setPropertyListener from="#{bindings.continents.treeModel.depth}"*
    *to="#{pageFlowScope.CurrentDepth}"*
    *type="popupFetch"/>*
    *<af:menu text="menu 1" id="m2">*
    *<af:commandMenuItem text="View Districts" id="cmi1"*
    *visible="#{pageFlowScope.CurrentDepth == 2 ? true : false}"/>*
    *<af:commandMenuItem text="View Attractions" id="cmi2"*
    *visible="#{pageFlowScope.CurrentDepth == 2 ? true : false}"/>*
    *</af:menu>*
    *</af:popup>*
    *</f:facet>*
    </af:treeTable>
    </af:form>
    Thanks,
    Navaneeth

  • How to make a RTF-Template for the Bill Presentment Architecture (BPA)

    Hallo,
    I search a way to make an external RTF-template for the Oracle Receivables Balance Forward - Detail report in the Bill Presentment Architecture (BPA).
    I've never done that.
    I don't know how to get a XML-file of this request to use for the creation of the RTF-file.
    And so I don't know how to specify in the RTF the LOOPs for the Lines and other If-conditions and so on.
    Can anybody help me?
    Thanks.
    Edited by: user2609890 on 23.06.2009 01:25

    HI,
    Can you please help me in finding XML output for Invoice Print BPA Child Program. I have tried changing the output format to XML but no luck. If you can send me any suggestion to my email address [email protected] would be very helpful.
    Also, Did you try adding any conditional formatting (eg. <?if:column_name='value'?>) in RTF template? is it working?
    Any help is appreciated.
    Thanks
    Deepak

  • 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 create a sub menu for the transaction se38

    Hi All,
    I have created menu item in se38 using menu exit.
    By using the enhancement SEU00002 .
    That menu item is displayed under utilities menu bar.
    But i am unable to create sub menu for that.
    My requirement is to create sub menu to the custom menu item.
    How can we create a sub menu to the transaction se38.

    Hi,
    it looks like that user exit SEU00002 offers only one extra function +CUS. This function then calls FM EXIT_SAPMS38E_010. Hence I do not think that it is possible to create sub menu with this user exit.
    Anyway you can try to modify SAP standard. You need to modify menu for SE38 and then add your code for handling new function codes. You can easily find where you will have to add your code for handling functions from your sub menu. You just need to look for usages of the FM EXIT_SAPMS38E_010.
    Cheers

  • How to strech a music clip for the Entire video

    Hello Every-one.
    I have a 30 minutes video, and I have a 10 seconds music clip, instead of copy and paste the Music clip, all the way until the end of my video,,  Is there other Techniques so i can apply this 10 Seconds Music Clip for my entire movie.
    Thanks
    Simon

    Surely you're gonna have to edit it on the beat so that the extended piece appears seamless.  I'm not sure there's an automated way of doing that. 
    Use the asterisk key on the numeric pad to tap the beat and leave markers in the timeline.  Cut and edit acccordingly.

  • How do I delete many photos at the same time, but not all?  I have the free version - Adobe Photosho

    I have the old free version Adobe Photoshop Album Starter Edition 3.0.  How can you delete many photos at one time, but not delete everything in the album?

    Hello, for your info; there is a Photoshop Album Starter Edition forum: http://forums.adobe.com/community/ps_album_starter

Maybe you are looking for

  • My iphone's setting menu is not working.plz help me

    When i enter into the setting tab all the menu is not working i cant eneter to any item there or even i cant scroll down.plz help me

  • Inter unit posting for blank business area

    Hi For  Inter unit posting we have executed the run in TC-F.5D & F.5E for the month april -- july which was successful.But while executing the same for the month of aug it is reading the document to be posted for IU run.But while executing f.5E it no

  • Connection Doubt

    Hi  Guys Here Client , what is he asking that , can we connect from one R/3 system to two BW servers? with 1. same versions in BW servers      2. always connection for two BW servers      3. no data pullung at the same time Please tell me, is it poss

  • Total erasue of third party software?

    I have had ongoing issues with installing adobe creative suite on my mac and have had endless troubleshooting with adobe support. I am wondering if anyone can offer any instruction on how to completely clean my computer of any trace of this software

  • Include CD Text turned grey-out

    Oddity, I burn one cd, it includes CD Text, I'm able to select include cd text, fun stuff. I burn a lightscribe label for the disc [through SureThing, subsequently installed Nero]. Plopped the CD into my PS3, cd text recogonized, much fun. Burn a sec