I want to hide address bar for pop up window. I have used following script. In Linux machine its working fine. But in Windows machine address bar still displaying.
This is the code
<script>
function openNewWindow(url) {
window.open (url,"",'width=620,height=300,scrollbars=yes,menubar=no,location=no');
}
I am trying to open a popup window on clicking a link. It works fine, but all I need now is to disable the address/URL bar from the window for all browsers. I am using the below script...
<script type="text/javascript"> <!-- function popup(url) { var width = 600; var height = 400; var left = (screen.width - width)/2; var top = (screen.height - height)/2; [Code]....
how to rename/hide the title in the popup window. I found the below code from google. this code is working fine. Actualy I don't want to show the url to the user. Below code helps to hide the address bar. But still user can see the url in title bar. If I add the titlebar=no in the var feature then also it is showing the url in titlebar.
function loadMainWindow() { var win = window.self; win.opener = window.self;
I am using this code to get the shopping cart in Iframe when i click on the button. I am using GET method for this as I have to get the product id and value. I have two pages, one for products and one for iframe where i have to load my shopping cart. The code for both the page is below :
I am using this code to get the shopping cart in Iframe when i click on the button. I am using GET method for this as I have to get the product id and value.
I have two pages, one for products and one for iframe where i have to load my shopping cart.
I'm hiding the email address on a website with this javascript which works fine: --------------------------------- <p>Send your comments and questions to our <script language=javascript> <!-- var contact = "Newsletter Editor" var email = "news" var emailHost = "netmechanic.com" document.write("<a href=" + "mail" + "to:" + email + "@" + emailHost+">" + contact + "</a>" + ".") //--> </script> </p> --------------------------------- How can I make an image instead of the text as a link to start thisscript?
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?
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.
Im 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.
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?
I 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.
cannot get a new (picture) window to open in Firefox without the title and address bars (or anything else, just the image). IE shows just the title bar, with or without the code:
function newWindow() {window.open('./pageaddress.html','winname','top=20,left=20,directories=0,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=no,resizable=no,width=400,height=350');} </script>
The window opens fine, but always shows the address and title bars. I have read the W3 Schools options list (and other posts) and tried both 'no' and '0' as values, without any success. What am I missing and is there any way to make this work - it didn't even work in the W3 Schools 'try it yourself' test page!
I have seen some very nice 'slowly-opening' windows (increasing in size)
I 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>
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.