How to "client-side includes for secondary menu on the page.

Hello.

Returns the next page: beginning of trial project page

The linked page is actually a glimpse of a tmp DW CS3 file, for this reason that the CSS has been fired by DW in the html file, it will not look like that in the possible swap file.

After long battles with the Spry Horizontal menu, I finally resorted to Pop Menu Magic 2 (PPM2) to generate menus. I am very happy with the product (I don't mean support PPM2, but prefer support regarding the menu CSS in General related to caching-based). I started with a single main navigation menu, which was very complete - but also very large (ito file size). I was hoping to cache part of the menu on the client side to reduce the download time once the site visitor download the first page of the site (where it enters the site is not applicable). But this proved impossible (I think...).

Then I followed some advice for break up of my main navigation menu, keep only the most important things in there and instead distribute the lower levels of the main menu in their own dedicated menus. From there, the page linked above.

Main menu at the top is fine, no problem. On the left under the mast-head, I created two menus, one on the other (it displays as a single menu but the first menu point ends above the "another turn lists"). The first of these two menus contains most of the heavy elements of navigation (±160kb of total page of 220kb file size). The div info that applies to this menu = < div id = "p7PMM_2" class = "p7PMMv06" >. I'd love to cache this menu, either all or the major part of it, on the client side. Which is to put an include implemented on the client side. When a visitor first enters our site include with the menu file (secondary) 160kb gets downloaded and CSS style sheets, etc. When the visitor connects through a next page in our site, his machine (client side) dishes on the menu page without having to download it again from our hosting server.

Is this possible and how? Any suggestions will be appreciated!

Our clients are mostly wealthy and so probably (almost) all have high-speed broadband connections. I seriously doubt that none of them are running with dial-up connections. Thus, this issue will not sink our site. But I'd like to reduce the file size of page if possible.

Furthermore, I'm not too worried about the small amount of visitors who may have their javascript disabled in their browser. The main navigation at the top of the page menu again will allow them to navigate the site. Much, it goes same for SEO.

I tried one or two CSI javascripts and managed to actually do the relevant tags and content inserted into the html document, but the javascript would be "breaking." That's all the coding and menu content would be, but javascript does not work (menu will not pop / fly-out). I'm a little clueless when it comes to Javascript and many other things :-), but I suspect that the Javascript code into the include file is not called. If the Javascript code is stored in the HTML, the content of the menu (items) in the include file comes in the html file after the relevant script was called and be rendered?

Once more any help / suggestions will be appreciated!

Tuesday, March 17, 2009 21:27:59 + 0000 (UTC), "afrilux".
wrote:

>.. What is more or less the advice of Gary, as well as a few others. I realize
> It is very good advice. It's the kind of advice that lead me to carve up the
> intial 'all-in-one' menu in a menu main nav and the secondary menu on the
> left.

It's more or less what I suggests to me. The main menu contains the
various categories. In each of these categories, you may have the
under categories for this category. Some of these subcategories
could have other subcategories below them.

The idea is a bit like a wizard that guides a user through a complex
Configuration. If you present the user with too many choices at the same time, it
is a bit overwhelming and just leads to indecision, which means they could
choose to do nothing. If you present with little choice, he
is much easier for them to make a decision. This decision would lead to their
a little more choice, etc. until they chose what they want.

So that this kind of thing, especially with as many rounds you have,
request to the database, a database in not absolutely necessary in order
to adopt this approach.

And just FYI, it is impossible for the part of a page cache. You can cache only
entire folders. There is no such thing as an include client-side. Includes are
see all as a single file on the server and the browser. The
only way to hide something as your menu would be to use images. Who,
of course, brings us to much more difficult. The first would be that of the menus
cannot cross the borders of the image. Then there are questions of usability
with the images. Those things that really make a wise choice.

Gary

Tags: Dreamweaver

