Sign in

E-mail *, (xx@domain.com)
Password *

Register | Forgot password

Active forums

Active Forums RSS September 03, 19:59
Style properties

August 31, 21:46
antrun not found

August 31, 14:12
WCB customprofile

August 31, 12:10
End of flow not doing its job

August 24, 12:37
Sort mediaItem by expiration date

 All Forums...


Link in a new window

The "GX WebManager Usage" forum covers all topics concerning the actual usage of GX WebManager. Topics include using editor functions, content elements, workflow, authorizations, My WebManager, Media repository, Personalization, Page templates, etc.

Answered
Not marked as answered yet

Forums  >  GX WebManager Usage  >  Link in a new window


Author Link in a new window
raan


Posts: 10

Posted: 15-06-2009 13:45

I have the following problem:
On a page I have put a link. This link opens in a new window. The page in the new window has also a link. When I click on the link the links opens in the same window instead of a new window.

It seems that only 1 time a link will open in a new window, is this correct? Is there a way to open twice a link in a new window?

martinvm



Posts: 59

Posted: 15-06-2009 15:21

You could write your own link tag and use javascript function to open links in the same window. Something like:


function openNewWindow() {
popupWin = window.open('http://webdesign.about.com/',
'open_window',
'menubar, toolbar, location, directories, status, scrollbars, resizable, dependent, width=640, height=480, left=0, top=0')
}



All new windows will be openend in the window with the name popupWin.

Taco



Posts: 79

Posted: 15-06-2009 17:12

Are both pages/links managed through Webmanager? If so, check whether the second link has the right link model. If you put your links in e.g. text elements, be sure to add target="_blank" to the A tag.

Back to top

New message: "Link in a new window"
Message:
bold boitalicd underline url quote code smile cool eek grin mad razz sad wink
 
© 2010 GX creative online development B.V.

Disclaimer

This website (GXdeveloperweb.com) may discuss or contain opinions, (sample) coding, software or other information that does not include GX official interfaces, instructions or guidelines and therefore is not supported by GX. Changes made based on this information are not supported.  GX will not be held liable for any damages caused by using or misusing the information, software, instructions, code or methods suggested on this website, and anyone using these methods does so at his/her own risk. GX offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this website, including any liability resulting from incompatibility between the content of this website and the materials and services offered by GX. By using this website you will not hold, or seek to hold, GX responsible or liable with respect to the content of this website.