Re: modalWindow Plugin

Hi!
 
  I'm still having troubles with the plugin implementation,

ERROR: ExecuteCommand (#0, "*unknown*"):
Invalid response command: Command [{data}] is not a known command.

  Sorry again for this kind of questions, but I'd really like to use this powerful tool in my Site,

Thanks

Re: modalWindow Plugin

hey all,

ive been using the modal window plugin and i love it. i was wondering how to use javascript with it.

to clearify, i want to implement google maps but i can't figgure out how to call the javascript so it works in the modal window.

thx. _KN

Re: modalWindow Plugin

Heya all,

Quick one : is there an easy way to define the position of the modalWindow ?

I had a quicklook at the js, it's absolute positionned.
Did anyone tried to have the window opened "where he wants" ?

I am working in a pretty big div ( width = 4100px. map for a game ), and most of the time the windows get opened ....far from where I am.

Thanks for your thoughts,

-H.

Re: modalWindow Plugin

Hiho,

@fou2enve

i didn

Re: modalWindow Plugin

work perfect with 0.5 beta 4 but not with 0.5 rc1.  anyone have solution please?

Re: modalWindow Plugin

sorry, didn

Re: modalWindow Plugin

m[e]ntor wrote:

sorry, didn

Re: modalWindow Plugin

Hello,

i have released the 0.0.4 Version on my site.
Feel free to use and test it.

This version works now with the latest beta svn version and of course with the new RC1 Release.

There is one new mainfeature in this version:

You can target now other frames with this plugin. But note, within the target Frame you also have to load the xajax environment.

Best Regards

Oliver

Re: modalWindow Plugin

Oh one thing:

xajax.closeWindow() doesn

Re: modalWindow Plugin

Is this a bug?

Using xajax rc1 and modalwindow 0.0.4.  I am testing my app in IE6.

I have a page that has some select boxes on it and links that open modal windows.  I click on a link to open the modal window and within that modal window is another link to open an additional modal window.  All good so far.  I have my main page, a modal window over it and another modal window on top of those two. 

But, when I close the top modal window, the select boxes from the main page appear through to the first modal window and are functional. 

This only happens in ie6.  I'm unsure if it happens in IE7 because I'm not in a place where I can test it.

Any ideas on this?  Is it a bug?  Or is it a CSS/coding issue because it does not seem to be happening on your demo site.

Thanks!
Alan

Re: modalWindow Plugin

Another question.  I have a page that scrolls vertically.  If I scroll down after opening a modal window, the darkened gray area does not show up all the way to the bottom of the page, allowing underlying items to be manipulated.  Is there a way to make it so that the darkened gray area covers the entire available viewing area and not just what is visible on the screen at the time?  Does that make sense?

Thanks!
Alan

Re: modalWindow Plugin

Hi Harty,

thanks for that report,

i have checked that in ie6 and you are right, both, dropdowns, and the layerproblem appears in ie6.

i will check this this week and fix it.

thanks

Oliver

Re: modalWindow Plugin

The plugin is not working on a page that has an iframe.  The iframe is only used for file uploading purposes.  Nothing is being loaded through it.  Any ideas on a fix?

Thanks!
Alan

Re: modalWindow Plugin

m[e]ntor wrote:

Hi Harty,

thanks for that report,

i have checked that in ie6 and you are right, both, dropdowns, and the layerproblem appears in ie6.

i will check this this week and fix it.

thanks

Oliver

Hi Oliver!

I'm sure you've been busy.  But have you had any time to look at the ie6 and iframe issues?

Hope you are doing well!
Alan

Re: modalWindow Plugin

Hi Alan,

yes i

Re: modalWindow Plugin

m[e]ntor wrote:

Hi Alan,

yes i

Re: modalWindow Plugin

hi alan, did it work?

Re: modalWindow Plugin

m[e]ntor wrote:

hi alan, did it work?

I no longer have issues with iframes or select boxes showing up in ie6 with layered windows.  Thanks!!

But, I'm still having the issue where the gray area only covers part of the full scroll window allowing things to be manipulated below the modal window.  I have this problem in Opera and Firefox.  IE6 simply doesn't allow the user to scroll, which is fine.  IE7 covers the entire scrollable area which is what I need.  But Firefox and Opera allow scrolling and only gray out the viewable area at the time the modal window is called.  I can then scroll down and manipulate stuff underneath the modal window.

Here is a snapshot of what it looks like:

http://i496.photobucket.com/albums/rr325/harty83/modalwindow.png


My set up is that I have a floater fixed div on the left side of the window.  It goes down when the user scrolls down.

Maybe a little of how things are set up can help?

Here is an example of my template page.  Anything in {} are fields that will be filled in, but the HTML will give an idea of what's going on.

[code]<div id='fixedPanel'>
<div style="height:8%; min-height:50px; text-align:center; vertical-align:top;">
<img src="template/{logo}"><br>
</div>
<div style="height:3%; vertical-align:top;"><div id="loading"><img src="images/loadingSmall.gif" alt="" />

Re: modalWindow Plugin

could you please post your the html header of your page including the doctype?

Re: modalWindow Plugin

m[e]ntor wrote:

could you please post your the html header of your page including the doctype?

Sure it is in its entirety :-)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/quirks.dtd">
<html>
<head>
<title>Employee Scheduler</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="template/css/style.css" type="text/css" />

