Newbie question on opening a new page

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
stèvé_1
Beginner
Beginner
Posts: 2
Joined: Thu Dec 20, 2007 12:37 am

Newbie question on opening a new page

Post by stèvé_1 »

Firstly can I say that I love the code. I looked for sometime to get what I wanted and yours did exactly what I wanted it to do. Thank you:)
What I would like a link to do is too open in a new page once it is pushed. Is this possable? If it is, how can I do it?
Perhaps it is simple but I really dont understand much about web pages. It took me days to put the code into my page, so a simple explanation would be appreciated.
My web site is:
http://freestone150th.com/
Once again thank you
Steve
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Newbie question on opening a new page

Post by Ruth »

Hi,

It works like an href link where you would use target=new. So, the following aI you have would be coded like this to open it in a new window

Code: Select all

aI("text=Freestone Rural Fire Services;url=http://www.bogwot.com/rural/index.htm;target=new;");
There are a lot of properties you can use in items, or in styles, or menus. You can find a list of each of them below my name, itemproperties, menuproperties, styleproperties. They are used in their respective areas. For example, you could set the target=new; to open a new window, and if you wanted you could also set the features of the window, i.e. targetfeatures=top left height width etc. Not sure what all the target features are for a new window, you could find that on the web, I'm sure. This sample is to open new pages or open a page in a frame or iframe and it lists some of the target features. Not all features work in all browsers :)

http://milonic.com/menusample11.php

Ruth
stèvé_1
Beginner
Beginner
Posts: 2
Joined: Thu Dec 20, 2007 12:37 am

Re: Newbie question on opening a new page

Post by stèvé_1 »

Thank you very much Ruth. I will try that code.
I never realised that there were so many options to add to the code. If I get the time I will try some of them out.
Once again thank you :D
Post Reply