linking to an external resource
Last Post 09/02/2010 5:34 AM by Joseph Craig. 1 Replies.
Author Messages
Bo
Nuke Master
Nuke Master
Posts:215


--
09/01/2010 9:31 PM  
Hello Lee and Joe, Seems like it should be a no brainer but I am trying to link one of my menu items to an external resource by editing the page of this menu item which is wired to the NAV provider. I go to the bottom of the page configurations and I find Link. I click on external link and it gives me a field to type that external link in. That is ok but the problem is I want this link to a blank page and I couldn't find any way within the link to external resource to direct it to target a blank page. By default it seems to target _self but I want the external resource to open in a different window so after the visitor is done looking at it he/she could close it and be back on my main site. This can be done quite easily in a text/html module but how would you do it in this context. Thanks, Bo
Joseph Craig
DNN MVP
Posts:11667


--
09/02/2010 5:34 AM  
I think that, as you have discovered, the framework doesn't include that option.

One thing that you could do, depending on the menu that you are using, would be to add that attribute to the a tag for the item. You'll have to be using a menu that renders the menu as a set of links and gives a separate id to each item. You then would use javascript or jquery to add the attribute to the tag when the page is loaded.

Joe Craig, Patapsco Research Group
Complete DNN Support


---