<!--[if lte IE 6]>
<style type="text/css">
#container {
height: 100%;
}
</style>
<![endif]-->

<script language="JavaScript" src="js/jscookmenu/JSCookMenu.js"></script>
<script language="JavaScript" src="js/jscookmenu/ThemeOffice/theme.js"></script>
<LINK REL="stylesheet" HREF="js/jscookmenu/ThemeOffice/theme.css" TYPE="text/css">

<script language="JavaScript" src="js/lib.common.js"></script>

<script language="JavaScript" src="js/jquery/jquery.js"></script>
<script language="JavaScript" src="js/jquery/jquery.confirm.js"></script>
<link type="text/css" rel="stylesheet" media="all" href="js/jquery/jquery.checkbox.css" />
<script language="JavaScript" src="js/jquery/jquery.checkbox.js"></script>
<script language="JavaScript" src="js/jquery/jquery.tablehover.js"></script>

<link rel="stylesheet" href="js/calendar/calendar-mos.css" type="text/css" />
<script type="text/javascript" src="js/calendar/calendar.js"></script>
<script type="text/javascript" src="js/calendar/lang/calendar-en.js"></script>

<script type='text/javascript' src='js/x/x_core.js'></script>
<script type='text/javascript' src='js/x/xaddeventlistener.js'></script>
<script type='text/javascript' src='js/x/xtableheaderfixed.js'></script>

<script type="text/javascript" src="js/dojo/dojo.js" djConfig="parseOnLoad: true"></script>

<script language="JavaScript">
dojo.require("dojo.parser");    
    
var addSS = false, ss = 'js/x/floater_fixed.css';
if (window.XMLHttpRequest) {
      addSS = true;
    }
else {
      /*@cc_on
      @if (@_jscript_version < 5.7) // IE6 or down
      ss = 'js/x/floater_fixed_ie6.css';
      addSS = true;
      @end @*/
    }
if (addSS) {
    var e = document.createElement('link');
    e.rel = 'stylesheet';
    e.type = 'text/css';
    e.href = ss;
    document.getElementsByTagName('head')[0].appendChild(e);
}      

</script>
<link rel="stylesheet" type="text/css" href="template/css/print.css" media="print" />

<script type="text/javascript" charset="UTF-8">
/* <![CDATA[ */
try { if (undefined == xajax.config) xajax.config = {}; } catch (e) { xajax = {}; xajax.config = {}; };
xajax.config.requestURI = "http://hartlessbydesign.com/demos/phpScheduleEm/";
xajax.config.statusMessages = false;
xajax.config.waitCursor = true;
xajax.config.version = "xajax 0.5 rc1";
xajax.config.legacy = false;
xajax.config.defaultMode = "asynchronous";
xajax.config.defaultMethod = "POST";
/* ]]> */
</script>
<script type="text/javascript" src="includes/xajax/xajax_js/xajax_core.js" charset="UTF-8"></script>

<script type="text/javascript" charset="UTF-8">
/* <![CDATA[ */
window.setTimeout(
 function() {
  var scriptExists = false;
  try { if (xajax.isLoaded) scriptExists = true; }
  catch (e) {}
  if (!scriptExists) {
   alert("Error: the xajax Javascript component could not be included. Perhaps the URL is incorrect?\nURL: includes/xajax/xajax_js/xajax_core.js");
  }
 }, 2000);
/* ]]> */
</script>

