I'm using the window script here
http://interface.eyecon.ro/demos/windows.html

It works fine on one of my implementations, but on another when I
click to trigger the window, the first time it works fine.. but when I
close it... it appears to close twice, by flickering.. then when I
open it again, it opens several times..

I get this error:
jQuery.transferHelper has no properties
(no name)()jquery.js (line 22)
e()jquery.js (line 11)
(no name)()jquery.js (line 22)
(no name)()jquery.js (line 22)
[Break on this error] undefined

This is my code....

JS
                        //View Groups
        $('#viewGroups').bind(
                        'click',
                        function() {
                                if($('#viewGroupsWindow').css('display') == 
'none') {
                                        $(this).TransferTo(
                                                {
                                                        to:'viewGroupsWindow',
                                                        className:'transferer2',
                                                        duration: 400,
                                                        complete: function()
                                                        {
                                                                
$('#viewGroupsWindow').show();
                                                                
$("#viewGroupsWindowContent").load("templates/forms/category-
groups.php");
                                                        }
                                                }
                                        );
                                }
                                this.blur();
                                return false;
                        }
                );
                $('#viewGroupsWindowClose').bind(
                        'click',
                        function()
                        {
                                $('#viewGroupsWindow').TransferTo(
                                        {
                                                to:'viewGroups',
                                                className:'transferer2',
                                                duration: 400
                                        }
                                ).hide();
                        }
                );
                $('#viewGroupsWindow').Resizable(
                        {

                                dragHandle: '#viewGroupsWindowTop',
                                handlers: {
                                        se: '#viewGroupsWindowResize'
                                }
                        }
                );





HTML


<div class="window" id="viewGroupsWindow">
<div>
        <div class="windowTop">
                <div class="WindowTopLeft"></div>
                <div class="windowTopMiddle"></div>
                <div class="WindowTopRight"></div>
        </div>
        <div class="clear"></div>

        <div class="windowMiddle" id="viewGroupsWindowTopContent">
                <div class="windowMiddleLeft"></div>
                        <div class="windowMiddleMiddle">
                                <div class="windowBar"  
id="viewGroupsWindowTop">
                                        <h2>Edit Groups</h2><img 
src="images/close.gif"
class="closeImage" id="viewGroupsWindowClose">
                                </div>
                                <div class="windowMiddleContent" 
id="viewGroupsWindowContent">
                                        Loading...
                                </div>
                        </div>
                </div>
        </div>
        <div class="windowMiddleRight"></div>
        <div class="clear"></div>

        <div class="windowBottom">
        <div class="WindowBottomLeft"></div>
        <div class="windowBottomMiddle"></div>
        <div class="WindowBottomRight" id="viewGroupsWindowResize"></div>
        </div>
        <div class="clear"></div>

</div>
</div>




Any help would be awsome... thank you!!

Reply via email to