Similar Questions

  • How can I tell the mail client to search for new mail on the server?

    How can I tell the mail client to search for new mail on the server?

    Within the Mail app and display the Inbox you can pull down on the list of e-mail using your finger and you should see a small reel spinning gear. Which indicates that his check new email.

    You can also go into the settings of e-mail and calendars Contacts and view the settings there. Examine the settings of "search for new data. If the Push is enabled, then messages will be pushed to you if the email provider supports this feature. You can also set your accounts to use Fetch and set the frequency, he's going to go out and look for new e-mail messages.

  • HP Pavilion HPE h8 - 1260t CTO: stuck at the screen with the words "Press ESC for Boot Menu" on the bottom

    I unplugged the graphics card to clean dust. After that I connected everything again, he stuck to the blue screen with the words "Press ESC for Boot Menu" on the bottom. If I press ESC at the beginning, it will go to a black screen and it will show the basic information of the computer (information about the processor and memory). It also show this black screen, "Press ESC for Boot Menu" on the bottom and it will show "Start menu" in the lower right corner. If I press F8 at the beginning, it's going to be the same black screen, but it does not "Start menu" show in the lower right. If I press F10 at the beginning, it will go to the same black screen, and it will show "setup" in the lower right. Can someone help me solve this problem? And thank you very much!

    So I suggest to look at the following and try to 'Clear the CMOS settings' as described at the bottom of the page: HP and Compaq Desktop PCs - specifications of the motherboard, IPISB-CH2 (Chicago).  Then see if there is no change at all.  If there is no improvement, then use the following http://www.hp.com/contacthp, fill in the form, create a folder for your question and then use the information to contact HP.

  • How to write a script for date get to the Clipboard

    Hi experts,

    How to write a script for date get to the Clipboard.

    the date format will be like this:

    05 - may

    respect of

    John

    Thanks guys, thanks Sanon

    I finally use the .bat doc

    like this:

    @@echo off
    for /f "delims =" % in (' wmic OS Get localdatetime ^ | find ".") "") Set "dt = %% a"
    the value "YYYY = % dt: ~ 0, 4%.
    the value "MM = % dt: ~ 4, 2%.

    If MM % is 01 set MM = January
    If % MM == 02 set MM = February
    If MM % is MM value = March 03
    If MM % is 04 MM value = April
    If MM % is 05 MM value = may
    If MM % is 06 MM value = June
    If MM % == 07 set MM = July
    If MM % is MM value = August 08
    If MM % is MM value = September 09
    If MM % is 10 MM value = October
    If MM % is 11A set MM = November
    If MM % is game MM 12 = December

    the value "DD = % dt: ~ 6, 2%.
    the value "HH = % dt: ~ 8, 2%.
    the value "Min = % dt: ~ 10, 2%.
    Set "s = % dt: ~ 12, 2%.

    Echo DD - MM HH % %% % Min | Clip

    It works

    respect of

    John

  • Working as a muse when I right click I do not get the Properties menu of the Page, how can I change?

    Working as a muse when I right click I do not get the Properties menu of the Page, how can I change this?

    Hello

    What a click right on? Usually, you should be able to see the Page properties when you right click on the map view of a page, or you can also find properties page if you open the individual pages and then go to the Page-> Page Properties. However, if you are in map mode and you try to use the Page-> Page Properties, this does not work and the "Page Properties" option may be dimmed.

    I hope this helps.

    See you soon

    Parikshit

  • How to add ads of Type Lightbox when loading the Page

    Hello world

    We would like to place a box of type lightbox which will dispay on our homepage as soon as the first load of the page. The Lightbox area, we would like to have a simple contact form. I was able to create a viewer with the content we want but cannot find how to open the box when the page is loaded.

    I also tried to use a pre-made contact form and adding the javascript code in the head of the page to load it but it doesn't close alow us to customize enough.

    Anyone have any suggestions on the best way to do it?

    Thank you

    By the link and article, I meant (hyperlink) links on the page.

    It would not take customization on your side, as you have to hide the page elements as they were returning to the page navigation.

    Check this out for customization:

    http://StackOverflow.com/questions/17203427/jQuery-how-to-remember-show-hide-elements-when-navigation-retour-de-UN other-pa

    Thank you

    Sanjit

  • How can we dynamically open an external URl of the page of the OFA

    Hi team
    Hello, how can we dynamically open an external URl of the page of the OFA
    For example: my datas table DB are like that
    Employee no       Url
    1     https://www.google.co.in/
    2     https://www.facebook.com/
    3     https://www.yahoomail.com/
    When I don't ask used no 1 of my Search Page
    In the result of my search page table, I get
    1 https://www.google.co.in/
    NOTE: Here item URL is type bean link when I click on the link it should open google page in separate browser
    At the same time, when I question used no 2 which is shown below, then it should open facebook page in a separate browser.
    2 https://www.facebook.com/

    When I try this
    Destination URI - https://www.google.co.in/
    It opens no separate browser, but for employees don't I question as open 1,2,3 only the same page of google in the separate browser for everyone, it is static, I want to dynamically open the URL depend on my employee to query no. If I query emp No 2 it must open facebook page this is my requirement. How can I pass the URL as a parameter?

    Please share your knowledge and experience and your advice my on this issue
    How can I complete my task
    I hope that my requirement is clear, if not please let me know I explained more anyway :)

    Is it Possible to achieve this OAF Page
    Thank you for all your suggestions on this
    Thanks in advance

    A.T. :)

    .findIndexedChildRecursive ("ResultTable");

    Here, you should have the exact itrm link id and not the region containing the lino

    Would it be more likely ImagePath I think ResultTable corresponds to the id of the table of search results

  • How to assign URLs dynamically using button/link on the page of peoplesoft? Please provide detailed instructions.

    How to assign URLs dynamically using button/link on the page of peoplesoft? Please provide detailed instructions.

    1. define the URL, the Z_URL1 or the Z_URL2 definitions

    2. in the change of field button:

    If true Condition then

    ViewURL (URL. Z_URL1);

    On the other

    ViewURL (URL. Z_URL2);

    End - if

  • Menus... I need to know how to set colors, etc. for all menu items

    When I add a new page, it has the widget original colors etc.   must manually change EACH.  What a PAIN. What is the magic combination of mouse clicks and chance selects all THE menu items and submenus at the SAME TIME. 

    I did click to down/zoom before thing.  Am but so far failed to put for ALL States and the elements of the FUTURE.

    Paul

    Holy Moly.

  • How can I eliminate the scroll for different elements of the page bar?

    I downloaded DreamWeaver CC 2015. I had worked through a tutorial on DreamWeaver CS3, which included a cap, a sidebar, and a main display area. The main display area was scrollable, but the other sections were not. Unfortunately, I lost this tutorial, and I don't know how the non-defilement sections have been fixed. Now, I'm trying to find out how remove (turn off) the scroll bar on some areas of the page. And since I'm on bootstrap.css, the style settings may prevent my being able to eliminate scrolling. I don't seem to be able to substitute the bootstrap.css styles, and I guess that's the way that DreamWeaver is designed. What is the magic trick to do this?

    Ben Pleysier wrote:

    engineerbob wrote:

    The section that I wanted the scroll bar is the one with the H2 heading + paragraph.

    Bob,

    I see that you use for your development, which is a good thing because it also allows delicate design Bootstrap. Problem is that - scroll bars are not useful in RWD, especially when it comes down to the smaller size of the screen.

    I don't particularly like the scroll bars myself, but the 'Tweet' is popular and use it. On small areas and within the limits I didn't see no problem in smaller screens.

  • 2 &amp; lt; div &amp; gt; side by side, just start higher up on the page, how?

    Hello

    I m ree - design a litle page for a friend page, from $ tabels in CSS, but I'm new at it and came up with a problem...

    I would like to have the < div id = "Text" > start higher up on the page, so that it starts more higher that the div just left for her, the one named < div id = 'Menu' >, I Googled, but don't know how to do.
    Pointers?

    My eksampel...
    http://www.natouren.dk/New_4.html

    concerning
    Peter - Denmark

    Without reworking how you're wearing the all out, a simple solution would be to margin negative as div upward.

    If your #text ID, add this:

    margin-top:-20px;

    This is quick and dirty, but it works.

  • How can I customize firefox for multiple users on the same device?

    My wife sometimes use my computer to surf the web. I wish she is set up so that she can have its bookmarks, etc. when she uses it and I can have mine when I'm with her. Is this possible? If yes how?

    Hello arrack, the easiest way would be to create accounts to different users for you both on the mac at the operating system level: How to share Firefox between people on a computer?

    or you can use the firefox profile manager to create separate profiles: use the Profile Manager to create and delete profiles Firefox

  • How set you Firefox to print what is on the page of e-mail without adding a left marghin of 1 inch to this page, which affects a part of the right side of the page?

    When I get an email page often has a certificate that I would like to print. With the help of printing at the top of the page displays the e-mail as a page as it appears in my webmail. When I hit the print button on this page there is always a margin of 1 inch, added to the cup of the printed page on the right side of the page you want to print.

    My printer accepts what I send from word, pdf files as they appear on the screen, why Firefox doe not send the same images that appears on the printer?

    This seems to happen whenever the screen displays an image that is located near the border to border and no text. When a margin is part of the e-mail message or it's text, this seems not to happen.

    HELP please. I really need to be able to print what is displayed to print the appropriate document.

    Thank you

    Bob Ferguson
    Sonoran Consulting & Finance, LLC

    Some pages add their own margin to the minimum margin that is defined in the configuration of the Page. First of all, you could reduce the margin here:

    Alt + f (display the classic file menu) > Page Setup > margins & header/footer tab

    Second, you can try to use shrink to fit. However, if the image is a background image instead of the part of the content of the page, which is perhaps no effect.

  • How we get enough space for a column in the SQL report?

    How did one reserves enough spaces for a column in the SQL report?

    Ex: 2 columns defined as follows

    projectNo varchar2 (10)
    ProjectName varchar2 (50)

    When creating a sql, the report header report will show below. If my project name is 'Tire force Test site R987654'. I need to show in a single line, since it has been defined as varchar2 (50)
    projectNo     ProjectName
    A0001         Tire Strength
                  Test At Site
                  R987654 
    It have a way to get around here. Thanks in advance.

    Tai

    You can enter "space: nowrap;" in the CSS Style of the column, or, better yet, to set a CSS class to it.

    HTH,
    Chris

  • Hi, I searched the forums, but the site has not found an answer... How to "disable another computer" for lightroom 6 (not the version of cloud).

    Hi, I keep getting the message that I've exceeded the number of computers permit.

    Now, I disable lightroom on another computer... How do I do that?

    I asked the same question in the forum search... but has not obtained a great success in return...

    Thanks Michel

    Serial number and activation support (non - CC) https://forums.adobe.com/thread/2041990 to adjust the number of activations

    If the cat person sends you back to this open forum, you are out of luck... only Adobe can help, nobody here can access the activation server

Maybe you are looking for