Pop-up window
I want a pop-up window with no menubar or toolbar and scrollbar.
Below is the code i used but still i can see menubar,toolbar,..
i have used no whitespaces to avoid ignoring of the code. Still it is not working.
function popit()
window.open('','_popups','toolbar=no,status=no,location=no,menubar=no,resizable=no,scrollbar=no,top=200,left=200,screenX=200,screenY=200,height=150,width=30')
}
Well, your question has nothing to do with java...you are in the wrong forum.
Try javascript forum for more help
Similar Messages
-
How to use one pop up window for multiple buttons and input fields?
Hi Experts,
I have created a pop up window that will be opened from multiple buttons in the same view. There are input fields that the data will be populated from a pop up window. How can I set up which button that a pop up window is opened from? I also would like to populate the data from a pop up window to the input field next to a clicked button. There are 6 buttons and 6 input fields that share the same pop up window. I would very appreciate your responses.
Thank you,
DonHi,
Try creating 2 context attributes, one in your component controller and the other in the pop-up view. Bind the attribute of pop-up view to the component controller attribute.
In the main view, on click of every button set a unique code in the controller's context which helps you in identifying the button clicked. Since u have created a binding to the pop-up view attribute the value flows from the controller.
In the init method of your pop-up view, check the value of the attribute and based on that display which ever UI elements are required.
Eg:
On Button 1 click set value "B1", Button 2 value "B2" etc. In the init() of pop-up view u can check the values and perform the required operation:
if(("B1").wdContext().currentContextElement().getButtonIdentifier()){
else...{
Hope this helps you.
Regards,
Poojith MV -
I recently upgraded to Firefox 3.6.9 and found that when using the editor in a Joomla 1.0.15 website , the content editor pop-up windows no longer return URLs selected (eg: image or file URL to be used in a link). I have been using the site with no problems for many years, and the problem was cured when I reinstalled 3.6.8
Thanks cor-el but the problem is not in my web development but is a new issue/problem in FireFox which was not present in all versions up to and including version 3.6.8 and was only introduced in version 3.6.9. I have also established that the same problem also exists in FireFox version 4 beta 6 and have therefore also raised a second question today.
My understanding was that I should raise these issues in this forum, but I will also check out the other forum. -
Dear All,
We have a issue like this: Say, there is a Customer who has given an order of ABC product 10 packs to the sales employee. And the order is placed on say 15.09.2011 and as we could not produce the product the next two days also, the product is not delivered to the customer. So again on 17.09.2011, when the customer is giving order to the sales employee he gives the same order again. And the same order is posted again. This is causing wrong data in Net Pending Sales orders.
I have three options now:
1. Block the order using SP_TransactionNotification, but this way the order gets stalled.
2. Setting up an alert.
3. Setting up for an approval procedure.
Our team does not want any of the above, instead they would like to see a pop up window which gives the info that the same product and quantity there is an open order existing for the same customer. And pop up should have Yes and No button, clicking on Yes the new order gets added and No will return to the order, where the row is deleted and added again.
Our SAP version is SAP B1 8.81 PL 06 and Microsoft SQL Server 2008 R2. Do we have any way to achieve this.
Thanks,
Vineela.Hi Vineela.....
The same thing you can achieve through SDK.
You need to set a small addon for this in order to get the Pop Up which checks whether the Order for the same combination does exist or not.....
So I would request you to please post the same query to the SDK Forum where you get Expertise Answer and close this thread here.......
Regards,
Rahul -
Need a way to disable "Exception" button for "Block Pop-up windows" in Tools-> Options -> Content tab. I want to be able to do this for Locking Down Firefox preferences.
== User Agent ==
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)That button doesn't have a pref associated with it, so you can't disable that button with a pref on the about:config page or a lockPref call.
That only leaves the choice to remove that button with code in userChrome.css
<pre><nowiki>#popupPolicyButton {display:none!important;}</nowiki></pre>
See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files -
Pop-up windows from the portal showing address bar
Hi,
I am not sure where to post this thread, but here goes. My client has the CRM web UI which has been integrated into SAP Portal 7.3. I am not aware of how this is done as I am not familiar with CRM.
The issue being faced is that when a user tries to create a new opportunity etc, the pop-up window opens. But an address bar is seen in the pop-up. This was not appearing when they were on an earlier version of EP.
I am not sure where I should be looking to remove the address bar. Is this something related to the web UI and not the portal?
Thanks & Regards,
VaishnaviHi,
Take a look at the following:
[http://forums.sdn.sap.com/thread.jspa?threadID=1800949]
[Using iView Parameters to Open Applications in Separate Window|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d2aeb9-5f92-2d10-d38d-ded09c94330d?QuickLink=index&overridelayout=true&48747879654994]
[http://forums.sdn.sap.com/thread.jspa?threadID=124909]
Regards,
Alex -
How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word in the document. I am teacher. So for example when a student came to word he/she did not know, if he/she hovered the cursor over the word, a defintion or other information would appear. You can do this in Word using bookmarks/hyperlinks but I can't figure this out in Pages. I can link it to another point in my Pages document but I just need the text to pop up - not take the reader to another location. THANK YOU!!!!!!
Have you tried Word for Mac?
You will need to test if links survive export or printing to .pdf
Peter -
ACROBAT XI Pro -EDIT TOOL SET - POP-UP WINDOW IS TOO LARGE
Good Day -
I've been experiencing very nagging problem since installing recent Acrobat Xi Pro uodate (on windows 7 system):
Specifically - I cannot edit/change the TOOL SET to include needed TOOLS (i.e., that were all previously in my Tool set) as the EDIT TOOL SET WINDOW (i.e., pop-up
window) is TOO LARGE and does not allow scrolling/ or moving down to SAVE any tool sets and or tool set changes. Very frustrating as all attempts (and recommendations from reviews/support) for decreasing the size of EDIT TOOL SET WINDOW (popup) in order to save (i.e. include ANY) tools have been unsuccessful. So for past week I've been unable to include/use any TOOLS for working in (i.e., editing/commenting etc) pdf's. Has anyone else experienced this problem? Would greatly appreciate any / all steps & recommendations for fixing.
Thank-you!First, make sure you are on the latest update 11.0.09. Help->check for updates should get you there.
If check for updates says that you have the latest, see if the setting: Edit->Settings->General->Basic Tools->Scale for screen resolution and try various options (you'll have to restart Acrobat with each selection) -
Would appreciate in connecting Remote App on iPad to iTunes. It used to work find, before iTunes 11.0 - but now pop up window to input 4 digit code does not appear. Any ideas how to prompt window to open on iMac? Remote App works OK, but says that Home Sharing is not Turned On, although it is. Both devices are logged into my profile account.
You no longer need the 4 digit code in iTunes 11.
iTunes (10.0.1 or later)
Open iTunes on your Mac or PC.
iTunes 11 or newer: Turn on Home Sharing in iTunes by going to File > Home Sharing> Turn on Home Sharing.
iTunes 10.7 or older: Turn on Home Sharing in iTunes by going to Advanced > Turn on Home Sharing.
Connect iPhone, iPad or iPod touch to a Wi-Fi network that is connected to the local network that your Mac or PC is also connected to.
Open the Remote app (software version 2.0 or later) on your mobile device.
Turn on Home Sharing in the Remote Settings screen. Make sure to sign into the same Home Sharing account you used to sign in to from iTunes on your computer.
Once Home sharing is enabled for both your computer and your mobile device, Remote app will be be able to view and control audio and video playback in your iTunes library.
http://support.apple.com/kb/ht1947 -
Passing values from javascript in pop up window to parent jsp
Hi
I am trying to pass values from a pop up window to the main window that popped this child window , with the idea to have the parent window refresh itself with value from pop up window.But the values are not going through.I do a request on the hidden variable but when the parent
jsp refreshes , the variable is still null...
The following is the code i have .
Parent jsp:a.jsp
<form name='summary'>
<input type=hidden name=customerid value="">
<input type="button" class="textButton" name="action" value="customerlist" onClick="javascript:openWin('b.jsp','800','350')">
<script>
function openWin(loc, w, h) {
var newWin = window.openloc,"HTML",'dependent=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + w + ',height=' + h);
newWin.window.focus();
</SCRIPT>
<%
String optionVal = request.getParameter("customerid");%>
var user = "<%= optionVal%>";
</form>
child jsp- b.jsp (pop up window)
<script>
function closer(){
var val = document.formname.id.selected.value;
window.opener.document.summary.customerid.value = val;
window.opener.location.reload();
</script>
<form name = formname>
<input type="text" name="id" value = ''>
<input type="button" class="textButton" value="select"
onClick="closer();window.close();">
</form>
Any ideas on what i am missing
Thanks
Arnuse window.opener.document.forms[0].filedname.value = 'value u need to set'
-
They are small pop-up windows. When I start entering in keywords to search, ever so often, these things pop-up and not just one. Many of them. Popping one upon another upon another upon another. I cannot enter anything new into the Google search box until I have closed all of these windows. And, commonly, numerous ones of them will pop up again when I enter in the next letter in my search.
This is what it says in the pop-up box:
Along the top it says in the light blue margin "Opening search"
Under the above and in a white box it says:
"You have chosen to open
[a Windows symbol] search
which is a: application/json
from: https//www.google.com
Then on the outline of an inner box, it reads "What should Firefox do with this file?" and it gives the following options:
Open with ["Browse" button]
DownThemAll!
Save File [This one is checked as the default]
Then a check-off box with the text next to it: "Do this automatically for files like this from now on.
Under that is an "OK" button that is gray and cannot be checked and a "Cancel" button that can be. I have never done either but used the "X" in the upper right corner of the box to close out this window.
Now I see I have limited options for "This happened" for frequency. It isn't every time Firefox is opened but it is FAR more frequent than "A few times a week". More like several times a day.See https://bugs.downthemall.net/ticket/2147
Google Search Bug
Reported by: openid:nathan wride Owned by:
Priority: major Milestone:
Component: Polish/Usability Version: 2.0.10
Keywords: Google search instant save bug Cc:
Operating System: Windows
Description
Hi Guys
I have found a bug/annoying thing that occurs frequently on google. When searching, DTA trys to download the search...
I'll try to attach a screenshot.
Attachments
[https://bugs.downthemall.net/attachment/ticket/2147/Screenshot.png Screenshot.png] Download (113.0 KB) - added by openid:nathan wride 4 weeks ago.
The screenshot that shows the bug. -
When a pop up window comes up it is - search bookmarks and history window! I cannot log into my bank as login button should open new window to log in but I get the search page. I cannot see larger images as again I get the search bookmarks and history page etc. Happens on all options that should open new page. I am so frustrated, this has been happening since Firefox updated itself 2 days ago to Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0C) was fine before that. using windows vista. Can you please advise what I should do? Also can you go back to previous version? Error console eg
Warning: Error in parsing value for 'cursor'. Declaration dropped.
Source File: https://ib.nab.com.au/nabib/styles/menu_nab.css?id=009
Line: 116
ib.nab.com.au : server does not support RFC 5746, see CVE-2009-3555 and Warning: Selector expected. Ruleset ignored due to bad selector.
Source File: https://ib.nab.com.au/nabib/styles/nabstyle.css?id=014
Line: 837
== This happened ==
Every time Firefox opened
== 2 days ago after update.Do you have that problem when running in the Firefox SafeMode?
[http://support.mozilla.com/en-US/kb/Safe+Mode]
''Don't select anything right now, just use "Continue in SafeMode."''
If not, see this:
[http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes] -
Open and Close Pop-up Window??
Hi,
I have to components consiider A and B.
I want to open window B as pop-up window when I click a button on window A.
After that again I have to close that pop-up window(i.e. B) and return back to window A.
Thanks and Regards,
RahulHi Rahul,
In the onAction event of the button for component A you could use the following code :
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(wdComponentAPI.getComponentInfo().findInWindows("Window B"));
window.setWindowPosition(270,120);
((Window)window).setTitle("My Window");
window.open();
wdContext.currentPopUpElement().setWindowInstance(window);
In the onAction button event for component B to close the window you could use the following code :
IWDWindow window = wdContext.currentPopUpElement().getWindowInstance();
window.destroy();
You could create a Value Node named Popup which contains a VA WindowInstance of type IWDWindow and define the context mapping.
Hope this helps. -
Some of my web pages open a new pop-up window for entering credentilas and display sensitive information. After upgrading t0 3.6.12 i found that firefos is not opening pop-up windows (earlier version allowed). When I close the browser, it gives a quit message saying there are unclosed tabs and windows of firefox. shall they be saved for next time start.
Also observed that the memory usage (from Task manager)is very high compared to earlier ones and the process is not closed even if I close the browser.3.6.13 is also behaving similarly.
-
Delete the entry from dropdown list in the pop up window in ALV report
Hi All,
I have a requirement in the ALV interactive report ZMM_IMPL .If we enter selection screen parameters its displaying the first screen.If we click on 'Goods Issue' tab ,it display the pop up window for Requirement Pick list with Batch number ,Storage location and Quantity.Here we have F4 option for batch number(MCH1-CHARG) and we could see all batches (with stock and without stock) in the drop down.
Now my requirement is i would need to delete the non stock batches from drop down values.
Ex:we clich F4 in batch number field(CHARG) ,could see 4 batches Test1 ,Test2 ,Test3 and Test4 .Here Test1 ,Test2 are Batch stock and other two are Non stock batches. We could see all these batches (with and without stock) in MCHB table.Now i would need to delete non stock batches(Batch with zero qty (MCHB-CLABS = 0) from drop down.
Any idea on this.
Regards,
RpnHi,
User wants to appear only batches with stock value in the drop down .Here Batches test1, test2 , test3 have stock but test4 has no stock value. Now the requirement is if stock does not exist in any of those batches it should not appear in the drop down and propose batches based on quantity.
Batch stock value can be seen through transaction MB52 and could see only Test1.Test2 and Test3.
They have arleady code in the program for F4 help to Batch number as following,
CLEAR: lips.
REFRESH: gt_lips.
lips-vbeln = f_vbeln.
lips-posnr = f_posnr.
lips-matnr = f_matnr.
lips-werks = f_werks.
lips-lfimg = f_bdmng. "store the requirement quantity for display
lips-pstyv = f_res_del. "use to store RES or DEL "DV1K919143
CALL SCREEN '0100' STARTING AT 10 2.
for the ok code to be BT_SAVE all the validation are complete
IF g_ok_code NE 'BT_SAVE'.
f_answer = 'A'.
ENDIF.
The logic for screen '0100' as follows
PROCESS BEFORE OUTPUT.
*&spwizard: pbo flow logic for tablecontrol 'TC_LIPS'
module TC_LIPS_change_tc_attr.
*&spwizard: module TC_LIPS_change_col_attr.
loop at GT_LIPS
into GS_LIPS
with control TC_LIPS
cursor TC_LIPS-current_line.
module TC_LIPS_get_lines.
*&spwizard: module TC_LIPS_change_field_attr
endloop.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
*&spwizard: pai flow logic for tablecontrol 'TC_LIPS'
loop at GT_LIPS.
chain.
field GS_LIPS-CHARG.
field GS_LIPS-LGORT.
field GS_LIPS-LFIMG.
module TC_LIPS_modify on chain-request.
endchain.
field GS_LIPS-SELKZ
module TC_LIPS_mark on request.
endloop.
module TC_LIPS_user_command.
*&spwizard: module TC_LIPS_change_tc_attr.
*&spwizard: module TC_LIPS_change_col_attr.
MODULE USER_COMMAND_0100.
MODULE USER_COMMAND_EXIT_0100 AT EXIT-COMMAND.
process on value-request.
field gs_lips-charg module lips-charg_values.
Logic for F4 help as following
DATA: mc_object LIKE dd23l-mconame,
help_lips LIKE lips.
DATA: dseltab LIKE dselc OCCURS 10 WITH HEADER LINE.
DATA: lf_shlpname LIKE dd30v-shlpname,
lx_shlp TYPE shlp_descr_t,
ls_interface LIKE ddshiface,
lf_rc LIKE sy-subrc,
lt_retvalues LIKE ddshretval OCCURS 0,
ls_retvalue LIKE ddshretval.
help_lips = lips.
IF NOT help_lips-matnr IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
EXPORTING
input = help_lips-matnr
IMPORTING
output = help_lips-matnr
EXCEPTIONS
length_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
exit. "Ignore conversion errors "50A
ENDIF.
ELSE.
EXIT.
ENDIF.
SET PARAMETER ID 'MAT' FIELD help_lips-matnr.
SET PARAMETER ID 'WRK' FIELD help_lips-werks.
Export parameters to memory to enable search help via classes
CLEAR dseltab.
REFRESH dseltab.
dseltab-fldname = 'MANDT'.
MOVE sy-mandt TO dseltab-fldinh.
APPEND dseltab.
dseltab-fldname = 'MATNR'.
MOVE help_lips-matnr TO dseltab-fldinh.
APPEND dseltab.
dseltab-fldname = 'WERKS'.
MOVE help_lips-werks TO dseltab-fldinh.
APPEND dseltab.
dseltab-fldname = 'CHARG'.
MOVE help_lips-charg TO dseltab-fldinh.
APPEND dseltab.
EXPORT dseltab TO MEMORY ID 'DSELTAB'.
Get description for search help
mc_object = 'MCH1'.
lf_shlpname = mc_object.
CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
EXPORTING
shlpname = lf_shlpname
shlptype = 'SH'
IMPORTING
shlp = lx_shlp
EXCEPTIONS
OTHERS = 1.
Enable value copy from search help to dynpro field
READ TABLE lx_shlp-interface INTO ls_interface
WITH KEY shlpfield = 'CHARG'.
ls_interface-valfield = 'X'.
MODIFY lx_shlp-interface FROM ls_interface INDEX sy-tabix.
Start search help dialog
CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
EXPORTING
shlp = lx_shlp
TABLES
return_values = lt_retvalues
EXCEPTIONS
OTHERS = 1.
IF sy-subrc EQ 0.
READ TABLE lt_retvalues INTO ls_retvalue
WITH KEY fieldname = 'CHARG'.
IF sy-subrc EQ 0.
lips-charg = ls_retvalue-fieldval.
gs_lips-charg = ls_retvalue-fieldval.
ENDIF.
ENDIF.
How to delete entry from F4 help.Any idea?
Regards,
Reddy -
Possible to display the POP-UP WINDOW???
Hi,
I need to copy or some times need to paste or some task which is very easily displayed in Microsoft products which is called POP-UP WINDOW.
Can I Use that in my form? I am working in Developer 6i.
FarhadHi farhad,
I told u the way u can create the popup for the any item through object navigator. Please refer online help for details. There is clearcut picture in online help about the topic u asked. I think u are a developer, instead of asking sample, please refer Formbuilder reference guide which available in otn.documentation, which help u a lot and u can solve the problem on your own
regards
prasanth a.s.
Maybe you are looking for
-
My ipod touch is not turning on, even if i plug it in to the charger. I'am wanting to rest the passcode through my computer in hopes it will turn back on. So far nothing is working what should I do?
-
How to disable html tags in richtext editor
Hi All, I want to disable the html tags in rich text editor.I am able to disable the all components using the following code af:richTextEditor id="rte2" toolboxLayout="spellcheck"/> <f:facet name="spellcheck"> <af:commandLink id="chek" text="Check Sp
-
Mysql problem with german special characters
hi, I wrote a software and it worked quite good, but after I installed it on a new machine with j2se 1.4 I've problems with the german special characters. this code works good on the old machine (jdk 1.3.1) and prints the wanted characters like �,�,�
-
HT1711 how do I find the top 5 songs from a single artist!!
How do I find the top 5 songs from a single artist?
-
IPhoto "unexpectedly quits" on launch
I am using the latest OS X Lion with the new iPhoto 9.2.2 I think since the latest update, but certainly in the past week, everytime I try to launch iPhoto I get a message: iPhoto quit unexpectedly. I have tried several things based on what I read on