JQuery :: Can't Remember A Window On Website That Expands With Option To Close It?
Jan 9, 2012
You know when you go to a website, and you see a window that expands with content in it. It also gives you the option to close it. What do you call this window? I forgot, but told myself I would go back and learn it.
View 3 Replies
ADVERTISEMENT
Jan 20, 2010
I have a popup window. When a user click 'x' on the upper righthand corner to close the window, I want to display and message with yes or no option. Would you let me know how I can do this?
View 15 Replies
View Related
Jan 9, 2009
currently on our site we have and expanding <div> that responds to both the onmouseover and onmouseout events. It works wonderfully.
The UX people now would like the expanding <div> to open with the onclick event and then as soon as the mouse leaves the expanded div, it would close. I have tried using the onmouseout event in conjunction the onclick event but it does not work (the div persists).
View 1 Replies
View Related
Apr 5, 2009
I need to know if the user close the browser or to open the window � browser without or with a disable close window button How can I???
View 6 Replies
View Related
Jul 20, 2005
I want to trap the window.close() event when the user clicks on the close button of the browser using javascript. Can anyone shed light on this problem ?
View 1 Replies
View Related
Nov 3, 2011
My mission: Open/collapse TD cells based on items selected in a list box. Getting no response from jQuery so I've done something wrong but cant quite get there. Listbox 'mainselect' contains option values that refer to names of TDs in a table. When a mainselect option is clicked, it will toggle to open or close the referenced TD list box by option value. Does hide/show make a TD 'blank' or actually set it's width to '0'? I want it to close, moving other cells left.
<html><head>
<script src="jquery-1.6.4.js"></script>
<script>
$(document).ready(function() {
[Code]....
View 2 Replies
View Related
Feb 17, 2011
I need to remember the time when user closes the window and later when he/she comes back, site will highlight latest news that happened when user was offline. So far the best solution I have found is jquery.unload (since I use jquery): it sends some data to php script (which remembers the time) via ajax when unload event triggers, so is it the best way to solve this problem?
View 1 Replies
View Related
Jan 29, 2010
I have a HTML and I am opening another link in a separate window using window.open() . The child window is something like 'http://yahoo.com' which is out side html. I need to refresh the parent window when the child window is closed.
View 4 Replies
View Related
Oct 11, 2006
Most of the browsers has a feature that prompts the user to save the username or password when filling a form.
I just want to disable this feature. Can i disable this feature using Javascript?
Because there are some users that will not read on the message or information on the pop window that prompts them to save the username and password. I know it can be disabled manually through the browser's preferences.
Is it possible to disable it using javascript?
View 2 Replies
View Related
Apr 7, 2010
- I have a button on my Flash site that opens an HTML page in a popup window. In Flash, I open the new window using Actiosnscript 2.0:
- Within the popup window are links to other HTML pages. They all open in the same window. I've been using the following to create the links in Dreamweaver:
- On each page, I have a "Return to Main Menu" button that should close the popup window. To do this, I have been using:
- The problem is that it works differently in each browser, and I can't even get it to consistently close the window in most browsers:
Internet Explorer = popup message appears, asking "Are you sure you want to close this window?" or something similar; window closes after clicking "Yes."
Safari = Only closes if I'm on the original HTML page. If I click on any of the other links (note that these all open in the same window), those pages' "Return to Main Menu" buttons cease to work. However, if I keep clicking "Back" until I get to the original page, it closes.
Opera = Button actually works for each page.
Firefox & Chrome = Does not close the window at all.
I looked into it and saw that others have used a window.opener to solve similar issues. But, since my popup window is opened using Flash/AS2, I need to find a way around it.
I've tried preceding "window.close()" with "window.opener=null" (i.e. -onClick="window.opener=null; window.close()"), but I don't think I'm doing it right because it still doesn't work.
I've also seen others use codes that involve functions and variables, but it is beyond my current coding knowledge to implement this. Like I said, I'm sort of new at this.
View 5 Replies
View Related
Sep 19, 2010
I have an advert banner in the header of my web page. When the end-user rolls over it I want it to expand/drop-down to display further information about the advert. This is commonplace in rich-media adverts but I can't find any tutorials or resources to get me started[URL] Here's an image of what I'm trying to achieve:
View 3 Replies
View Related
Jun 9, 2010
I've got a project that slides vertically in conjunction with the nav menu. I've also got a scroll bar setup, in case the user has javascript is disabled. Both them work correctly, independent of each other; page slides or scrolls. But, I noticed that when I use the nav menu to navigate, the scroll bar gets bigger and fills the entire side instead of moving with the page.
View 2 Replies
View Related
Jan 30, 2010
I was wondering if anyone knows how you would create a link when clicked will change the width of the content.
I have a feeling this will use jQuery?
E.g.
A link saying 'expand' will change the width of the body to 1000px and change the link to 'contract'.
When the link 'contract' is clicked it will change the width back to 800px and change the link to 'expand'
View 3 Replies
View Related
May 13, 2009
I am trying to give the client an option of having a blog set up withtheir website by using a select tag and some javascript.Problem is the js is not updating the variable - so I must have got something wrong.This is my select code ( it uses a bit of php at the top of the page) :
$N_blog_cd = "n";
$blog = array(
"y"=>'Yes',
[code]....
View 6 Replies
View Related
Jan 29, 2006
I need a script that will open a new window (popup / new link) in a specific size, but will also close the old window (where the popup came from). I know the popup window is easy but finding a work-able close window script as the new window is opened is impossible!!
View 3 Replies
View Related
Apr 1, 2010
I've got an accordion menu that expands and collapses fine, but when I click on the links contained in the lists within the links don't open.
JavaScript snippet:
Code:
And the code for the lists:
Code:
If I remove the return false, the inner links work fine but it appends a '#' to the end of the URL in the address bar and I'd rather it didn't do that. How can I alter the jquery so the inner links still work but the links with the '#' as href don't append the '#' to the end of the page URL?
View 4 Replies
View Related
Feb 1, 2010
I have an HTML page where I am opening a child window using window.open. the child window is something like yahoo.com. I want to refresh the parent window when the child window is closed.
View 1 Replies
View Related
Oct 5, 2009
I'm trying to close a browser window.. using windows.close().. but its not working...
View 4 Replies
View Related
May 3, 2009
I'm trying to create code to close the child window I'm creating if the parent window is closed. Here's my code so far:
function openWindow() {
var newWin = window.open(); // open the new window
newWin.document.write('<h1>Child Window</h1>
[Code]...
The above openWindow function is used in this event: <input type="button" name="btn" onclick="openWindow()"value="Open a new window" />
I can generate the new window fine. I just can't close it if the parent window is closed.
View 1 Replies
View Related
Nov 26, 2010
I have parent page with 10 child window and i want to close all child window when click on close session button on parent but first i need to check whether any child window open or not after that action should be done for close the child window.
View 4 Replies
View Related
Nov 2, 2004
I have a product that has many features. Clicking on a feature opens a popup window with explanation. There is a js Close Window link in each. All is fine so far.
Now in one popup window there is a reference to a different page of the main website. Is it possible to have a single text link both CLOSE the popup AND go to a new page in the parent window?
View 3 Replies
View Related
Nov 29, 2010
I want to close all child window with parent window. First i want to detect whether any child window open if open then it should be close after click close button on parent window.
View 8 Replies
View Related
Apr 5, 2011
We have a bit of a baffler as to why the Close X is not visible when using the Thickbox module.
Here's a live example of what I mean. Go to: [url]
Click on the Size Chart link next to the product's options. The popup comes up fine but unless the visitor is psychic they wouldn't know they have to mouseover the top right corner of the popup window to get the X for closing to display. The obvious problem is that the customers panic and close their entire browser after saying a few curse words.
We can't figure out why the X isn't displaying properly (basically not displaying at all).
View 1 Replies
View Related
May 16, 2009
I am using the following code in to open a pop-up window (in Flash hence the actionscript tags ..):
This is working fine. My problem is how to close this window from other pages on the website.
I have tried:
And it is not working. What would be the correct javascript to use to close the pop-up window that is opened using the code above?
View 4 Replies
View Related
Aug 1, 2009
I have seen this script a few places, not sure it was jquery but I figured it was.
I am looking for a script that opens a lightbox when someone moves the mouse over to close the browser window or change the url or type in the search bar, a lightbox pops up.
I spend a bit of time searching and can't find the script.
View 1 Replies
View Related
Jul 20, 2005
I need a popup window to close after 10 seconds. I have 2 ideas, and
neither work.
<META HTTP-EQUIV='Refresh' CONTENT=ཆ
URL=javascript:this.window.close()'>
or...
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function closeWin() {
window.close();
}
// End -->
</SCRIPT>
</head>
<body bgcolor="#ff0b11" onLoad:"javascript:closeWin()">
View 1 Replies
View Related