Highlight current menu item, which the page is displayed in an iFrame

Greetings,

Looking for the Holy Grail here...

If the parent page has static menu and an iframe that loads in specific pages as long as the user clicks on the menu items (which are the li ul tags).

I would like to be able to highlight a menu item based on the contents of the page displayed in an iframe. It seems to be pretty hard to do for this style of page loading using the iframe method. I know that it would be easier to php, but I cannot use the iframe (long story).

When page 1 is displayed in the iframe, I would like to be highlighted in the menu item.

I hope that the answer is here somewhere as iframe has always existed. If you do not want to see my code, I'm happy to provide it.

Thank you!

Ok. In each link, you will have

onclick = "offclass (); onclass ('linkid'); »

Where linkid above will be the id of the link on which you turn. the offclass () will be empty and placed before the onclass because we do all disable them first on the rise in the javascript. Edit the script for this...

Then add you a new line under the function offclass for each of your 34 links. It will be a long list, but he will need only be done once in the script. All the links themselves will have the same code with just the id of the onclass being changed.

Tags: Dreamweaver

Similar Questions

  • Disable or remove the menu item 'Print the Pages' in reader

    Hello

    I would like to delete (or disable) the menu item print Pages in adobe reader

    See the attachment for the location of the menu item

    Thank you

    Mike

    Is not possible.

  • The Menu items in the page header do not work

    When Web pages have "menus" in the head like on your page using Firefox, I can't access it. for example today I signed I can't disconnect. This also occurs on the page of Lloyds bank Sainsbury shopping page and also

    The extension of the Yahoo! toolbar reported that causes this problem. Disable or uninstall this add-on.

       * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    
  • Acrobat automaton - execute menu item "HTML Web Page"

    I am trying to automate Acrobat of VS 2010 to convert PDFs to html format.

    I know I have to use acrobatApp->MenuItemExecute(...); , but I have not found the name of the "Web Page HTML" menu item which should be passed as argument. Any help?

    It is unlikely that it would help because this menu item displays a dialog box. If automate you, you will automate all display of the dialog box.

  • Cannot open the HFM (grayed out menu items) in the workspace (weblogic\IIS)

    Hello

    Here is the configuration:

    HFM on IIS on server1. Port 80

    Planning on weblogic\IIS on server 2.

    Workspace on weblogic\IIS on the Server 3. Port 80.

    With this combination, I can see the menu items in the workspace of planning and can create an application. But the HFM as "Create app" menu items is gray and clicking on Sunrise an error that the module is not configured.

    If I rerun the configuration utility on the server (Server 3) workspace and workspace on weblogic\Apache (changed between IIS and apache), to deploy the two planning and HFM are at my disposal and I can create HFM applications.

    My client wants us to use IIS and also, we heard that support for Apache would be removed over time.

    Any ideas on how I can use IIS on the server to the workspace and get HFM to work with her.
    Another question is - can I change the port default HFM from 80 to something else while running the configuration tool for HFM.

    Thank you.

    Published by: user1658817 on June 10, 2009 17:24

    Published by: user1658817 on June 10, 2009 17:25

    I'll fly my answer on this topic from a previous post.

    It is useful to know what versions of the software on which you are working. I'll assume you're on the latest version.

    If you use a separate web server and application server and that you are not Apache as web server, you need to deploy the system of financial management. Please read the installation manual 52 next page: http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_manual_deployment.pdf

    Alternatively, you can deploy the Web of HFM components directly to the server of the workspace that can be a little easier to install.

    Once you have chosen the direction chosen and made changes to the HFM, you will need to then to redeploy Workspace App Server and Configuration Web.

    Kind regards

    -John

  • Info session not showing all the items on the page

    Hello world

    Apex 4.2.5.00.08

    Need to check a mental health, went to check the values of session of an item on a page and only the PK element was on the list in the State of Session window.  See the list of items on the page by using the tab elements and they are all there.  Page source checked and yes they have values

    < snip >

    "" < td align= "right" >< label for= "P174_DESCRIPTION" tabindex= "999" >< a class= "option-w-help" href= "javascript:popupFieldHelp('1261598755721459294','2188531882820')" tabindex= "999" >default< /a > </ label > <table > ""

    < / snip >


    Still this hidden item is displayed in the window of session state

    < snip >

    < input type of =" hidden " name =" p_t28 " ID = " P173_COMPONENT_COUNT " " value =" 0 ">

    < / snip >


    and I don't mean tha the value is missing, but the real thing is not on the list of issues


    Thanks for your help.


    Gary


    When you inspect the session state?

    How and when are the set of values of item?

    See this current thread for what seems like the same problem: The State of Session items that are database columns

  • Add menu Item to the root (cParent)?

    Dear all,

    is it possible to add a menu to the root element, i.e. of New Menu item, which appears next to the "help" and not in "File", "Edit", etc. ?

    Kind regards

    Alex

    Not with JS. It is possible to use a plugin, however.

  • [JS CS4] Add menu item to the context menu of the control panel paragraph styles

    Hi all

    I am trying to add a menu item in the context menu of control panel of the paragraph styles, that appears when you right click on any paragraph style name in the Panel. But I can't find the menu in app.menus.

    In app.menus there is, for example, a 'Menu of the Pages panel framework', 'object Styles point context Menu. But there is no similar menu for the paragraph or character style.

    Someone help me?

    Paul

    RtMenuStyleListItem

  • Disable the menu item in the third party application (such as Photoshop)

    Please suggest me to disable the menu item in the third party application (such as Photoshop).

    Hello

    I suggest you to send your query to the following link:

    Photoshop Help Center: http://www.adobe.com/support/photoshop/

    Hope this information is useful.

  • How to a add a menu item for the depeneding menu existing email on the subject of the e-mail?

    Hi all...

    I'm new here and I need your help... Please

    I'm trying to add the menu item to the email existing menu depeneding on the email... I assumed using

    ApplicationMessageFolderRegistry togather with shops and Session but could not establish the code...

    any help please...

    Thank you

    Please mark the topic as solved, then.

  • How to add the menu item in the context menu of the Gallery

    Hi all

    I am new bie BlackBerrry development. Does anyone know how to add a menu item in the context menu of the BlackBerry Gallery. In other words, when I am browsing photos in the Gallery, click on the menu, there will be a configurable option so that my request will be executed when I select this item.

    Thank you
    TuanSandman

    See this article.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800367/How_To _...

    Check the class ApplicationMenuItemRepository for applications where you can add the custom menu item.

  • Delete the last item on the page with some scriptlable

    Hi @ all,

    I'm trying to solve the following problem, I hope one of you can help me:

    Import xml files into a database in InDesign (CS 5.5, Windows 7) to get a full product catalog.

    Before each product group is inserted a subheadline (separate textframe with scriptlable 'katalog_untergruppe'), but in the case of a page break, it's the last item on a page.

    Can I somehow, select these elements and remove them with a script in the InDesign document?

    I tried to do on objects on each page of counting and remove the frame if there a number higher than 40, but the number of objects is different, so sometimes necessary frameworks are deleted and some are still there.

    So I need to check if it's the last item on the page. Any ideas?

    Here my test:

    function test() {}

    for (var i = 0; i < document.allPageItems.length; i ++) {}

    If (document.allPageItems [i] .label! = "") {}

    PAGESTART

    If (document.allPageItems [i] .label == 'katalog_untergruppe') {}

    var n = 1;

    While (document.allPageItems [i + n] .label == "") {}

    n ++ ;

    }

    if(n>40) {}

    document.allPageItems [i] .remove ();

    }

    }

    If (document.allPageItems [i] .label == 'katalog_untergruppe' & & document.allPageItems [i + 1] .label == 'pagestart') {}

    document.allPageItems [i] .remove ();

    }

    }

    }

    }

    test();

    Thanks in advance :-)

    * Rike *.

    @ Jump_Over

    This does not work either, sometimes now other executives of related texts are deleted.

    With the help of someone else in combination with yours, I have now found a working solution.

    Search for the item lowest, if it is marked "katalog_untergruppe", delete it.

    Thank you very much.

    @Hans

    Sorry for not posting a file, but I'm not allowed to.

    @all

    Here a script to work for the problem, it is perhaps useful.

    function test() {}

    for (var i = 0; i)< app.activedocument.pages.length;="" i++)="">

    currentPage var = app.activeDocument.pages [i];

    var lastpageItems;

    for (var j = 0; j)< currentpage.pageitems.length;="" j++)="">

    var currentpageItems = currentPage.pageItems [j];

    If (j == 0)

    lastpageItems = currentpageItems;

    ElseIf (currentpageItems.geometricBounds [0] > lastpageItems.geometricBounds [0])

    lastpageItems = currentpageItems;

    }

    If (lastpageItems.label is "katalog_untergruppe")

    lastpageItems.remove ();

    }

    }

    test();

  • Missing the Menu item in the import Panel?

    I am using LR3 for over a year - last version 3.6. Without apparent reason, the menu item "Do the second copy" no longer displays in the import Panel. Imported files are copied to the specified location the last time that the item was available. I looked in all the panels help, but don "t find any way to disable the second copy function, or to manage the second copy function. I'm Mac 10.6.8.

    Hugh,

    When you right-click on one of the headers Panel on the right side of the input dialogue, is "File management" checked? If not, click it or click "show all."

    HAL

  • How can we add a new menu item in the file Menu?

    Hello

    I want to create the menu item on the file Menu, I want to create a new menu item, just after the item "save under...". ». Is this possible with SDK?

    Thanks in advance

    Farida kaid

    You can file a new menuitem in any "menu group" defined by the Illustrator. If you look at AIMenuGroups.h, you will find the names of various groups of menuitems. There are two that might be what you want: kSaveForMenuGroup & kSaveMenuGroup. I can't remember how much control you have within a group, but it would at least allow you to get close enough.

  • URL - separated by commas contains a list of values to assign items to the page '&amp; '.

    I want to pass values to the page elements in a URL which includes this symbol '& '.

    example: ...f?p=209:1:::p1_ind:aerospace%20%26%20defense
    expects that AEROSPACE & DEFENSE would be passed to the element P1_IND to Page 1 of application 209
    the page is a select and display in the selection list value is AEROSPACE & DEFENSE
    This URL causes an error - mod_plsql: / pls/eds/f HTTP - 400 Missing '=' in query string or post the form (from firefox)... (IE returns a HTTP 400 .but you can find the mod_plsql error in the Apache error_log)

    If I run the same URL as above, but this time modify the P1_IND page to display text element (special escape characters, does not save the State)
    the URL successfully calls the page and displays the value in the element P1_IND - AEROSPACE & amp; DEFENCE (without the space between the & amp...) I could not determine how to get the word combined to make here)

    Once more with the same URL, but this time the page P1_IND element set to display text (does not save the State)
    the URL successfully calls the page and displays the value in the element P1_IND - AEROSPACE & DEFENSE

    QUESTION: How to pass a value to a page element 'list of selection' in a URL when the page element includes an ampersand?
    .. .and what is the relevance of the mod_plsql error... /f HTTP - 400 Missing '=' in query string or form post

    The Solution is to use the spaces (%20) instead of 26%

Maybe you are looking for

  • Column of the browser height

    I just downloaded the latest update to itunes and now my Explorer displays more than 4.5 lines. I tried hovering over the lines as I've done it before and no double arrow to resize vertically. The double horizontal arrows show, but no arrow double ve

  • Need to buy a key for Equium A100-147

    need to buy a replacement key for A100-147 but need part number can help you! Thank you

  • ThinkPad x 240 - Fn keys Mute and Microphone are lit, TP does not turn

    Hey, the team. It has been 24 hours since I discovered my thinkpad does not turn. I used this last Saturday afternoon and stops completely. Never, I put my TP in sleep or Hibernate mode. When I woke up yesterday, 11:00 I discovered keys Fn, Mute and

  • By pressing the delete button puts the Vista computer to sleep

    Original title: Remove button puts computer sleep When I push the button Delete on my computer, it puts the computer to sleep.  How can I change this?   I have a Windows Vista program.

  • Install fonts from several folders at once.

    I have a collection of fonts that are stored in individual folders in alphabetical order (for example fonts starting with the letter 'A' in the folder 'A', etc.).  Is it possible to have Setup install fonts of all the subfolders in a folder instead o