bread crumbs (page matching) over (regular) frames

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
luisraposo
Advanced
Advanced
Posts: 20
Joined: Wed Aug 29, 2007 2:49 pm

bread crumbs (page matching) over (regular) frames

Post by luisraposo »

hi,

I have two frames, one for the main menu, other for contents and sub-menus: followed guidelines from http://milonic.com/frames/, and split the menus in two files.

To highlight menu items I'm following the advise on http://support.milonic.com/demos/breadcrumb/index.htm.
I added the same code on both menu-data files.

This works good for sub-menus, but the main menu option does not get highlighted.

I would appreciate your help to guide me,
luis
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I don't think that is possible. The reason it works on the subs is they are all in the same frame. But, the main and subs are in different frames and aren't really the same 'menu' There's special programming that gets your menu in one frame to talk to your menu in the other one as far as opening and closing, note the offfunction and onfunction coding in the main menu where there is nothing like that in the subs.

There is a module for pagehighlighting. http://support.milonic.com/demos/

It's down at the bottom area called Page Highlighting Module.

Ruth
luisraposo
Advanced
Advanced
Posts: 20
Joined: Wed Aug 29, 2007 2:49 pm

Post by luisraposo »

thanks Ruth,

I had also gone through http://milonic.com/menufaq.php#linkHighlight without success

please note that both links at http://support.milonic.com/demos/mmpage ... /index.htm http://support.milonic.com/demos/mmpage ... r_demo.zip and http://milonic.com/mmpagehighligher.js are not working :(

Could you provide me the script?

luis
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I don't know what you mean by are not working. I just went to

http://support.milonic.com/demos/mmpage ... /index.htm

and clicked on the number 3. ) Using a menu item's clickfunction property

The demo page does the highlighting just fine. The color changes from mint green to bright orange when each item is clicked. Each item is coded for use of one of the 3 methods to do the highlighting.

Ruth
luisraposo
Advanced
Advanced
Posts: 20
Joined: Wed Aug 29, 2007 2:49 pm

Post by luisraposo »

sorry Ruth,

maybe I didn't explain well: the file links at the very bottom of the page, with the examples, are not working, I can not download them :?

thanks for all your help,
luis
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

:oops: It would help if I spelled the words correctly in the url.

Try it now, it should work fine.

Ruth
luisraposo
Advanced
Advanced
Posts: 20
Joined: Wed Aug 29, 2007 2:49 pm

Post by luisraposo »

Hi,

I don't think that is possible. The reason it works on the subs is they are all in the same frame. But, the main and subs are in different frames and aren't really the same 'menu' There's special programming that gets your menu in one frame to talk to your menu in the other one as far as opening and closing, note the offfunction and onfunction coding in the main menu where there is nothing like that in the subs.

There is a module for pagehighlighting. http://support.milonic.com/demos/

It's down at the bottom area called Page Highlighting Module.

Ruth
the links are OK now Ruth, thanks :D

but the problem remains:
- the page highlight works good only on sub-menus, I am not able to highlight a main menu option (on a different frame), from a sub-menu option
- more, a second manual highlight does not remove the first highlight; the same happens using the "highlightme()" - this works fine with the breadCrumbs

it seems this story does not have an happy ending.. :(

anyhow, thanks a lot for all your efforts ;)

luis
luisraposo
Advanced
Advanced
Posts: 20
Joined: Wed Aug 29, 2007 2:49 pm

Post by luisraposo »

hello again,

On the meantime I've tried to use iframes, but I get a script error and can not load the page in the frame.
The error is the same as in the example http://support.milonic.com/demos/breadcrumb/index.htm when I click
"Test 1" - "test 1.1" - "Load page in IFRAME"
Line: 29
Char: 5
Error: '_mi[...]' is null or not an object
Code: 0
URL: http://support.milonic.com/demos/breadcrumb/index.htm
I am using Internet Explorer 6.0.2900.2180 on Win XP SP2

What may be wrong?

luis
luisraposo
Advanced
Advanced
Posts: 20
Joined: Wed Aug 29, 2007 2:49 pm

Re: bread crumbs (page matching) over (regular) frames

Post by luisraposo »

hello there,

any news on this subject?

thanks,
luis
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: bread crumbs (page matching) over (regular) frames

Post by Ruth »

Hi,

I'm sorry, I thought I emailed you.... Dang old age is a pain!

You need to contact Milonic about what's happening. I have notified them of the problem in the demos. As to the other, since I am not a programmer, I really don't know what part of the code needs to be tweeked or modified or if it can even be done to do what you want. I have a feeling that due to the frames this is not going to work. Any of the things except the one for page highlighting for iframes [when it's fixed] are not going to work backwards, i.e. change the main menu when a submenu item is clicked. There is no backwards communication since in reality the 'main' and the so-called 'subs' are not really one menu but two different ones situated on different pages.

Ruth
luisraposo
Advanced
Advanced
Posts: 20
Joined: Wed Aug 29, 2007 2:49 pm

Re: bread crumbs (page matching) over (regular) frames

Post by luisraposo »

hi Ruth,

Bad excuse, I don't think anyone gets old in California's sunshine ;)
Don't worry, I was just wondering, since I am still working on this..

Thanks for your help, and for pushing the iframes issue to the development team.

kind regards,
luis
Post Reply