| Written By : Stephen D GainerCategory : Lotus Web Development Location : LotusUserGroup.org
Hello all, I have a $$Return field on a form that redirects user's to different web sites, depending on their choices. This works just fine. My question is, is it possible to have the URL's open in a new window? Currently, they just open in the current window and I would like my page to stay open in their browser when they go to a different URL. My code looks like this: I have a field called "FieldRedirect" that is hidden. Depending on what the user clicks on, I use JavaScript to change the value of this field to 1, 2, 3, etc. Then in my $$Return field, I have this: redirect := @GetField("FieldRedirect"); @If(redirect="1"; "[http://www.someurl1.com]";redirect="2"; "[http://www.someurl2.com]"........etc. Again, this works just fine, I would just like the url's to open in a new window. Does anyone have any ideas? Any help would be greatly appreciated. Thank you! Stephen 1. Curt Stone06/13/2008 03:13:19 PM How about adding TARGET = "_blank" ? 2. Stephen Gainer06/18/2008 07:43:45 AM
Hi Curt,
3. Curt Stone06/27/2008 11:52:56 AM
I tried this in the $$Return of the Discussion Template. Here's the bottom piece of code and it worked for me. (famous last words)
Welcome! Jess Stratton is the principal consultant for Solace Consulting. She has over 7 years experience with Lotus Notes & Domino, specializing in both administration and development. Jess is a sought-after author and speaker and owns and operates a computer training facility that specializes in end-user education and guest lecturing. And now, Jess is hosting the blog on LotusUserGroup.org. As always, all LotusUserGroup.org members are welcome to join in and post in the blog. But now, with Jess hosting, she'll be adding a constant stream of insightful comments, community information, links to useful sights and posts on other blogs, and, of course, answers to your questions whenever she can. So join in, post a blog, ask questions, share your knowledge, and state your opinions… All Content Copyright 2006 LotusUserGroup.org. Contact By Category : 2 Minutes With... Podcast : Admin2006 : Admin2007 : Admin2008 : Annotated Links : Blackberry : Blogging : Business Partners : Client Management : DB2 and Domino : Developer Training : Developing : Domino Monitoring : Embedded Views : IBM Lotus Case Studies : IBM Workplace : Industry : iPhone : IWOEKS08 : Java : LEI : Lotus Blogs : Lotus Certification : Lotus Jobs : Lotus Nomad : Lotus Notes : Lotus on Linux : Lotus R7 : Lotus Traveler : Lotus Web Development : Lotusphere Comes To You ONLINE : Lotusphere2006 : Lotusphere2007 : Lotusphere2008 : LotusUserGroup.org : LUG Lotusphere Challenge : ND8 : Newsletter : None : Quick Place : Sametime : SameTime & Hannover : Security : Show-n-Tell Thursday : Sys Admin Questions : User Group Meetings : User information : Webcasts : ye11ow day : The BlogRoll Blogs Lotusphere Monthly Archive Recent Entries Has Blogging surpassed ... Zoë and Reboot are cele... August 11 is Yellow Day... Computed for Display fi... SNTT - How to add a sec... How much Governance is ... SuperNTF - calling for ... Lotus product Wiki's an... $$Return Open in New Wi... Notes Developer needed ... IBM Lotus Notes/Domino ... It's 3AM. Do you know w... Get rid of those CD to ... Today's scheduled webca... Exclusive Interview — N... Let's hear your stories... One last podcast - Sara... Admin2008 Recap Second round of podcast... First round of podcasts... | |||
|