Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Open menu link in a new window
Previous Previous
 
Next Next
New Post 3/31/2008 1:14 AM
User is offline DeVen
148 posts
9th Ranked


Open menu link in a new window 

Hello everybody,

in my DotNetNuke site I've created a page wich I use to link to another portal.
So in the edit options of this page I've chosen "Link URL: URL (A Link To An External Resource") and I've inserted the link of the portal.
When I click on the menu, the link works properly, but the page is opened on the same window.

Is there a way to open the link in a new window?

Thanks in advanced!

 
New Post 3/31/2008 6:01 AM
User is offline rick katzenlieber
72 posts
www.dnnstyle.com
10th Ranked


Re: Open menu link in a new window 

You'd probably have to modify the core code to this and end up with all menu links opening in a new window.

You could use the "Links" module to create a link to the other portal that would open in a new window, or use a "Text/Html" module and manually code the link with target = _blank.  I think that's probably the only way around it.  Not sure what House Menu would do, some people highly praise it for it's functionality and maybe that has a way to do what you want, I'm not sure.  I only know you won't be able to do it within the default DNN menus.

Rick

 
New Post 3/31/2008 6:36 AM
User is offline DeVen
148 posts
9th Ranked


Re: Open menu link in a new window 

Thank you very much Rick, I'll probably use text/html module, or I'll insert the links in the skin, near the menu.

Thanks!

 
New Post 4/11/2008 8:19 AM
User is offline Craig Walker
238 posts
9th Ranked


Re: Open menu link in a new window 
Modified By Craig Walker  on 4/11/2008 10:21:17 AM)

You can use javascript to open a menu link in a new window.

In the Page Settings, go to Advanced Settings -> Other Settings. Change the Link Type to URL. Then use this javascript code to tell it where to go:

void window.open('http://www.externalsite.com');

 

 
New Post 4/11/2008 8:49 AM
User is offline Pete
128 posts
9th Ranked


Re: Open menu link in a new window 

After you have entered the link in into the http section, you need to select the Target tab at the top middle of the dialog box and from there dial up new window and your done.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Open menu link in a new window
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP