..the site previously-visited javascript menu links can be identified by say using a different font colour for visited 'pages'..
Return to Recent Questions
Q:
Once I have an answer form your reseller as to why the VAT doesn't
correspond with my country's rate, I think that there is a very
strong possibility that I will be investing in this impressive menu-builder.
I do have a couple of questions which don't seem to be answered anywhere:
1: is it possible to configure the menu so that the person browsing
the site previously-visited javascript menu links can be identified by say using a
different font colour for visited 'pages'?
2: the section of the web page in which the menu is located is called
by a SSI for each new page that the browser visits - will the menu
rest each time the Included file is called, or will it persist from
page to page?
A:
> 1: is it possible to configure the menu so that the person browsing
> the site previously-visited javascript menu links can be identified by say using a
> different font colour for visited 'pages'?
You can find more info here:
http://www.deluxe-menu.com/highlighted-items-sample.html
Deluxe Menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, for
example:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript">var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript">var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
See the attached example. Open deluxe-menu1.html. The first item is
highlighted. Then click to open deluxe-menu2.html file. The second item is
highlighted.
> 2: the section of the web page in which the menu is located is called
> by a SSI for each new page that the browser visits - will the menu
> rest each time the Included file is called, or will it persist from
> page to page?
Deluxe Menu is the Javascript product. It means that it works on a
client side only and it doesn't depend on the server which you're
using and it doesn't work on a server side as SSI script.
So when your browser reloads a page with the menu your menu reloads too.
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 22, 2006 - Where do I add my "blahblah.htm" page links in js menu?
- Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
- Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
- Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
|