Supported parameters for positioning links on my menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Supported parameters for positioning links on my menu

Post by rudy »

http://www.networkdriven.com/qp/TriviaQuiz_xp5.htm

I like to have most of my menu links open in a separate window using the target=_blank parameter. This works well but doesn't give me the positioning from top and left of the screen. I have used the following parameters and I know they work with the IE 6.0 browser but don't know about other browsers and versions. Here is the code:

aI("text=Configuring Device Drivers;url=http://www.networkdriven.com/drivers.ht ... llbars=yes left=47 top=40 height=450;status=How To Install And Update Drivers");

Also, should I be using a semi colon between each of the targetfeatues parameters for proper syntax?

See any problems using this that I should be aware of?
Rudy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Supported parameters for positioning links on my menu

Post by John »

rudy wrote:Here is the code:

aI("text=Configuring Device Drivers;url=http://www.networkdriven.com/drivers.ht ... llbars=yes left=47 top=40 height=450;status=How To Install And Update Drivers");
Tip: always use the Code button when posting code.

To be picky, you need 1 more ; in there after Drivers...

Code: Select all

aI("text=Configuring Device Drivers;url=http://www.networkdriven.com/drivers.htm;target=_blank;targetfeatures=scrollbars=yes left=47 top=40 height=450;status=How To Install And Update Drivers;");
rudy wrote:Also, should I be using a semi colon between each of the targetfeatues parameters for proper syntax?
A question for you. Where did you get this syntax for targetfeatures? From the Samples? Did it have extra ; shown?
John
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Post by rudy »

John wrote:
A question for you. Where did you get this syntax for targetfeatures? From the Samples? Did it have extra ; shown?
I got the targetfeatures syntax from the Menu Sample 11.

Code that was shown there did NOT have the extra ;

Here is the code example given:

Code: Select all

aI("text=Open Google;url=http://www.google.com;targetfeatures=width=300 height=300");
Rudy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

rudy wrote:Code that was shown there did NOT have the extra ;
I know - which is exactly why I asked the question. You got the example from the right place - use it.
John
Post Reply