User Profile
Collapse
-
well found out what the issue was. In ie, the popup was being created with an iframe to get around the select drop down issue. For whatever reason, calling the toggle method from the cancel and save onClick events was not properly removing the iframe. I had to manually get a reference to the iframe through the dom and then explicitly remove it in the save/cancel event handlers. -
I'll see what I can do but as I'm hand transcribing this there are no guarantees that it'll be bug free ;-D
relevant sections of popup creation/toggling code:
...Code:initialize: function(popup, activateEvent){ this.popup = popup; this.bodyClickEventListener = this._onBodyClick.bindAsEventListener(this); var activator = this._findActivator();//finds the element directly before the popup and makes thatLeave a comment:
-
Hidden popup blocking out form fields
Well I hope I this isn't too nebulous of a problem. The problem I currently have is this:
I have a button in a form that opens up a javascript/css poup that has an input field and two ahref links for ok and cancel, both of which call the popup's toggle() method (same thing that is called from the button). The form that this button is in has fields that can be added or removed by the user.
Everything works great in firefox... -
well, ended up figuring this one out after some more hacking,
added the following:
...Code:var yOffset if (self.pageYOffset){// all except Explorer yOffset = self.pageYOffset; } else if (document.documentElement && document.documentElement.scrollTop)// Explorer 6 Strict{ yOffset = document.documentElement.scrollTop; } else if (document.body){ // all other ExplorersLeave a comment:
-
center a css popup in the browser using javascript
What I'm trying to do is to display a loading screen while an ajax request executes. I have a page that is fairly long with several tables worth of data and the sorting/pagination of each table is handled by ajax requests.
I'd like to have a css div that is displayed in the center of the browser window when a user selects an operation that kicks off an ajax request.
What I have thus far is a div that shows up in the...
No activity results to display
Show More
Leave a comment: