Open the HTML attachment in new browser window
Hi all,
There is a Bsp application in which the table view has list of all attachmnets.
When I click on a cell a popup opens asking whether the file is to be opened , saved or cancel.
When I click on open then if it is a TXT attachment it opens in a notepad but if it is an HTML attachmnet it gets opened in the same browser window instaed of a new one.
What do i do to open the HTML attachment in a new Beowser window.
Regards,
Sweta.
Hi Durairaj,
The thing is that I did not get the desired answer to my query and the thread was posted in a wrong forum thus I have the query again inthe correct forum.
Regards,
Sweta.
Similar Messages
-
Dreamweaver - Chrome open a video in a new browser window not working
Hi guys, i'm pretty novice to dreamweaver and i've putting a site together recently...
One thing i am trying to do is open a video in a new browser window when the button is clicked upon.
I have done what i thought i needed to do this, and in safari and other browsers this works fine. In Google Chrome however this doesn't seem to want to work and rather then opening and playing the video it just automatically starts to download it.
I'm sure it is a simple fix and i apologise for the thread all about it but any help would be appreciated.
http://hauntingskateboards.co.uk/media.html
if you click on Joe or Dean button you should see what I mean... anyway thanks in advance!Create Pop-Up Window in DW Behaviors Panel
http://alt-web.blogspot.com/2012/03/create-pop-up-window-in-dreamweaver.html
Nancy O. -
Open another website in a new browser window
I can't seem to create links to external websites that open
as intended in a new browser window while leaving the main browser
window unchanged. Except in Safari on a Mac. See sample code.
In Safari on a Mac this opens the new window and behaves as I
want. In Safari on a PC it opens a new window, but in back. In
Firefox on Mac I get an error message in which, when the "OK"
button is cliked on, a new window opens in back of the main window.
Same thing on a PC. Internet Explorer on a PC opens a new window
but displays an error message forcing you to clik the back button
to return to the main page.
If I specify the main page url in the link field, then the
main page gets reset to the top, which I don't want.
How can I get FireFox and IE to accomplish this gracefully?
To observe behavior go to
http://www.digifon.com/framesetal_id.htmDon't use Frames. However, the issue of opening a new window
is still
hotly debated. My own approach is to mark the link with an
icon and
then to open a new window (or tab if the user prefers). If
done
properly with javascript, this will not spawn a myriad of
windows and
Standards-compliant. (And further, if javascript is off, the
new page
will simply open in the current window.)
Based on this philosophy, I offer a DW Extension that makes
adding this
behavior dead simple. Here is an example of a page that uses
it to good
advantage. Despite all the external links and pdf links on
the page,
the Extension only needed to be added once to the page,
rather than
adding it to each and every link. Links added to the page
AFTER the
Extension is applied are ALSO acted on, a great time saver in
my
opinion, and easy on the user:
http://squamscott.org/scc_green.asp
The DW Extension is available here:
http://divahtml.com/products/divaPOPgold/open_popup_windows.php
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
adobe keeps crashing, you can be on a web page reading and the browser opens the page in a new browser. I did not have this problem the older versions. What can I do to fix this problem.
See [[Firefox keeps opening many tabs or windows]]
-
Controlling the appearance of a new browser window coming from a weblink
Hello all,
I have a weblink. When the end user clicks on the web link a new browser window opens up.
I would like to be able to control the appearance of the new browser window. I want to be able to hide url address bar, tool bar and all menus.
Is there a way to do this by editing the weblink in CRM OnDemand ?
Thanks,
Trish.Trish, if it is possible it would need to be in the URL and I think you'll need to do a google search to find out how you pass IE attributes into a URL.
cheers
Alex -
Howto open weblink/url via html button in new browser window
Hallo Apex People!
I have built a form containing a html button linking to a webpage. Is it possible to open it in a new browser window?
Tnak you a lot
JohannJohann,
Try this...
In the 'Optional URL Redirect' properties of the button, change:
Target is a: URL
URL Target: javascript:popupURL('[your webpage');
(Note: This uses one of the built-in javascript functions, that loads a new window without toolbars.)
Any good?
Ant. -
Open pdf's, documents in new browser window SharePoint 2010
Hi all,
when a user clicks on pdf's, documents, html pages etc in a document library I need them to open in a new browser window. I've found lots of articles on how to do it in 2007 but none work in 2010. I know its not an out of the box function but people
have done it with Java script or adding code to the document library allitems.aspx web part, I just can't replicate those steps in 2010.
I'm not a developer or anything but can put code in the right place using SharePoint designer 2010.
Pulling my hair out at the mo,
please help
thanks in advanceCreate a Document Library called ScriptLibrary.
Download the Jquery library here: http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.4.4.min.js
Create a new file called: OpenPDF.js
Paste the following Code in the file:
$("A[href$=.pdf]").click(function() {
window.open(this.href);
Upload both files to your newly created ScriptLibrary.
The ScriptLibrary should have 2 files: jquery-1.4.4.min.js and OpenPDF.js
Navigate to the List Page that has the PDF's that you need opened in a new window.
Click Site Actions: Edit Page,
Insert > Content Editor WebPart
Click to Edit the HTML Source of the HTML WebPart, then paste in the following to reference the two files you uploaded to your Script Library:
<script type="text/javascript" src="/ScriptLibrary/jquery-1.4.4.min.js" ></script>
<script type="text/javascript" src="/ScriptLibrary/OpenPDF.js" ></script>
*The src needs to point to the files you uploaded
Save the page then click on a PDF, it should open in a new window.
You can then export that ContentEditorWebPart to your webpart gallery, and just insert the webpart on any page that needs the same functionality. -
Open sso enabled app in new browser window
I have a java app deployed to OAS and secured with Single Sign on. I would like my app to open a report and display it in a new browser window. When the new window opens I am getting an error stating that user is not authorized to access the report. This is due to the session information (successful login) being stored with the cookie in the original browser window (where the session started and where the user originally logged in). Is there a way to pass that cookie information to the 2nd browser window...or some way to re-authenticate without having the user log on again...possibly some mod_osso set-up...or some additional code? TIA.
Hi Durairaj,
The thing is that I did not get the desired answer to my query and the thread was posted in a wrong forum thus I have the query again inthe correct forum.
Regards,
Sweta. -
Opening a URL in a new browser window
Hello Experts,
I am trying to open a dynamic url in a new browser window from a Portal application (travel and expenses). Basically, when a user clicks on the submit button, Badi IF_EX_TRIP_WEB_CHECK~USER_CHECK_CHANGES is called. In the BaDI, we have added code to concatenate a parameter to a url and then open a new browser window with that url. This works perfectly in r/3 using a tcode (pr_web_1200) but when I use the portal application under ESS, the window does not open and no error message is issued. We are using METHOD cl_gui_html_viewer->detach_url_in_browser. Any idea why this is not working through ESS in Portal? Is there some other method that we need to use? Any help is appreciated.
Regards,
Salcheck....
Re: Open Portal Transaction iView in new window *without* Browser window
for iView (page) you probably set the property 'Launch in New Window' to value Display in Separate Window. To tune up the other otions you have the possibility to set the property Window Features, value should contain toolbar=no. These features will be used when Javascript opens up your window - you can apply any option coomonly documented. IMHO for your demands the best option is fullscreen=yes,toolbar=no - you get really the maximum possible size. -
Using web.show_document the first time makes new browser window lose focus
Hi,
In our application we use show_document(url, '_blank') to open our reports (as pdf) in a new window.
Our environment is Application Server 10g Release 2 with Forms 10g Release 2 and jinitiator 1.3.1.22.
The first time I call a report, the new browser window containing the pdf is shown but loses focus after about 1 second. The focus is then returned to the applet window. When calling a report again it always keeps the focus.
After closing the applet window and restarting the application, the same thing happens: first report called loses focus, all others keep the focus.
Does anyone have any idea why this is happening? We want the focus to stay on the new browser window every time...Hi Jeroen,
I m also facing a problem something similar to yours. If you got any solution please let me know.
Problem-
Currently my application is running on Forms 9.0.4.2 and my form calls another third party which displays the image in image viewer in new browser. When user clicks on the button to display image, then I m using the following Code -
-- Method: displayDocuments ([Ljava/lang/String;)Ljava/lang/String;
FUNCTION displayDocuments(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JARRAY) RETURN VARCHAR2 IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'com/hli/imaging/adapter/LK_FormsImagingAdapter', 'displayDocuments', '([Ljava/lang/String;)Ljava/lang/String;', args);
END;
Image is displaying fine but the focus is staying on the newly opened browser. I want it to get back the focus to the forms window.Is this possible ???
Thanks in advance
Sai -
In the "Google Search Setting", if select "Do not use Google Instant", then the selected search result of Google Search will be displayed in a new window, but if "Use Google Instant", the selected result will replace Google Search window. This problem does not exist when using Chrome Browser.
That does what it says - even if Google tells the browser to open the page in a new window, you have told Firefox to ignore that and open it in a new tab. Uncheck the box and you should get the result you want.
-
Opening a state in a new browser window?
How to open a link button..(the link button actually changes the state of the page) but i want to open that in a new browser window....
Any help....check....
Re: Open Portal Transaction iView in new window *without* Browser window
for iView (page) you probably set the property 'Launch in New Window' to value Display in Separate Window. To tune up the other otions you have the possibility to set the property Window Features, value should contain toolbar=no. These features will be used when Javascript opens up your window - you can apply any option coomonly documented. IMHO for your demands the best option is fullscreen=yes,toolbar=no - you get really the maximum possible size. -
Open a view in a new browser window
Hi Experts,
Can you pls guide me to open a new window ( Browser) on clicking a Button, Currently I could open a window but it looks like popup.
In my case I want a separate browser to be opened.
Please advice.
Regards,
BalaThere are actually only 2 options:
-- external browser window via URL (separate WD application is started)
-- internal (non-movable non-resizable) modal window inside main application window.
first at the html page, add the code:
<script language="javascript">
function openwindow(){
window.open("view");
</script>
in the page_load event,add the code:
private void Page_Load(object sender, System.EventArgs e)
this.ImageButton1.Attributes.Add("onclick","openwindow()");
Message was edited by:
Kanwalpreet -
Strange Error while opening Web UI in a new browser window
Dear Experts
My requirement is to launch one of my custom Web UI screens in a new window upon clicking a button.
I am successfull in lauching it in new window.
How did I do it:
Step 1) Created a custom object type (ZOBJ) for my z component in SPRO->UI Framework Definition->Define UI Object Types.
Step 2) Created a logical link (ZLL) for my Z component in SPRO->UI Framework->Technical Role Definition->Define Navigation Bar Profile.
After that, In the same path, select Define Profile->Define Generic OP mapping->(Here Assign Object type ZOBJ(step 1) and Logical link ZLL(step 2) )
Then created a dynamic URL and passed this URL to the "on_client_click" parameter of my button.
Sample code is below.
I put the below in the .htm of the view where my button was declared.
data: lv_url_string TYPE string.
lv_url_string = 'http://server name:port number/sap/bc/bsp/sap/crm_ui_frame/default.htm?sap-syscmd=nocookie&
crm-object-type=ZOBJ&crm-object-action=B'.
Note: Here ZOBJ is my custom object type that I created for my Z component.
<thtmlb:button id = "NW"
onClientClick = "javascript:window.open('<%= lv_url_string %>');"
tooltip = "New Window"
text = "New Window" />
Problem I am facing:
The above code is successfully opening my custom screen in a new window.
But on the toolbar (where we usually see error messages in Web UI),
I am getting an error message with the below description.
Type= SYSTEM_ERROR, ID= ERROR_SESSION_INIT, description= 16AA9A3937A9BB56E10000000A11447B
I am not able to understand what this error is. The message is appearing only for the first time I am displaying my Z component in a new screen. Interestingly, when I do some action on my screen (expand the assignment block for example), this message is gone. This message doesn't seem to be effecting any functionality, but the users certainly don't want to see an error messsage like this.
I did some research on this and this error looks to be coming from the class CX_WS_MESSAGE_SYSTEM.
This class has an attribute (CX_ROOT) with initial value "16AA9A3937A9BB56E10000000A11447B" (same one I am getting in my error message). I am not sure though because this attribute (CX_ROOT) is present in several other classes also.
I would really appreciate if somebody can throw some light on this issue.
Thanks
RajHi Arun
Thanks for your reply.
I tried the way you suggested. But unfortunately I am still getting the same old error.
Forget to mention something...actually I am seeing this error in the new session (window) only. My original window is not showing any error.
And also just FYI...This is inside the Interaction Center Web UI profile ->Account Identification -> Identify Account->Enter Account ID->Click on Confirm button.
At this point, I am first showing a popup window with text "Do you want to open Partner details in new window".
This popup has 2 buttons 'Yes' and 'No'.. If the user clicks on 'Yes', then I am opening my custom screen (Partner Details) in a new window.
This is the point I am seeing the error (only in the new window).
Type= SYSTEM_ERROR, ID= ERROR_SESSION_INIT, description= 16AA9A3937A9BB56E10000000A11447B
This custom screen contains several (only) assignment blocks (all lazy initially). When the user expands on any assigment block, the error is gone and everything looks good.
Please suggest.
Thanks and Regards
Raj -
Cookies settings:
tracking not selected;
Use custom setting for history selected;
permanent browsing not selected;
remember download not selected;
remember search and form selected;
accept cookies and accept 3rd party selected;
keep until expired ...
Clearing history settings:
History ... browsing, download, active and cache selected
forms and search, cookies not selected
Data ... offline and site pref selected ; saved pwds not selectedIt's not an issue of whether the user saves or does not save the preferences, there are several factors that could be causing this. The KB link I posted above explains the issue & solution in detail.
Maybe you are looking for
-
How do you NOT sync Apple TV purchases to iTunes?
This question is on behalf of my parents who have Apple TV - which i bought for them and i have become their tech support on 24 hour call >< Background: My parents share the same account. Dad uses the PC computer with iTunes where my mother only uses
-
Can I buy an iOS app on my Mac without downloading it to my Mac?
For a couple years now, I don't even bother syncing my iPhone or iPad with my Mac. Everything is done through iCloud and iTunes Match. The greatest benefit was no longer keeping several gigabytes of apps sitting on my hard drive doing nothing. I stil
-
HT1349 Instaling Itunes on Windows PC
Getting an error when I updated Itunes that has now lead me to not being able to open it. Now I am unable to install it at al. "An application has made an attempt to run the C runtime library inccortly."
-
Solman to compare profile params
hi all.. can any one help me in guiding to use solman to compare the profiles in satellite systems? I found a presentation in the ASUG website mentioning that solman can be used to compare instance profiles/parameters in the satellite systems. Have a
-
How to set PAPER SIZE in PRINT VIEW
I am missing a step here in printing to Tabloid paper size. How do I set the paper size in the actual document or on the actual sheet? I am in Print View and I am guessing that it is showing the Sheets for my document as printing on 8 1/2 x 11 paper