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:39
open in new page...
Poster: basic
Dated: Monday July 4 2005 - 8:47:01 BST
Can a menu item be opened in a new page? i.e., like the HTML code:
Code:
<a target="_blank".......
Thank you,
Gil.
Poster: Andy
Dated: Monday July 4 2005 - 9:26:56 BST
Sure can, try this:
aI("text=Google;url=http://www.google.com/;target=_blank");
Hope this helps
Andu
Poster: John
Dated: Tuesday July 5 2005 - 16:31:23 BST
See the Menu Quick Reference Guides here under the DHTML Menu item for all the options.
Poster: SkyFlyer
Dated: Thursday August 11 2005 - 3:33:16 BST
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. 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 ...
Poster: Ruth
Dated: Thursday August 11 2005 - 5:44:14 BST
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
Poster: SkyFlyer
Dated: Thursday August 11 2005 - 5:49:03 BST
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 ...
Poster: Ruth
Dated: Thursday August 11 2005 - 5:54:42 BST
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