<script type='text/javascript' charset='UTF-8'>
/* <![CDATA[ */
xajax_checkSessionAndDbConnection = function() { return xajax.request( { xjxfun: 'checkSessionAndDbConnection' }, { parameters: arguments } ); };
xajax_setMsg = function() { return xajax.request( { xjxfun: 'setMsg' }, { parameters: arguments } ); };
xajax_writeNotifications = function() { return xajax.request( { xjxfun: 'writeNotifications' }, { parameters: arguments } ); };
xajax_clearNotifications = function() { return xajax.request( { xjxfun: 'clearNotifications' }, { parameters: arguments } ); };
xajax_writeWinNotification = function() { return xajax.request( { xjxfun: 'writeWinNotification' }, { parameters: arguments } ); };
xajax_clearWinNotification = function() { return xajax.request( { xjxfun: 'clearWinNotification' }, { parameters: arguments } ); };
xajax_checkEmail = function() { return xajax.request( { xjxfun: 'checkEmail' }, { parameters: arguments } ); };
xajax_checkID = function() { return xajax.request( { xjxfun: 'checkID' }, { parameters: arguments } ); };
xajax_checkName = function() { return xajax.request( { xjxfun: 'checkName' }, { parameters: arguments } ); };
xajax_checkData = function() { return xajax.request( { xjxfun: 'checkData' }, { parameters: arguments } ); };
xajax_setPage = function() { return xajax.request( { xjxfun: 'setPage' }, { parameters: arguments } ); };
xajax_confirmBox = function() { return xajax.request( { xjxfun: 'confirmBox' }, { parameters: arguments } ); };
xajax_removeMsg = function() { return xajax.request( { xjxfun: 'removeMsg' }, { parameters: arguments } ); };
xajax_redirectTo = function() { return xajax.request( { xjxfun: 'redirectTo' }, { parameters: arguments } ); };
xajax_loginCheck = function() { return xajax.request( { xjxfun: 'loginCheck' }, { parameters: arguments } ); };
/* ]]> */
</script>

<script type='text/javascript' src='includes/xajax/xajax_plugins/response/modalWindow/modalWindow.js' charset='UTF-8'></script>
<script type="text/javascript" >
function kH(e) {var pK = e ? e.which : window.event.keyCode; if(pK == 13) document.getElementById("loginBtn").click();} document.onkeypress = kH; if (document.layers) document.captureEvents(Event.KEYPRESS);
</script>
<script type="text/javascript">
xajax_checkSessionAndDbConnection();
xajax.callback.global.onRequest = function() {xajax.$('loading').style.visibility = 'visible';}
xajax.callback.global.onComplete = function() {xajax.$('loading').style.visibility='hidden';}
</script>

</head>

I again was able to customize modalWindow to work for me by comparing the offsetHeight of the container div to ScrollHeight and using the greater value.

Re: modalWindow Plugin

mmh kk quirksmode ... i didn

Re: modalWindow Plugin

m[e]ntor wrote:

mmh kk quirksmode ... i didn

48 (edited by kryu2 2008-10-04 4:01:39 PM)

Re: modalWindow Plugin

m[e]ntor wrote:

I have updated the plugin on my page. The new Version 0.0.5 is now available.

Hi m[e]ntor,

I could't find the new version 0.0.5 on your site.

I got following error on my project. So I want to try new version.
(Sample projects were work fine.)

--
ERROR: ExecuteCommand (#0, ):
Invalid response command: Command [{data}] is not a known command.
--

Could you please tell me where I can get it.

This is the great plugin!!
Thanks.

Re: modalWindow Plugin

Hi m[e]ntor,

I fixed the problem.

I just change order of call configure procedures.

* before
$xa->configure('javascript URI', 'lib/xajax/');
require_once(LIB_DIR . 'xajax/xajax_core/xajaxPluginManager.inc.php' );
require_once(LIB_DIR . 'xajax/xajax_plugins/response/modalWindow/modalWindow.inc.php');

* after
require_once(LIB_DIR . 'xajax/xajax_core/xajaxPluginManager.inc.php' );
require_once(LIB_DIR . 'xajax/xajax_plugins/response/modalWindow/modalWindow.inc.php');
$xa->configure('javascript URI', 'lib/xajax/');

Actually fixed. But?I don't know why.

Thanks.

Re: modalWindow Plugin

@harty i have checked the script with the strict header and i see no problems there ( ie6/7 ff3)
i think its a problem of your html code and what you trying to do there

i have checked the plugin now with a page that scrolls and a small window and the other case was to check it with a small page and a modalwindow which is longer than the page

both cases looks fine

Posts: 26 to 50 of 91

Pages Previous 1 2 3 4 Next

You must login or register to post a reply

xajax Forums → Third party plugins → modalWindow Plugin



Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.