Question : function not opening

hi experts
i am trying to open a function from a onpress call. the function however, does not open. there is no errors being reported in firebug or elsewhere. i would be grateful if someone could show me why this is not working. all js and css files are included in html page. many thanks
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
{name: 'Add', bclass: 'add', onpress : openFancyBox},
{separator: true},

script
---------------------------------------------------
<script type="text/javascript">
function openFancyBox()
{
   $(document).ready(function()
   {

      $("#fancy").fancybox(
      {
         'scrolling'		 : 'no',
         'titleShow'		 : false,
         'onClosed'		 : function()
         {
            $("#login_error").hide();
         }
      }
      )
   }
)
}

</script>

html form
--------------------------------------------------------

<div style="display:none">
<div id="fancy" style="width:400px;height:100px;overflow:auto;">
	<form id="login_form" method="post" action="">
	    	<p id="login_error">Please, enter data</p>
		<p>
			<label for="login_name">Login: </label>
			<input type="text" id="login_name" name="login_name" size="30" />
		</p>
		<p>
			<label for="login_pass">Password: </label>
			<input type="password" id="login_pass" name="login_pass" size="30" />
		</p>
		<p>
			<input type="submit" value="Login" />
		</p>
		<p>
		    <em>Leave empty so see resizing</em>
		</p>
	</form>
</div></div>

Answer : function not opening

In 2008 server you have the new group policy options to play with.  Look under - User config -Preferences - Control Panel Settings - Internet Settings. RIght click new (choose ie version) then enter your homepage(s) in. Hit the last tab - common - tick item-level targeting and press the targeting button.

From here you can define what this policy applies to e.g.

New Item - security group - select domain users -ok

then to exclude individuals

New Item - user - select user account then hit - item options and change to 'is not'

Your xp and vista clients will need the group policy client side update installed

http://support.microsoft.com/kb/943729
Random Solutions  
 
programming4us programming4us