I'm trying to figure out how to tackle this problem: I have an XML
table with a cool grid in which users can select a table row. When
they right-click on a cell, they get a modal dialog window with a
selection menu. What I want this thing to do is display the different
values in the row, so that users can make a selection: eventually I
want it to be a filter option > in the selection menu, users can
select the value on which they want the whole table to be filtered.
However, I'm seriously lacking js-skills so I don't know how I should
pass the values from the table row to the selection menu. Code:
Within an aspx page, I have a form with asp controls (text boxes) that I'm loading within a jQuery modal popup dialog. Once the user fills out the form and the register button is clicked in the modal form, it invokes a code-behind function, which seems to be working fine. However, the problem I'm facing is in the code-behind function; none of the field values in the modal popup form are being passed to the code-behind function.I was unable to attach some snapshots directly to the post, so I uploaded it at the following urls:
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...
Is it possible? Say We have a list of suppliers link like
A supplier B supplier
when right click on a supplier, a context menu(that has "details","view products", etc) appears and click on "view products for this supplier" this click will redirect users to products page showing all products from the supplier.
So href should look some like this <a href="RightClicked(ཆ')">A supplier</a>
<script> function RightClicked(supplierID) { // don't know I am making this up here if (viewDetailsClicked) ShowDetails(supplierID); else if (viewProducts) ShowProducts(supplierID) etc .. } </script>
I wanted to know the property difference in a normal window and a modal window.
Situation :- I have a error page to be displayed. I want to display a different button on it if the window is modal. So for this i need a property that will distinguish between a normal window and modal window.
I tried to get the parent window using window.parent but it returns an object which i am not able to print (as to know what is coming).
I have a form with an number of quite long drop down select menus in table rows.
The problem is if the user selects one of the last options in the select menu they are taken to the a different row lower down on the form - which is a little confusing.
What i really need to do is present some the values in a popup modal box and then allow the user to pick a value and keep them in that input field. It would be a lot like the jquery date picker jQuery UI - Datepicker Demos & Documentation but with numbers like 0,1,2,5,10,15,20 ect to pick from and populate the input field.
I am a bit short of time so i was wondering if anyone knew how to do this quickly - surely its a problem others have come across?
I'd like to know if there's a way to invoke a modal window, that is a window that make impossible for the parent to get the focus, and returns back to the opener a value.
My goal is to make an anchor that opens another (little) win with a representation of the remote content in a personal directory on the server. Once you click on a file, it makes the parent window display its name into a form.
If I did not want to generate this filesytem representation, maybe a simple "prompt" could satisfy my request... but I need something more, so I'd like to extend this concept customizing the return-value-text-field!!
I'm a newbie in mozilla web development. I've been developping apps for IE and Netscape for years though. After searching the internet (groups google etc..), I found a way to pop a modal window using a XUL page.
Here is my question: despite seing examples of how to return a value to the caller window, I have been unable to make this work. Is there anyone who would have a TESTED very simple example on poping a modal window that would receive one argument and would return a result?
I want to use this to pop a calendar page and return the date chosen. I have the code for the calendar, but I need the mechanism to get the date back. This window has to be modal by requirement.
i have a one main window from that window i am opening one modal window using showmodaldialog(m.jp...).
in that modal window i have a form. when i click save button in the form, the for has to submit and the modal window has to close. and the parent window have to refresh itself. Code:
I have a javascript, calendar.js which i use to enable my client to select the date. This calendar pops up on the click of a gif image. But the problem is that this poped up window is not modal in nature(i do not want the user to go the parent page unless he selects some date in the calendar popup).
In the javascript calendar.js he has used window.open() function to pop up the window. i just want to know whether we have any attribute which when set to yes will make the window behave modal in nature.(just like resizable="yes",toolbar="yes", do we have modal="yes" ?)
i checked modal="yes" and it does not make the window behave modal in nature. Am i using the wrong attribute name?(modal="yes").
Do we have such attribute. If not what are my other options.
I know that we can use window.showModalDialog(), but i need to modify the window.open() function to make the window behave modally. Is it possible to do so?
I was wondering - Is it possible to display a modal window (Preferably one which can display HTML and not just images) when a user hovers over a link, as opposed to a mouse click?
What I would essentially like to do is create a "menu" button/link which when hovered over would bring up a full page modal window with clickable content inside of it.
I've been browsing the 'net for a solution/example but the only one i've found so far is made in Flash. For an example of what i'm trying to achieve, take a look at [url] (Flash based site)
point me in the right direction as to where I can find a javascript modal window image viewer that allows html in the caption area? It seems like I've been searching forever and can't find anything that natively supports it.If one doesn't exist, then maybe point me in the direction of adapting one? My js knowledge is a little limited.
I am trying to resize a modal window so that its dimensions will be minimal (based on its content). For some reason, I am getting a weird result Here is the JavaScript function I am running in the window's onload event:
function resize() { var height = window.document.body.scrollHeight; var width = window.document.body.scrollWidth;
var left = screen.availWidth / 2 - width / 2;// center window horizontally var top = screen.availHeight / 2 - height / 2;// center window vertically
window.dialogLeft = left + "px"; window.dialogTop = top + "px";
I believe that I need to do these calculations because only in onload, the browser knows what dimensions it will need for the popup window. I cannot set the dimensions when invoking the window using window.showModalWindow(), because I don't know at that time how much area the browswer will need for the window.
The problem with the calculation I am doing is that sometimes I am getting an extra gray area between the client side right side, and the window's sidebar... I have attached an image to make my point more clear. I think there is a minimal limit on a modal window width and height but I am not sure.
Is there any way to create a Modal window that appears when someone is about to leave a my website? I would like to try and gather feedback from visitors leaving a particular page that has a very high bounce rate, and would like a pop-up window that contains quick survey question, but I would only like this to appear when they're about to leave the website.
I use a .NET server but we have .php installed as well.
How would I disable the 'Do Something Else' button within the JQuery Modal Window based on a boolean value. Say my boolean is IsButtonDisabled, how would I then use this with the buttons section below. IsButtonDisabled would be set to either true or false before the following code executed but the code would be executed several times in a session and each time IsButtonDisabled could be different.
i used soh tanaka inline modal window which is a popup window like lightbox. But it failed to work with IE9 RELEASED CANDIDATE VERSION. why is it having issue with a better version of explorer. I have made a video to show the error, as to make it more easy to explain what i am saying. here is the link to it [URL] i would look forward to the replies.
I am a visual designer that can usually install pre written code without to much difficulty. And, indeed I have installed FancyBox
I am working with a dynamically generated page written in ColdFusion. Three divs on the page contain FancyBox links that open editing screens. Once editing is complete and the user closes the FancyBox modal the changes need to be reflected on the parent page.
Right, so I was able to find a solution that refreshes the entire page
to refresh the entire parent page. But, that causes a browser prompt that is confusing to users and a bit of over kill as I really only need the information edited to refresh.
How, oh how can I get just a single div to refresh "onClosed" as apposed to the entire page?