I'm currently promoting a website that requires internet explorer. I have been showing a page that tells non-IE users (mainly Firefox users) to switch to IE in order to view the page.However instead I want it so that if the current browser is not Internet Explorer it loads the website in Internet Explorer (basically a popup that is in Internet Explorer, and not in whatever browser the user is using).
I have set up my website and have pages of photoso which when clicked on I want a popup to be opened with a larger picture in. The script I am using is
<script language="javascript"> <!--// function myPopup(url,windowname,w,h,x,y){ window.open(url,windowname,"resizable=no,toolbar=no,scrollbars=no,menubar=no,status
[Code]....
This however does not seen to work on the newer versions of IE but it does work on safari. Is there any simple change I can make to it so it will work on IE?
This is my first post. This is about how to create a very simple popup box using JQuery. No third-party plugins or downloads needed. So here goes: We'll create an html file, in my case I named it index.html... <html><head> <title> Popup Box DIV </title> </head><body> <div id="popup_box"> <!-- OUR PopupBox DIV--> <h1>This IS A Cool PopUp</h1> <a id="popupBoxClose">Close</a> </div><div id="container"> <!-- Main Page --> <h1>sample</h1> </div></body></html>
Then, for our css style, we have following: Noticed the display:none on the popup_box's syle? That is important. <style type="text/css"> /* popup_box DIV-Styles*/ #popup_box { display:none; /* Hide the DIV */ .....
I am trying to reuse a popup in my application. The reused popup also opens another popup. From this final popup I then try and reference a function located in the window that origionally opened the reused popup. This works fine in IE but doesn't in FireFox. Looking at the code through the Javascript debugger in FireFox it tells me that the reused popup's opener is closed even though it is still open. Is this a bug with FireFox or just bad practice?
I have a jsp page, which click a link and refresh the current page, and ALSO create a popup window which links to other jsp file to generate a file for download.My problem is I must create such popup window, with out blocked by IE-browser, any method, javascript, css....servlet, is ok.
I'm trying to get a popup to keep focus when it is re-clicked. The script below is supposed to produce this exact behaviour, however it doesn't work, at least on firefox 1.0.7 and moz 1.7.12 (linux kubuntu). It does work with konqueror....
I have a portfolio page on our company site that functions properly on Mac, but not in Windows. The page is here, but I warn you it will possibly freeze IE if you click it. I include it for reference. code...
In IE, the first thumbnail (of 32) will display and then the page generally locks.
I believe the javascript that governs the popups may be the culprit, but I only know enough to be dangerous and need an assist as this site is already live and that was my screwup. code...
I am triggering a Javascript based popup in which I want the URL location box hidden. I can get it to work fine in IE (I am using IE8) but the location URL box always shows in Firefox (I am using FF3.5). The code I currently have is below...
Code JavaScript: var win1 = newWindow('{0}', null, 700, 'location=0,scrollbars=1,resizable=1', 300);
Is what I want to achieve not possible in FF based browsers?
I need help with resizing a popup window in firefox. Currently, I use a JS script to open a popup window, and then resize the window to the size of the image. It works perfectly in IE, but not as well in Firefox.
Funny thing is it does work as expected with some images. The code is identical for every image I use this for, so I cannot figure out why it is not resizing correctly. Code:
I adjusted a javascript code which was a clickable popup to an autoloading popup. Basicly when someone visits the page I want the popup to appear. It's working fine but Firefox doesn't display the popup on page load, only when clicked. (newsletter signup) Im just starting out on JavaScript.
here's the code
Code:
var rel = popuprel3; // Here we will describe a variable popupid which gets the // rel attribute from the clicked link var popupid = $(this).attr('rel');
I am just wondering how to create a modal popup using javascript. The popup window shouldnt contain minimize,close and maximize buttons and it should be resizable? I am trying using window.open but not getting the desirable results.
I'm having some trouble implementing a popup in firefox. I attached some simplified code at the bottom. This is part of a firefox extension. What happens is that a popup window is created, the popup window updates it's data depending on what is shown on the main window. The problem comes when i click the 'X' to close the popup window. it crashes firefox, and closes all firefox windows. can somebody help me with this? why does this happen? I'm 99% sure the error comes from the form in the html code.
I'm using the following commands in a javascript popup window link and it hides everything but the status bar. Can someone tell me what's wrong? I've only tested it in Firefox and the status bar keeps appearing.
I want to create a popup which should be displayed when user clicks on add to cart button. The popup should be visible for few seconds and then be removed.. [URL]
Why are Firefox 1.5 and 2.0 no seeing this method when IE6 does"
here's the import statements followed by the function imported, followed by the script trying to create a XMLHttpRequest, followed by the in document script using the imported createRequest() function. Code:
I have one page with <select> list in it, which opens a popup with another <select> list. Those two list are linked... When I select something in the list that is in popup window and confirm the selection (by pressing button), I call a function that fills the "parent" window and forces popup to close. All this is accomplished by directly accessing another list:
for(var i = 0; i <= selLength; i++){ name = parent.window.opener.listValues.options[i].text; value = parent.window.opener.listValues.options[i].value;
self.document.form1.itemList.options[i] = new Option(name, value); }
And this doesn't seem to work with IE. With Firefox is OK.
I'm trying to create a control which when the mouse button gets pressed on one div an absolute positioned div pops up in place of the cursor. From there the cursor should interact with the dialog before the mouse button is released. In other words one element will catch onmousedown, display the popup, and the popup element will catch onmouseup. This works fine in IE as the popup automatically accepts following events, but my problem is in Firefox.
In Firefox everything behind the popup still receive events even though they can't be seen (hidden by the popup). I have to release the mouse button and then click on the popup again before it accepts the onmouseup event.
I also used a different cursor on the popup to see if Firefox recognized it was there at all. Still the cursor doesn't change until I release themouse button and move the cursor across the popup element.
I've tried focus/blur, timeout delays, hiding the first element (the one which receives onmousedown) but nothing works.
The only thing that works is hiding the entire body and then using setTimeout to show the entire body again 1ms later. Obviously though that is very ugly.
The script creates new fields with calendar in a form, if new information is added to a field and then a new field is created the information is lost in FF Live demo: [URL]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Calendar Text Input</title> <script language="javascript" type="text/javascript" src="datetimepicker.js"></script> <script type="text/javascript"> [Code]...
How can I create a popup window in a form without showing the status, menubar, location and with width of 502 and height 550?
I was doing something like this, it will popup a window, but I do not want to show the status, menubar, location, etc. The form is submitted to other site.
I have a table (tables are for tabular data) with patient information. The user can click the row to select it and when they do the right part of the interface loads some additional information on the patient - quick lookup info if you will, but also provides links to tasks involving that information - edit, view case history, etc.I'd like to replace the default right click behavior on the rows to create a pop up menu next to the point of click that links to the same list of options for the convenience of the more savvy users.The project is being built with prototype so no jQuery please. The site is a corporate intranet where Firefox is the only browser it is *required* to work in. It would be nice to have it work in webkit.
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 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