Line of code stopping menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
reggsenterprises
Advanced
Advanced
Posts: 15
Joined: Tue Feb 21, 2006 4:42 am
Contact:

Line of code stopping menu

Post by reggsenterprises »

Could someone check out the Milonic aI menu item below? When I add it, the menu does not appear. As soon as I take it out, it works fine. It is quite long. Not sure if that should matter. All it really is is a long url. Thanks.


aI("text=Email Mall to a Friend;itemwidth=110; url=http://pub38.bravenet.com/announce/show ... 9999&cpv=2',
'bnettaf','width=525,height=570,scrollbars=yes,top=10,left=150,toolbars=no,resizable=1;status=Email the Mega-Mall to a friend;");
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:
is that code syntax free?,- not knowing further details of that syntax.

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

Post by Andy »

Hi,

Looks like this is what you want:

Code: Select all

aI("text=Email Mall to a Friend;itemwidth=110;url=http://pub38.bravenet.com/announce/show.php?usernum=99999999&cpv=2;target=bnettaf;targetfeatures=width=525 height=570 scrollbars=yes toolbars=no resizable=1;status=Email the Mega-Mall to a friend;");
Seems there was a mixture of stuff in there that shouldn't have been
reggsenterprises
Advanced
Advanced
Posts: 15
Joined: Tue Feb 21, 2006 4:42 am
Contact:

Post by reggsenterprises »

I need to add the code target="_blank" to this line of code. It seems that wherever and however I add it, I get an error. Can anyone help pinpoint the correct syntax and where it should be put?
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

there is nothing different available on this issue than what is provided here:

http://milonic.com/menusample11.php

(target and targetfeatures, windows, frames etc.)
If this doesn´t work in your environment, then most probably there is something else buggy. I dont´t think for instance it ist target="_blank"; should be target=_blank;
The sample page does not show 100% correct syntax. (Semicolon is missing).

Michael
reggsenterprises
Advanced
Advanced
Posts: 15
Joined: Tue Feb 21, 2006 4:42 am
Contact:

Post by reggsenterprises »

Michael,

Thank you. Works great now!!! :D

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

Post by Migru »

Hi

nice to get this type of feedback.

Michael
Post Reply