open in new page...

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
basic
Advanced
Advanced
Posts: 24
Joined: Thu Apr 21, 2005 6:12 am

open in new page...

Post by basic »

Can a menu item be opened in a new page? i.e., like the HTML code:

Code: Select all

<a target="_blank".......
Thank you,

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

Post by Andy »

Sure can, try this:

aI("text=Google;url=http://www.google.com/;target=_blank");

Hope this helps
Andu
basic
Advanced
Advanced
Posts: 24
Joined: Thu Apr 21, 2005 6:12 am

Post by basic »

Great! Thanks.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

See the Menu Quick Reference Guides here under the DHTML Menu item for all the options.
John
User avatar
SkyFlyer
Super Advanced
Super Advanced
Posts: 68
Joined: Tue Jul 29, 2003 4:16 am
Location: Vancouver, Wa
Contact:

Post by SkyFlyer »

Don't know if anyone would be checking this thread, but I'll try.
I want to open new page in the same page, but can't seem to get the right combo.
I tried blank, but it gives me a new page.

Here is my code ...
aI("text=White Rock, B.C.&nbsp;&nbsp;April 23, 2005;url=kite_festivals/WhiteRock04232005/Index.htm;target='blank';onfunction=showtip('Another fun weekend at White Rock BC!.');status=Great weekend on the B.C. Coast!");

I looked at where John suggested, in Style properties, but only find this ...
The target property allows you to declare a menu item link destination Values: new, blank Example: target='blank';

Are those the only two options, new, blank?
Where is the complete list if there are more?
What would I code to stay in the same page?
If someone could point me to a thread that talks about staying in the same page, that would be cool.
I can make it go to a new page just fine.
Thanks ...
Nuffsaid ...
Bob
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Bob,

Are you saying you want to open a page in a window that was already opened as a new window from another link, or do you mean you want to open the page in the same browser window from which you are clicking the link?

Ruth
User avatar
SkyFlyer
Super Advanced
Super Advanced
Posts: 68
Joined: Tue Jul 29, 2003 4:16 am
Location: Vancouver, Wa
Contact:

Post by SkyFlyer »

Same Browser window.
I read my original question, and I could have done it better!

I think I got it, though.
I just left the "target=" out of the code and it opens in the same window.
Are blank and new the only options, or are there more?
Thanks ...
Nuffsaid ...
Bob
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Well, you could also use functions to open it in an already opened new window, or you could have a function to open a new window for each link. I'm not sure what else there could be beside blank and new. There are also target properties you can use with the target= so you can set the window properties as you want them.

Ruth
User avatar
SkyFlyer
Super Advanced
Super Advanced
Posts: 68
Joined: Tue Jul 29, 2003 4:16 am
Location: Vancouver, Wa
Contact:

Post by SkyFlyer »

Yes, I saw a number of the forum articles talking about properties.
I may check them out sometime.
Thanks again ...
Nuffsaid ...
Bob
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

The options are...

blank
self
parent
top
John
Post Reply