Open new window from table embedded menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
wweide
Beginner
Beginner
Posts: 2
Joined: Wed Mar 15, 2006 5:26 pm

Open new window from table embedded menu

Post by wweide »

Hello all...

I am having a few issues with a menu that has been embedded into a table on my page. I have version 5.744 and these problems are not present in another "main" menu that I have on my page. In fact, the exact code when placed in the "main" .js works like a champion. The "Style5" that the menu is using is written in my main .js file for my "main" menu.

The problems are;
1) The status text does not appear in my status bar.
2) The "Open New Window" feature does not open a link in a new window.
3) When I hover over a button, my horozontal scroll bar is added, and another 3 inches are added to the right side of my page.

The code I have presently is;

Code: Select all

<script type="text/javascript">
with(new menuname("Quick Menu")){
style=style5;
position="relative";
alwaysvisible=1;
orientation="vertical";
aI("text=Cafeteria Menu;url=http://porweb/Nutrition/Menu/Cafeteria Menu.doc;;status=Cafeteria Menu");
aI("text=Calendar;url=http://porweb/StaffDevelopment/calendar.html;;status=View The Current Calendar");
aI("text=Check Email;url=http://idc-ex-vs03/exchange;target=_blank;;status=Check Web Email");
aI("text=Hospital Directory;url=P:/Fiscal_Services/Hosdir.doc;;status=Open The Current Hospital Directory");
aI("text=Job Postings;url=http://porweb/HR/jobs.html;;status=Current Job Listings");
aI("text=Med-e-Learn;url=http://172.16.205.56/index2.htm;;status=Med-e-Learn Training");
aI("text=S.H.I.N.E;url=http://hdqcbl/learnast/;;status=S.H.I.N.E Training");
}
drawMenus();
</script>
Any help on this would be greatly appriciated, as I have already spent waaaaaaaaay too much time trying to figure this out.

Thank you,

Bill Weide
Shriners Hospitals For Children
Portland, Oregon USA
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

At a glance

Some ";" semicolon are missing (marked red) : for instance
status=Cafeteria Menu;");

(in all your status properties, the final semicolon is missing)

Some dublicated semicolon are not required ;;, one is enough

Michael


Would be better to provide a url, could be something different.
wweide
Beginner
Beginner
Posts: 2
Joined: Wed Mar 15, 2006 5:26 pm

Post by wweide »

Thanks for checking the post...

I double checked the ";" and yes, some were missing... but, after putting them there, nothing changed. The problems are still present.

As far as posting an URL, that can't be done, as it is for an internal web on my closed network.

Thanks,

Bill
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

as far as I can see, reading your code, I do not find anything else which could be made responsible for those reported and posted issues.
I would have checked

- path settings of your js-milonic and menu_data - files
- path settings of your url
- placement of the js-file references right after the <body> tag or in the head section
- missing drawMenus() in the menu_data.js
(Its in the embedded main as well)
- release nos. of all files (5.744) it has already happened that one was missing or older !
- any other syntax issues ??
you say you are using it embedded in a <td>
So please check again:
http://milonic.com/tablemenu.php
What is the browser/version you´re using?

Michael
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Bill, please post the code for the entire page and also the _data file.
John
Post Reply