Remove Titlebar In Popup Window?
Jul 14, 2009We need to open a popup window only with borders. We removed all the contents like menubar, toolbar.. etc. but we are unable to remove titlebar from the window.
View 10 RepliesWe need to open a popup window only with borders. We removed all the contents like menubar, toolbar.. etc. but we are unable to remove titlebar from the window.
View 10 RepliesI'm trying this and it has no titlebar, but shows the calendar on a full page.
<a
href="javascript:calendar_window=window.open('cal.aspx?f ormname=aspnetForm.<%=
ChargeFormView.FindControl("StartDate_date").ClientID
%>','calendar_window','width=180,height=130,left=500 ,top=300,titlebar=no,fullscreen=yes');calendar_win dow.focus()">
If I remove fullscreen=yes, I get a nice small window but with a titlebar.
Can a window be opened without a titlebar? Can an alert message box be opened without a titlebar and an OK button?
I'm trying to display something like a tooltip when the onclick event occurs.
I'm about to start a project where the application is one used on a publicly accessed machine. It could be like, say, a ticket purchasing application in a kiosk machine; or maybe touch-screen app that tells grocery shoppers which aisle has coffee, etc.
So my question is, can javascript (or some other language?) be used to open a window without any controls (toolbars, menubars, titlebars, frame, etc) so that the user can't close the application (or resize, change, etc.)?
I am trying to dynamically open a popup window but ie8 blocks it with the popup blocker. basically within a ajax fuction I have a confirm button and if the user clicks yes it opens a popup window. now I tried it with a javascript function but it got blocked, so I have tried it by creating a form with a button in it and instead of calling the popup function direct I call document.form.button.click and in the form my button has onclick"popup('<? echo url; ?>')" but this also is detected as a unwarranted popup and is blocked.
now I understand that the popup blocker works when a popup is called without user interaction, but allows popups on say button clicks. how can I get the popup to work
In my application i use window.showmodaldialog() to pop up a window. When i run it in IE pop up blocker wont blocks the window... But when run it in FireFox pop up blocker will blocks the pop up window.. is there any way to open a window with out blocking(avoiding ) by the pop up blocker?
View 1 Replies View RelatedDoes anyone know how to take away the top part(Minimize, maximize and
close bar) of IE in javascript.
I have a popup window which has the search form in. What I want to do is for the popup window to close once the form is submitted, and to post the form data to a page on the main window.
Is anyone able to advise. As the main page is dynamic, it is not possible to give the page a name.
how to put some icon in the left corner of title bar, just before the title?
View 4 Replies View RelatedIm trying to create a hidden form field in a parent window from within a child window (popup). I am trying to use jQuery, but unfortunately the hidden field does not get created.
Code JavaScript:
I have a couple of utility windows - a calculator and a calendar that popup
from my main window. I would like them to always stay in front of the parent
window until they are shut down with there own close buttons. As it is, when
you click back to the parent window, of course it comes in front of the
child windows. Can I do this?
My problem is that ..... I have to select Data from Popup Window and get that Data back to my Parent window's textarea field..
View 2 Replies View RelatedI need to open a popup window from a PHP site and pass in some parameters to use in the pop up window. I have the params in an input box and need to get the val of the box into a param and pass it to the new popup window. All pages are local and in the same folder. The id of the input box is 'ddutykey'. The name of the new window would be showduty.php if possible.
View 3 Replies View RelatedI have the code below in my popup window which currently brings up a blank page in the background as the main window. Instead I want the popup to come up but the original page I left is in the background as the main window. Does anyone know how I can do that with the code I currently have.
<html>
<head>
<title>JavaScript Popup Example 3</title>
[code]....
I have a form that is in a popup window. I need the form to submit to the opener window. Is is possible to do that? The opener window is the main window so it is does not have a name and there are no framesets.
<form action="something.php" method="post" target="????">
I'd like to use window.opener in the target but that's JavaScript...
I know somebody has done this before and has the code.
I am trying to insert the value of a variable gathered from a popup window as an option in a <select> menu on the main window. This is the code I have so far:
Code:
var newOption = document.createElement("option");
newOption.value = '<?=$userfile_name?>'
newOption.appendChild(document.createTextNode('<?=$userfile_name?>'));
select.insert(newOption);
How do I do the rest? I just want to add this new value to the end of the list.
I need the most efficient way of passing a variable from a parent window to a popup window.The reason i say "most efficient" is because i currently do it like this from the parent:[code]But this is inefficient because at times it randomly alerts "undefinded".Anyways, can someone tell me a more fail safe way to pass a var to a popup so that i will be able to access it 100% correctly.
how I can populate the value of an input field on a parent window from a selected item (of a form - listmenu) on a pop-up window? Basically, I need to pass the value of one form to another form located on a different page...
View 1 Replies View RelatedI have a popup window that comes up when a user doesn't have access to a certain page within my site. The problem is when a user clicks on something the popup window comes up but the bigger sized window of that popup comes up in the background as well. I am trying to have my popup window come up while the original page I clicked from is still focused/seen in the background. This is the code I currently am using, can anyone help me with what I am missing. I have a back button but I won't need that if I want to maintain the original page in the background. Instead I will use a close button.
Code:
<html>
<head>
[code]....
I am building a CMS and will have an Image browser built with it. When articles are added the will be able to open up the image browser when they find the image they want to insert I would like to send it(and ID from my database) into that textarea where the article is in(in the main window). So basically sending a value from popup to the main window(textarea). Is there a way i can do it.
View 3 Replies View Relatedhow to pass a value from radio button in a window to a popup window using asp javascript?n in the popup window,there is a textfield to enter data to search from database.. the value from the textfield then is used to generate report.
View 1 Replies View RelatedI have a website which has a popup window (this only opens when the user
chooses to open it). In the popup window I have a <select> control which
lists a selection of "classes". Each class has a description and a class_id
(stored in the value attribute of each option). The user will then select a
class from the drop-down list.
What I want to do is have a control in the parent browser window which can
store the class_id and the description that the user has selected in the
popup window.
Any suggestions as to what control I should use in the parent window and
more importantly how I get the value from the popup window (this must be
client side code as the user will have entered other values into the form in
the parent browser window)?
In parent window, while submitting form, popup window is called. In child popup window, parent window is forced to go invisible through code. But sometimes it is not working.Aim is to inactive all elements in parent form or invisible parent form while child window (popup) is opened. After closing popup, parent form should be in visible state.
In parent Window: (userinfo.php)
<script type="text/javascript">
<!--
[code]...
When I open a popup window with window.open I notice that the window always includes a bar at the top that shows the URL. For example, if you go to URL... and select the #1 Sandwich the build window has URL...in a bar at the top. I'd like to remove this bar but I don't see any features or options in the window.open call that might do this for me.
View 3 Replies View RelatedI have 2 different groups of buttons: one with only radio buttons and the other has radio bottons and some checkboxes. But when I click the checkboxes, I cannot see their value in the email. Any thoughts?Also I have some buttons with no email value available. How can I avoid showing the value of the "none" in the Outlook email window?
View 1 Replies View RelatedI guess this case applies to both popup windows opened by window.open() and by showModalWindow().
I have two buttons in popup window, "Cancel" and "Save". If the user clicks either button, there is a "process" at parent window before close() at popup being called. The problem now is, if the user click the "X" sign at top right corner of that popup window, how to trigger the "process"?
I think I can do nothing in popup window since the closure is unexpected programmatically. Can I put some kind of listener in parent window to detect if popup is closed?