Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:24
Newbie question on opening a new page
Poster: stèvé_1
Dated: Thursday December 27 2007 - 21:52:36 GMT
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
Re: Newbie question on opening a new page
Poster: Ruth
Dated: Friday December 28 2007 - 1:45:37 GMT
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:
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://www.milonic.com/menusample11.php
Ruth
Re: Newbie question on opening a new page
Poster: stèvé_1
Dated: Friday December 28 2007 - 21:01:47 GMT
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