Tip Message with hyperlink to open in new tab/window

Hi Guys,
I have created a FND Message which has the following content:
some text <a href="https://www.google.co.uk"target="_blank">Click Here</a> some more text
This is referenced in a custom OAF page as a Tip Message (OATipBean), the text and hyperlink render with no issues, however the hyperlink does not open in a new tab/window (it opens in the current tab) - when you view the source of the page the '...target="blank"...' is not there:
... <a href="https://www.google.co.uk">Click Here</a> ...
Is there a way of getting hyperlinks in Messages to open in new tabs/windows?
Regards
Carl
Message was edited by: CarlHammond

I think part of your problem might lie in the way you are trying to use your quotation marks.  It appears you are trying to have the single quotes do what double quotes should be doing.
document.write("<a href='"+imagelinks[ry]+"' target='_blank'><img src='"+myimages[ry]+"' border='none'></a>
If you want to have doublequotes appear in code as doublequote characters you can try slashing them to have them read literally... \"
document.write("<a href=\""+imagelinks[ry]+"\" target=\"_blank\"><img src=\""+myimages[ry]+"\" border=\"none\"></a>

Similar Messages

  • Create Hyperlinks that open in new tab or window?!

    Hello,
    Ok, so, this has been asked other times for many versions of InDesign and most common response is to do it in Acrobat Pro. WHY?!!!! I couldn't even easily figure out how to do it there and frankly, don't want to. That seems so backwards and tedious to have to do...seriously. How is this not an option in InDesign Hyperlink edit creation/options yet?!! It is SO simple. Please tell me I'm missing something... I love Adobe products and especially CC products that are getting better and more time saving...but this is so dumb, I'm sorry. I'm no smarty software engineer but I know what user friendly is and how things should work for everyone...and it seems like an easy thing to make possible. Many people create PDF's in InDesign for viewing/downloading in a browser and this needs to be an option with-in InDesign CC. Simple as that. When the PDF is opened in Acrobat the links do open in new tab/window but NOT when it is viewed in a browser. This is why I should or maybe shouldn't work for Adobe, I wouldn't let little things like this, that actually makes a big difference in user experience, go unnoticed and unchanged over so many new releases and updates...or ever be taken away. I guess I'll put in an InDesign CC features request...
    Thanks to anyone who agrees and relays...or lets me know I'm missing something.
    Andy

    I would also like a solution to this problem. It seems to have been around for quite a while.

  • When i use google earth or somebody sends me a message or just simply opening a new tab, it crashes and it takes about 30 seconds to start working again, its not my computer as it is new and it has high spec, any help? thanks

    When i use google earth or somebody sends me a message or just simply opening a new tab, it crashes and it takes about 30 seconds to start working again, its not my computer as it is new and it has high spec, any help? thanks

    I figured it out!
    I read a solution for something that sounded similar.
    Anyone in similar position:
    Open iTunes app on iPhone, and pick an option from bottom, such as music. Then scroll down to bottom of page and where your iTunes ID is, press on it, and pick sign out.
    Then return to home screen, and double press home button and press and hold on first icon showing, until a minus symbol appears in the top left of icons present. Press on each minus symbol on each app in turn, until all app icons have disappeared. Then Restart the phone by pressing and hold the home button and the on/off/standby button at top of phone, until the apple symbol appears in centre of blank screen.
    Swipe to turn phone fully on and open settings and scroll down to iTunes and apps option and tap that. Pick sign in and put in your apple ID, it will accept it and then return to home screen and open iTunes a you'll find it works fine
    Simple really, but some like me won't think f this themselves!
    Hope that helps

  • Since yesterday clicking on a link in an email message firefox doesn't open a new tab with that particular website.

    I am using Firefox 3.6.13 on a 2009 Mac Pro computer (OSX 10.6.6). Up until yesterday when I clicked on a link in an email message Firefox opened a new tab and switched to that particular website. Since yesterday Firefox doesn't do that. I have Firefox set up as my default browser. I tried to change my default browser to Safari, then everything worked fine. Clicking on a link in a message a new tab has opened in Safari with that particular website. My problem is, that I like Firefox a bit more than Safari and I'd like to know what to do to restore that functionality to Firefox.

    It's a good idea to try disabling Flash completely and see whether the problem continues. If it does, then my guess is incorrect. To test that, open this tab:
    orange Firefox button (or Tools menu) > Add-ons > Plugins category
    Here you can locate Shockwave Flash and use the Disable button. Keep this tab open for easy access when doing your test.
    ''If your test confirms that Flash is causing the problem,'' then the other thread has two suggested workarounds. The first is simple to understand (keep some Flash running at all times) but may be inconvenient to do all the time. The second is trickier because it requires editing a file in (or creating and then dragging a file into) a system folder. Fortunately you only need to do it once.

  • Hyperlink/button always opens in new tab/window

    Hello everyone,
    is there any way to change this ? I have a swf based menu with links to current site, but it always opens a new tab.
    Also, can i choose where to apply "interactive page curl" or it must be applied to all pages ?
    Thanks

    Defining a hyperlink (in Indesign) for an exported swf file to open an URL in the same browser window is not possible. And I think you are out of luck for page curl on certain pages, I think it will apply to all pages. These two scenarios would require working in Flash.

  • How do I get rid of the "You've opened a new tab" message every time I open a new tab? It's annoying.

    Every time I open a new tab, I get the message "You've opened a new tab" How do I stop this from happening?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • URL Hyperlinks in Acrobat (and InDesign) open in new Tab/Window

    I really don't understand, why this feature isn't  implemented yet. I tried to google a workaround and found hundreds of posts auround this problem. People where asking how they could do this since 2002 (the oldest post I could find) maybe earlier.
    Please make sure Acrobat - and also InDesign - get this feature in the next version - because people want to have it!!!
    What do I talk about?
    The following feature:
    I include a textlink or and Image-link into a PDF-File.
    Because of the Standard Browser settings most of the people who download a PDF-File will see the PDF in a Browser Tab. Now, if they hit one of the links (included in the PDF) the link opens in the same window/Tab. The PDF is closed. The only way to get back to the PDF is to hit the return button of the browser or reload the PDF. Normally I would like to open these links in a new Tab or Window. But there is no function nor in Acrobat, neither in InDesign to make the Link open in a new TAB/Window.
    I know there was a possibillity  using JavaScript (app.launchURL("http://www.MySampleURL.com/someFolder/somePage.html", true);)
    and this worked. But now because of the security settings of Acrobat X and later it only works if the user changes the settings. So, it's no longer useful because most of the users won't know how to make the links work.
    So at the moment there is NO WAY to make the link open in a new Tab.
    I know If I link another file, it askes me where to open - new window or the same. Why can't you implement it for URL's too?
    Sorry, I searched the whole day to solve this problem. And I can't understand, why Adobe doesn't look at there customers needs (since 2002 or earlier).

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Is there a way to open a new tab/window by clicking the Safari dock icon?

    Is there a way to open a new tab or window by clicking the Safari dock icon? Right now, the default behavior seems to be that Safari simply un-minimizes or displays the last window in focus.
    I want to be able to quickly fire up a new tab or window in Safari when it is out of focus, such as when Finder is in focus. The workaround right now is to right-click on the Safari dock icon, and select "New Window", or to allow the last window in focus to appear, and cmd+t or cmd+n. But this is too many steps over the course of a day for a highly frequented task like this.

    I'm glad that helped. Thanks for posting back.
    ... when I save this as an application as "run only", it's relatively quick to run, but there's a delay to load... I assume it's opening Script Editor every time?
    As long as the script is saved as an application -- Run Only or not -- it should definitely not cause the Script Editor to open. You can verify this by closing the Script Editor application altogether prior to clicking on the docked script icon that you saved. You should notice that the Script Editor does not open when the script is run.
    FWIW, I went back and saved a version of the script as a Run Only app, and I didn't notice any difference between it and the original, which was saved without the Run Only option checked. The delay that you're noticing might be accounted for by the fact that the script, because it was saved as an application, will be activated just as any other standalone application would be. This happens prior to Safari being activated. Watch your menu bar when clicking on the docked script icon and you should see the name of the saved script app appear for a split second before Safari gets activated.
    The only time I can think of that you might wish to save the script as a Run Only application would be if you wanted to conceal the script for some reason. If, for example you were publishing the script as a part of an application release and didn't want its contents known, or you didn't want an end user to be able to edit the script, you might select the Save As > Run Only option. To illustrate this, try dragging and dropping a script saved as a Run Only application onto the Script Editor's icon. You should see a warning dialog to this effect:
    *Unable to read the file because the script is not editable (it was saved as run-only).*
    Whereas if you drag a script that was not saved as a Run Only app onto the Script Editor's icon, the script should open in the Editor, and it can be edited.
    I played around with the "stay open" option for saving the script as an application, but it appears I have to close the app and reopen it before I can get it to work a second time.
    The Stay Open option is appropriate for scripts which use an "On Idle" handler, which really wouldn't apply in this case. Check out more on Idle Handlers here and here.
    Is there a faster way to use this multiple times throughout the day?
    One way you might speed up the action would be to save the script +as a script+ by choosing Save As > File Format: script from the Script Editor's File menu. The resulting script can then be activated by assigning a hot key to it using one of several 3rd-party keyboard shortcut programs available on the Internet. (I used Spark, assigned a function key to the script I posted earlier, and found the action to run significantly faster.)
    Good luck.

  • On some sites ctrl-t ctrl-n do not open a new tab/window. example: youtube

    On some websites (not just a c0uple but many) when I press ctrl-t to open a new tab nothing happens. Same with ctrl-n. Using the File menu works fine but not the hot keys. On most pages they work fine: on your "troubleshooting information" page it works fine. I can't figure out any pattern. The option is set for open new window in new tab and it works fine. It seems to be the hot key. I just upgraded to Firefox 6 beta but it's been the same with the last several versions I've used.

    '''Bug 78414''' – Application shortcut keys (keyboard commands such as f11, ctrl+t, ctrl+r) fail to operate when plug-in (flash, acrobat, quicktime) has focus
    :https://bugzilla.mozilla.org/show_bug.cgi?id=78414

  • IUploader (Recession Apps) - opening a new tab (window)

    I've been trying to develop a method for our EMS providers to use iPads to fill out EMS Charts and get signature forms using the iPad.  PDFExpert and iUploader are the two main pieces that seem to be working for my solution ... but there is one glitch:
    When using iUploader, and using the web app EMSCharts (or any web app that causes a new target window to load) this target just loads within the page itself.  So, if I am trying to add information that would be available from a search in the popup ... this page (target window) replaces the page I was originally on.  Frustrating.  I am trying to prefill some patient data from a database.
    I can get the target windows (new tabs) to work with Safari on the iPad and Safari would be great if it allowed me to attach PDF files (which is why I am using iUploader).
    I just need the popup capability and I would be all set.  If I click a link, I need the funcationality there to open a new tab.
    Any clues about this functionality Recession apps??   I've used the Pro and regular versions and have not noticed a difference.
    Thank you
    Diana

    For the record, the page that needs to open in a new tab is a Cold Fusion *cfm file
    Not even sure who uses that any more??
    Here is what an example link looks like:
    https://www.emscharts.com/common/select_name.cfm?prid=22946613&service=1765&rev= 1&folder=select_pt2&field=ptid&demogOnly=1
    Thanks!

  • Opening links in a RSS feed using the Open in New Tab/Window command doesn't work in FF4. It worked perfectly in FF 3.6. What seems to be the problem?

    I have set up a number of RSS feeds to open in folders underneath the search/address bar in Firefox. I use them mainly to follow news updates from newspaper websites etc. After installing FF4, the opening of links contained in those folders (lists of links) using right-click and selecting the Open in New Tab command stopped working. There is no response whatsoever - as if I didn't click the command.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Can I chnge the context menu "open in new tab / window" options back to the previous version (reverse order)?

    In Firefox 4, the context menu "open in new tab / open in new window" options are in reverse order compared to 3.6. Can this be "fixed," i.e. change the menu item order? I use this feature constantly and it's a matter of habit, also still use some 3.6 machines.

    You can use the Menu Editor extension to re-arrange the menus - https://addons.mozilla.org/firefox/addon/menu-editor

  • Can't open Youtube videos with a left click. Have to open in new tab/window to view.

    When on Youtube, I can't open videos by clicking on them when in the search result page. I have to open them in a new tab or window. All other elements work on the page. Once the video is open in the new tab I am able to play it. Embeded links work. It is only on Youtube itself. Fine in Safari. Only experiencing this in Firefox.

    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Random banner links: How to open in new tab/window

    I've added a random banner to a site I'm experimenting with, and I've got it to randomly load the images. The links are all set and working, but they open in the same window or tab. Is there a way to tell it to open the linked site in a new window or tab?
    Here's the script:
    <script language="JavaScript">
    <!--
    function random_imglink(){
      var myimages=new Array()
      //specify random images below.
      myimages[1]="img/banner-1.jpg"
      myimages[2]="img/banner-2.jpg"
      myimages[3]="img/banner-3.jpg"
      myimages[4]="img/banner-4.jpg"
      myimages[5]="img/banner-5.jpg"
      //specify corresponding links below
      var imagelinks=new Array()
      imagelinks[1]="http://www.website.com"
      imagelinks[2]="http://www.website.com"
      imagelinks[3]="http://www.website.com"
      imagelinks[4]="http://www.website.com"
      imagelinks[5]="http://www.website.com"
      var ry=Math.floor(Math.random()*myimages.length)
      if (ry==0)
         ry=1
         document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=none></a>')
      random_imglink()
    //-->
    </script>

    I think part of your problem might lie in the way you are trying to use your quotation marks.  It appears you are trying to have the single quotes do what double quotes should be doing.
    document.write("<a href='"+imagelinks[ry]+"' target='_blank'><img src='"+myimages[ry]+"' border='none'></a>
    If you want to have doublequotes appear in code as doublequote characters you can try slashing them to have them read literally... \"
    document.write("<a href=\""+imagelinks[ry]+"\" target=\"_blank\"><img src=\""+myimages[ry]+"\" border=\"none\"></a>

  • Link to published course only works when you right-click open in new tab/window (Firefox)

    I have encountered an issue where my published captivate course will not load correctly (all I get is a black screen) in Firefox when clicking on the web link. All I get is a black screen. Refreshing doesn't help either. However if I instead right click on the hyperlink and select "open in a new tab" or "open in a new window" the course loads properly. I have been told that it works just fine in IE and Chrome.
    If any of you would like to test this in Firefox visit http://www.wakeprecinctofficials.com/p/training-resources.html and the link in question is called the Laptop 101 Online Course. I appreciate any help. Thanks

    I tested your link in Firefox 3.6 and IE9.  Black screen only in Firefox.  Works fine in IE.
    Try removing the lines above the <HTML> tag that say:
      <!-- Copyright [2008] Adobe Systems Incorporated. All rights reserved -->
    <!-- saved from url=(0013)about:internet -->

Maybe you are looking for