new window

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
wkilc
Super Advanced
Super Advanced
Posts: 60
Joined: Fri Sep 26, 2003 9:28 pm

new window

Post by wkilc »

Sorry for posting two threads at once... but I've got two seemingly unrealted issues.

Using Firefox 1.07.

Page to open in a new window:
aI("text=Providence Journal;url=http://projo.com;target=_blank;");

This page uses version 5.735:
http://www.lllimousine.net/test.php
"Links" and then say "Providence Journal"

Opens in a new window, but without any toolbars and is not re-sizable.

Is this a new feature?

Or did I do soemthing dumb?
:?

Thanks a million.

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

Post by Ruth »

Hi,

Not a new feature that I'm aware, and not anything dumb that I can see.

My guess is going to be that somehow if there are no 'features' mentioned FF is not putting anything in, or something in FF and Milonic are not agreeing :) Try including the targetfeatures=; putting in what features you want, the structure would be:

Code: Select all

aI("text=Open Google;url=http://www.google.com;target=windowname;
targetfeatures=width=300,height=300,status,scrollbars,resizable");
As far as I know the targetfeatures property allows you to put in any of them.

I like the site, really like the sub popping up when you click in a field. Andy will have to address that one, though I do know he removed the $ starting with 5.733 so that the menu is compatible with other scripts, something about some library I think that is being used or something that uses that $ symbol in their coding or something... Maybe that's the problem.

Ruth
wkilc
Super Advanced
Super Advanced
Posts: 60
Joined: Fri Sep 26, 2003 9:28 pm

Post by wkilc »

bump... :?

I still cannot figure this one out... if I roll back to 5.727... the problem goes away.

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

Post by John »

Something else is wrong. I brought that page and _data file down to my server. The only change I made was to run from my local copies of the menu code files. Everything is there in the new window as it should be. Using the same system and browser as when I saw the failure on your system.

See http://www.west.asu.edu/sa/testsite/.
John
wkilc
Super Advanced
Super Advanced
Posts: 60
Joined: Fri Sep 26, 2003 9:28 pm

Post by wkilc »

Thanks yet again John,

I just logged in to milonic.com, downloaded fresh copies (5.735) of mmenuns4.js, mmenudom.js, and milonic_src.js and then put them on my site. Still no dice... window still behaves odd.

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

Post by Ruth »

Hi,

It's doing it in FF1.0.2 also, and it's doing it on the Milonic site under the Opening Windows and Iframes example.

If you put in the target features it works.

Code: Select all

targetfeatures=resizable=yes,toolbar,status,scrollbar,directories,location,menubar;
The Opening windows sample tells you what each feature is if you need that info.

Ruth
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

I vaguely remember doing some work on windows in the latest version.

Does the Pre Release work at http://milonic.com/menuvinfo.php
wkilc
Super Advanced
Super Advanced
Posts: 60
Joined: Fri Sep 26, 2003 9:28 pm

Post by wkilc »

I thought I had tried the pre-release a few days back... maybe I had tried it on another site.

I just tried it now... and it works!

Thanks Andy!

~Wayne
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Pre releases are updated almost daily - for future reference check the date to see if there is a new one available.
wkilc
Super Advanced
Super Advanced
Posts: 60
Joined: Fri Sep 26, 2003 9:28 pm

Post by wkilc »

Whoops... I spoke too soon. The toolbars are all there... but it's no longer opening in a new window in FireFox.

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

Post by John »

Here's a little more. I changed the menu calls to get that code and the _data file from your system. It still opens properly (scroll bars, headers, etc.), but not in a new window. When I change the calls back to my server it opens properly and in a new window.
John
Post Reply