Hyperlink set to open new window & jump to anchor tag, doesn't jump
I am generating Flash Help output in RH7.
We have content hyperlinks that are set to open in a new window (target="_blank") and jump to an anchor tag in the destination topic (a href="newwindowtopic.htm#anchor")
This works fine if I compile the file as is.
However, we edit the whtopic.js topic in order to remove the "Show" link that appears when you open context sensitive topics. We do this by adding the following code at the end or the addShowButton function:
setRelStartPage("ourstartpage.htm");
show();
Replacing the Show link worked fine in RH5 and it works fine in RH7. However, in RH7 when we replace the "show" link to have the TOC load when all topics are called (not just the start page), the ability to open a new window AND jump to the anchor tag is no longer working. When you click the hyperlink the new page opens, but only to the top of the page, not to the bookmark (anchor). The anchor jump does work if the hyperlink is set to open in the current window in RH7.
The issue exists in IE7 and Firefox.
Any ideas?
Hi there
Why are you editing the JavaScript file? Did you know that when generating FlashHelp you have an option to turn off the Show link?
Additionally there are ways to link to topics so the TOC is visible and synchronized. These are described at this link right here.
Cheers... Rick
Begin learning RoboHelp HTML 7 within the day - $24.95!
Click here for Adobe Authorized Captivate and RoboHelp HTML Training
Click here for the SorcerStone Blog
Click here for RoboHelp and Captivate eBooks
Similar Messages
-
I did try rebooting, no go. If anyone knows a way to get that option working, it would be appreciated. Thanks.
(''Note: cross posted from [https://support.mozilla.com/nl/questions/801471 here].'')
I had the same problem, but was able to fix it somewhat.
# Open the about:config page.
# Set the ''browser.link.open_newwindow.restriction'' setting to 0 (= zero).
On my machine this will open new windows in a new tab. However, it switches to the new tab regardless of the setting ''"When I open a link in new tab, switch to it immediatly"''. -
When I am doing my internet banking I need to have the setting option for 'Open new window in a new Tab instead' Un-checked (disabled). Problem is this setting is not being saved the next time I open Firefox. That is every time I close Firefox (all open window and tabs), the next time I open it up again, this setting has re-enabled itself again. I just can't get Firefox to remember this setting for me.
See http://kb.mozillazine.org/Preferences_not_saved
-
Hyperlink does not open new window on the second page
Hi,
I have a report which shows list of products. Every product id has hyperlink to show details. When I click on any hyperlink on the first page, it opens in new window and looks good. But the hyperlink from the second page opens in the same window and overwrites main report.
I am not sh=ure what is happening?
Does anybody come across such problem and have the solution?
Thank you.
JuliaHi Julia,
This is the way to resolve the issue in BO XI 3.1 SP3 :
Open the existing Crystal Report in the Crystal Reports Designer
Edit the formula which was created in the above step and replace sWindow=New with "target=_blank" as follows:
a href="http://<servername>:<port>/OpenDocument/opendoc/openDocument.jsp?sDocName=Drilldown" target="_blank"> MyTest </a>
Save this formula and save the report as well
Log onto the BusinessObjects Server box and modify the web.xml file located in C:\Program Files\Business Objects\Tomcat55\webapps\CrystalReports\WEB-INF by adding the following code in it:
<context-param>
<param-name>
crystal_encode_html_for_single_line_field_objects
</param-name>
<param-value>no</param-value>
</context-param>
5. Save this file
6. Restart the application server (Tomcat)
7. Now, when you open the report in InfoView and click on the hyperlink, the target report should open in a new window.
Regards,
Anchal -
Hyperlinks Don't Open New Window
I've noticed that when someone includes a hyperlink in their post, clicking on it opens the link in the active window rather than launching a new window as in the past. Twas better, (IMMHO) the "old" way....
I agree that it would be better if links opened in a new window. That's something I hope the forum designers change, to prevent forum visitors, especially newer members, from getting lost.
Keep in mind, though, that you can open a link in a new window (or tab) by using a Command-click (in several browsers, including Safari) or a Control-click or right-click. -
When I go to open a link within a tab, it overrides what is there and opens.
I would lik the option of opening a link from within a tab or the menu bar, into a new tab.
I cant find that option, the only one being opening a new windows in a new tab
Can you help?
ThanksYou can middle-click a link or the Go button on the location bar to open the link in a new tab.<br />
You can also use Alt + Enter to open a link in the location bar in a new tab.
See also:
*Open Link in New Tab: https://addons.mozilla.org/firefox/addon/open-link-in-new-tab/
*Tab Utilities Lite: https://addons.mozilla.org/firefox/addon/tab-utilities-lite/
*Tab Utilities: https://addons.mozilla.org/firefox/addon/tab-utilities/
*Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/ -
Open new windows in a tab just doesn't work
It doesn't matter how I set the preference, either open links in new window or new tab, it ALWAYS opens in a new window
So that button in the preferences doesn't do anything at all!BevvyB wrote:
In the safari prefs, like in other browser prefs, you can choose whether new links open a new window or a new tab
Safari ALWAYS opens a new window when you click a link away from the current page, no matter whether it is set on the window or tab option
You are referring to the Safari preference setting in the General section:
Open links from applications _ in a new tab in the current window
This refers to links in other applications, not links on web pages that you are viewing in Safari. With that setting checked, if you click on a link in Mail, Word, Acrobat Reader, or any other program that is not a web browser, the link will open in a new tab in the current Safari window.
Unfortunately, Safari does not have a setting to do what you want, i.e. to open links on web pages in a new tab when those links are coded to open in a new window. Your best bet is to submit feedback to Apple requesting that this feature be added to Safari. -
'Open New Windows In A New Tab' is not working when the popup is invoked by Flash
I surf a lot of porn sites. And some of them invoke a popup if you click the play button of their Flash player. Even though I have FF set to 'Open New Window In A New Tab', this isn't working if a window is invoked by a Flash object. For example, if I want to watch porn clip on tnaflix<i></i>.com and click the Play button, then a popup window of livejasmin<i></i>.com comes up. But it doesn't open in a new tab. It opens in a new window, even though I've set the above mentioned option. This is very annoying. Please, fix it.
Thanks for the responses and sorry for taking a while to get back. I have been looking around but not sure where is the "about: config page." When I click on Firefox "about" there is nothing to configure. What do I click on? TIA
-
How do I set Firefox to open new windows in a separate window (not in tabs)?
How do I set Firefox to open new windows in a separate window (not in tabs)?
Click the orange Firefox button, and click "Options". This will bring up a new window with a "Tabs" tab at the top. Click that. There will be several checked boxes, including one called "Open new windows in a new tab instead" up at the top of the list. Uncheck that box and you should be good to go.
ETA: This should also work if you click "Tools" and "Options" within your version. -
we are running Firefox 3.6.18 on Windows 7 sp1 OS. I need to change about 500 pc's /update an image. Do not want to re-image for this problem (no time). Is there a "reg entry" that I can push out to the pc's to reverse the default "Open new windows in a new tab instead"
Maybe you can do that via a mozilla.cfg file.
See:
* http://kb.mozillazine.org/Locking_preferences
You can use these functions in mozilla.cfg:
defaultPref(); // set new default value
pref(); // set pref, but allow changes
lockPref(); // lock pref, disallow changes -
I have tried to set my homepage to a specific website. However, whenever I open a new Safari window, it always returns to the last page I was at before I closed Safari. Any ideas? I did this under Safari preferences, open new window to homepage...
Safari is opening using the resume feature. To disable that, quit Safari using Command+Option+Q or Hold Option when choosing the menu item Safari>Quit.
-
How do I set Firefox to open new windows in my second monitor?
When opening a new window (by right clicking a link and selecting Open in New Window), I would like the window to be opened in my second monitor. Firefox used to do this, but randomly stopped. Now when I open a new window it is opened in my primary monitor. It does not open maximized (just short of being completely maximized). I have tried the fix I used before- moving the un-maximized browser to the second window, closing and re-opening the window. I have also tried moving the un-maximized browser, maximizing, closing and re-opening. Does anyone know how I can restore Firefox to open my new window in the second monitor?
== This happened ==
Every time Firefox opened
== RandomlyClick the orange Firefox button, and click "Options". This will bring up a new window with a "Tabs" tab at the top. Click that. There will be several checked boxes, including one called "Open new windows in a new tab instead" up at the top of the list. Uncheck that box and you should be good to go.
ETA: This should also work if you click "Tools" and "Options" within your version. -
My Setting won't stay! (open new windows in a new tab instead)
I m currently using Firefox 5.0 Korean version.
Everytime i un-check the "open new windows in a new tab instead" option, after a while, it gets checked again somehow.
I tried clearing cookies and un-installing all the addons, but it keeps being checked again.
How do i make it stay un-checked..?See:
*http://kb.mozillazine.org/browser.link.open_newwindow
*1: current tab; 2:new window; 3:new tab;
For links opened via JavaScript you can look at this pref:
*http://kb.mozillazine.org/browser.link.open_newwindow.restriction
You can open the <b>about:config</b> page via the location/address bar.
You can accept the warning and click "I'll be careful" to continue.
*http://kb.mozillazine.org/about:config -
What is the correct way to open new window with launchDialog & returnDialog
Hi,
JDev : 11.1.1.1.2.0
My current page url is http://127.0.0.1:7101/ThruputApplication/faces/Test.jspx?_afrLoop=21785535204821&_afrWindowMode=0&_adf.ctrl-state=d1x4f8z6p_9 and
From this page, I trying to open new browser window using command button's action method with below code
FacesContext facesContext = FacesContext.getCurrentInstance();
ViewHandler viewHandler =
facesContext.getApplication().getViewHandler();
StringBuilder strBuilder = new StringBuilder();
UIViewRoot dialog =
viewHandler.createView(facesContext, strBuilder.append("/reports/LPLReport.jsp?").append(sURL).toString());
Map properties = new HashMap();
properties.put("width", Integer.valueOf(500));
properties.put("height", Integer.valueOf(300));
AdfFacesContext afConetxt = AdfFacesContext.getCurrentInstance();
afConetxt.launchDialog(dialog, properties, null, true, null);
New browser window is getting open successfully but after opeing this new window if I do any operation such like selecting item from selectOneChoice or checkbox selection from the screen from which I have launce new browser window then is giving me below message.
Are you sure you want to navigate away from this page ?
There are one or more dependent dialogs open. Navigation from this page will invalidate any open dialogs.
Press OK to continue, or Cancel to stay on the current page.
I have also tried AdfFacesContext.getCurrentInstance().returnFromDialog(null, null); to return dialog but its giving me below error:
<DialogServiceImpl><returnFromDialog> No 'DialogUsedRK' key available for returnFromDialog to do the right thing!
<Reports><generateReports> Exception
java.lang.IllegalStateException: popView(): No view has been pushed.
at org.apache.myfaces.trinidadinternal.context.DialogServiceImpl.popView(DialogServiceImpl.java:88)
at org.apache.myfaces.trinidadinternal.context.DialogServiceImpl.returnFromDialog(DialogServiceImpl.java:182)
at org.apache.myfaces.trinidadinternal.context.RequestContextImpl.returnFromDialog(RequestContextImpl.java:132)
at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.returnFromDialog(AdfFacesContextImpl.java:318)
at com.enbridge.forecasting.tps.backing.reports.Reports.generateMsgRptGenerated(Reports.java:2602)
at com.enbridge.forecasting.tps.backing.reports.Reports.generateReports(Reports.java:1212)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Please give me the solution so that I can stay on the screen and can continue with that screen after opening new browser window.
Currently after opening new window as mentioned above, I can't do anything. If I press ok button then it will give me login page and if I press cancel button then my screen component's state become invalid.
Regards,
devangThanks Frank,
We have resolved the issue. Cookies max age was set as current browser seeion in websphere.
After changing it as some max seconds, it is working fine.
Mohanraj M -
I think the following, quote below, from the help page is my problem.
I have this one website I use that when I click on a link within the website it is opening a new window with the tab at the bottom. Also, when this happens, I am losing the orange FireFox rectangle, bookmarks and navigation options. How can I set FF31 so that the link opens in a new tab and I keep all my options? I am using Classic Theme Restorer 1.2.3. I also notice that in the new window I lose the ability to use some of the addons.
I have two laptops and both are running FF31 and W7. One of them is working perfectly and the other is having this problem. As far as I can tell they are both set up the same. The only difference is that when I upgraded to FF31 they both had difference older versions of FireFox. I also read in the help forum that maybe I need to go back to FireFox 28 to accomplish what I am trying to accomplish.
I noticed that when I go under about:config that the version of FF that is not working has fewer available options versus the version that is working. An example would be that the working version has "browser.tabs.onTop" where on the other laptop this is missing.
>>>Open new windows in a new tab instead: This option controls whether links from other applications or from web pages which request to open them in new windows are opened in a new window or a new tab in the most recent window.
Note: If you have chosen to open pages in new tabs, Firefox will ignore this option and will open a new window from a link if the page author specified that the new window should have a specific size, because some pages can only be displayed correctly at a specific size.<<<
Thank you in advance for any help,
yetoYou can override how links are opened via the browser.link.open_newwindow.override pref.
*http://kb.mozillazine.org/browser.link.open_newwindow
*1: current tab; 2:new window; 3:new tab;
Use this for links opened via JavaScript.
*http://kb.mozillazine.org/browser.link.open_newwindow.restriction
See also:
*http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
Maybe you are looking for
-
Why do I get blue gridlines in photos that I print from Lightroom 4 on my Epson 3540 printer?
I am using Lightroom 4, and I print on a Workforce 3540 Epson printer. In this program, but not in any other (such as iPhoto), I get blue grid lines in the background of each photo. How do I remove these gridlines?
-
I can't sync my ipad2 after updating to ios5. Message is 'waiting for changes to be applied'. Any ideas?
-
Problem with FM TRINT_OBJECTS_CHECK_AND_INSERT
Hi Experts, We are finished with upgrading our system frm 4.6C to ECC6.0. While testing the objects we got one runtime Error.While saving a transport request in Development Sytem against custom transaction a run time error has been triggered. The des
-
Exchange 2010 transfer of the license and uninstall old Exchange
Hello everyone, I had some problems with my old Exchange 2010 as it was freezing from time to time. I decided to install a new Exchang 2010 server. I transferred mailboxes, MX record stays the same and I routed all e-mails to the new server now. I di
-
Hi, How to use the alert log in production ENV.Bcz the alert log size is 1.6GB.it is difficule to handle. Is there any tool. can i get the last one day info from alert.log file? Edited by: user3266490 on Nov 16, 2009 11:55 AM