active

Simulating :active with jQuery

For hover, I do this: $('.btn').hover(function (event) { $(this).toggleClass('hover'); }); Is there any similar workaround for :active? Need it for the damned IE6. Thanks! ...

How to get/detect the active UIImageview in UIScrollview?

Dear all experts, I need to use 3 UIScrollView to Display images with 3 parts, Head, Body and Leg, and before the game start, the UIImageView will be displayed randomly in UIScrollView. User have to scroll them to match it as a Person. I use three Array: headArray, bodyArray and legArray to store the image name; and Then addsubview to...

Group information for Microsoft COM Principal

Java programmer in a COM world, apologies in advance if the terminology isn't quite right. My Java app is going to receive a message from a COM component written by some folks who are COM developers. They want to include in the message some Principal information. On the basis of that information I'm going to make an authorisation decisi...

.NET : Set Active Directory security via Web.config only

Our application requires Active Directory for users to access it. Our goal is to split the business logic and the security. Here is what I try to do but did not succeed yet : 1) Connect to Active Directory via web.config. 2) Specify groups needed for each .aspx page in the web.config file. (e.g.: index.aspx = admin, users) 3) Redire...

MySQL active connections at once, Windows Server

Hi, I have read every possible answer to this question and searched via Google in order to find the correct answer to the following question, but I am rather a novice and don't seem to get a clear understanding. A lot I've read has to do with web servers, but I don't have a web server, but an intranet database. I have a MySQL dsatabase ...

Swing active rendering efficiency or how to combine active rendering with gui widgets..

Hi folks, Continuing from a previous question, I keep searching for the optimal way to combine active rendering with textfields in Java. I tried several options, using BufferStrategy, VolatileImage or overriding update() and paint() in standard AWT, but I ended up using Swing. I'm posting the current state of affairs here just in case...

LDAP ModifyAttributes by email

I need to modify the attributes on an existing record in LDAP. It seems like the only way tI can get the record is by using a lookup with: ctx.modifyAttributes(CN=Joe blue,cn=user,DC=foo,DC=com" , mods); But I need to get it by email (or login for that matter). I have tried several variations but get a naming exception, for example: ...

Links and Image Links move down sometimes when active

I have page with a bunch of links. The user is to click on the "Pick" link or the red X image. It works just fine. However, sometimes, the "Pick" links and red X image move half-way down when active. This only happens when they are clicked on and active. In these images, I am clicking and holding on the links: While just annoying ...

how can i know the active configuration of the iphone/ipad when compiling ?

I have an iphone app that consumes a web service. i have a dev version and a prod version of that web service. i use the dev version when the active configuration is set to debug and i use the production one when the app is set to distribution. is there a way to know the active configuration value in order to use the proper url of my web...

Getting jQuery tooltip to have a tip start as active when page first loads

Hi - I'm using the jQuery tooltip plug in on an image map. When a part of the image is hovered over, the tip appears. This is activated with the following code: $(function() { $("map > area").tooltip({ positionLeft: true }); }); </script> The html for the image map is set up like this: <map name="Map"> <area shape="rect" coords="...

Getting selected item in active window

I am using C# to develop an application that works with the clipboard, an was wondering if its possible to get the contents of what the user has selected in the current window, no matter what window it is (e.g. could be FireFox, notepad, etc.). ...

Using jQuery to assign an active class to an area tag (image map)

Is there a way, through jQuery, to assign an active class to an area tag within an a map? I have a bunch of areas defined like this: <map name="mappy"> <area shape="rect" coords="162,105,179,136" href="#" title="Unique Title 1" alt="Unique Title 1" /> <area shape="rect" coords="205,72,222,101" href="#" title="Unique Title 2" ...

Active directories having problem

We are on a domain and we have an active directory implementation on our network. Now, we have expanded our network and added a back up domain controller on the network. Now, all the machines and user profiles are actually fetching their data from a DFS share instead of Domain controller itself. So we had to change all the configurati...

assigning css class to a linkbutton when clicked in asp.net.

Consider i have 3 linkbuttons on a page, <asp:LinkButton ID="LB1" runat="server" CssClass="regular" OnClick="LB1_Click"> Today</asp:LinkButton> <asp:LinkButton ID="LB2" runat="server" CssClass="regular" OnClick="LB2_Click"> Today</asp:LinkButton> <asp:LinkButton ID="LB3" runat="server" CssClass="regular" OnClick="LB3_Click...

RoR - PayPal ActiveMerchant - Making a Refund

Hi All, I can successfully make a direct payment to paypal using ActiveMerchant in RoR. How can I make refund to a transaction? Thanks, Imran ...

Java Ganymed ssh tunnelling... How to check that a tunnel is still open?

I have an ssh tunnel created with Ganymed's LocalPortForwarder class. It's working fine. The question is how (programmatically in Java) do I check that the tunnel is still open and active? For reference, here's the code snippet that creates the tunnel (error checking removed for brevity's sake): Connection conn = new Connection(remoteH...

UserPrincipal.FindByIdentity Permissions

I'm attempting to use the .NET System.DirectoryServices.AccountManagement library to obtain the UserPrincipal for a particular Active Directory user. I've got the following code: PrincipalContext context = new PrincipalContext(ContextType.Domain, "DomainName"); userPrincipal = UserPrincipal.FindByIdentity(context, IdentityType.SamAccou...

Active Directory LDAP query result always missing attributes that are known to exist

Hello, This is a problem Im currently stumped on, a user profile has an attribute 'EmployeeID' that appears when viewing that user with AD Explorer, so data exists, eg value of 12345. Now when I pull that user profile via LDAP, using a tool like Apache Studio, most attributes are returned, but not all, eg EmployeeID. I've experienced t...

WPF : How to refresh model data values only when binding is active?

Hello everybody, I'm working on a application which is communicating by network to monitor another application's variables. The remote application has loads of variables, and I want to transfer only the variables that I'm currently watching on my user interface, to avoid overloading the network. I try to keep the architecture of my a...

Tomcat + LDAP issue: socket closed on connection.

I'm trying to configure Tomcat to connect to an LDAP server on our network, and I'm getting the following error: javax.naming.ServiceUnavailableException: xx.xx.xx.xx:636; socket closed at com.sun.jndi.ldap.Connection.readReply(Connection.java:419) at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:340) at com.sun.jnd...