active

When click on tools div button (:active) works fine in Firefox but not in IE!

This code works fine in Firefox but not in IE, please give a solution only using CSS (No jquery or javascript), the problem begins when you click on the span inside the DIV! <style type="text/css"> .tools { cursor:pointer; } .tools { background-color:#aaa; padding:5px; } .tools span { background-color:green; color...

Rails ajax form entry shown twice

Hello I want to write a small blog with Ruby on Rails (3), with posts and comments submitted via a ajax form. But when I submit a comment it is often shown twice, and I got no idea why. when I write @post.comments.uniq in the _create.js.rjs file, it works fine but this seems not to be a clean solution. When I reload the page without aja...

Subsonic 3.0.0.3 throws System.InvalidOperationException: Timeout expired.

Dear all, I've set up my system with .NET framework 3.5, SQL server and Subsonic 3.0.0.2. I've added the subsonic files in Visual Studio. The first time I try to update my file(s) with "Custom Tool" within Visual Studio is successful. But when I try to do this several times I get the error: I've updated subsonic to 3.0.0.3, but still ...

Connection pooling in System.DirectoryServices.Protocols (S.DS.P)

I'm struggling with System.DirectoryServices.Protocols (S.DS.P) in an ASP.NET Helpdesk application to manage users and security groups. I want to implement connection pooling for my LDAP connections and I can´t really find any good articles or information about successful patterns for solving the problem with too many TIME_WAIT TCP co...

jcarousel - how can i make an image link in the carousel stay active

Have been succesful in adding a jcarousel to navigate around my html site which is built with dynamic template. However, i need an image link to appear active when i am on the page it is linked to so the viewer knows where they are. Also, whenever i go to a new page the jcarousel goes back to the beginning of its scroll position when i n...

Drupal Create Dynamic Menu with an Active Trail Property

Hi there, I want to create a dynamic menu that will get it's items from a certain node type. I thought I could do this by creating a view of the titles and putting it in a block. However, when someone clicks on one of these titles I want to highlight it, and so want a way of adding an active class to the link. I know Drupal does this au...

Take a screenshot of the active window in mono

Hi, is there a way to take a screenshot of the active window using mono under Linux ? Thanks in advance Mike ...

how to remove user account from active directory in asp.net

Hi All, how to remove user account from active directory programmatically in asp.net? Please help me id this. Regards, Abhimanyu ...

Getting user password from Active Directory

I am using active directory in my ASP.NET project and whenever user register in the site,an account is created in AD. There is an Forgot Password link.Is it possible to get user password from AD.I can get the name or email, but I don't know if I can get the password. Regards, Abhimanyu ...

how to query changes in Active Directory including deleted objects?

I am using below code to query changes to users/OUs in AD. But it doesn't retrive any deleted objects, Any idea how to include deleted objects in this ? static void Main(string[] args) { BinaryFormatter bFormat = new BinaryFormatter(); byte[] cookie = null; string strFileName = "cookie.bin"; ...

Active menu class for current page

Hello, i'm making portfolio site template. I have problem about "active link" for my full ajax site. When i open url (http://bit.ly/d5qNeN) directly, url doesnt come up with addClass function. How can i add 'selected' class for directly opened urls? Here is my jquery code, which adds 'selected' class to my navi bar. $j("a[rel=...

working with active and hover links in css?

i have this li list , but i want to know how to have the current page link have a background of white,(li:active) css: #layout-three-liquid2 #section-navigation ul { margin: 0; padding: 0; } #layout-three-liquid2 #section-navigation ul li { margin: 0 0 0em; padding: 0; list-style-type: none; } #layout-three-liquid2...

Testing Username / Password against Active Directory Domain in VBScript?

I need to test a username and password pair against a given domain in a VBScript. The script will know the username, password, and domain against which it needs to check for access, and all I need returned is a true or false as to whether the account is valid. Can anyone suggest a good way to accomplish this? Thanks! ...

Addclass to link in jquery.

I have made a menu that gets subpages with ajax and it works as it should. And now I would like to add a class to the link that was clicked, so I can display an active state on that link? This is what I have: $(document).ready(function(){ loadPage(); }); function loadPage(url) { //loads the menu $('#guiden...

How to read Windows loged in username with PHP/IIS

Hello I am runnig a network. Here I have a domain controller (DC) I just installed IIS6 , PHP and Mysql on it. every thing is working fine.:) Now I want to bring up a script on this local website. The first problem is that I want to detect which one of network users (active directory users) are logged in with PHP. I mean it is enough f...

Deleting a Mac user account after logout

Hello, I am developing an image for a maclab, and I am running into an issue with Snow Leopard. We have set up the machines on active directory so network users can login, however after they logoff their user folders are still in there and I am not really sure how to go about auto deleting there information from the Mac machine. ...

-2147016672 "An operations error occured" System.DirectoryServices.AccountManagement

Uisng this code ArrayList myItems = new ArrayList(); UserPrincipal oUserPrincipal = GetUser(sUserName); PrincipalSearchResult<Principal> oPrincipalSearchResult = oUserPrincipal.GetGroups(GetPrincipalContext(sOU)); foreach (Principal oResult in oPrincipalSearchResult) { myItems.Add(oResult.Name); } return myItems; I am getting an...

Foreground Vs Active window

In Windows, what is the difference between foreground and active window? To be specific, under what circumstances can a foreground window not be an active window? If the 2 terms are referring to the same concept why there're 2 terms. The msdn documentation here mentions "clicking a window, or by using the ALT+TAB or ALT+ESC key comb...

IE hover/focus/active anchor and span, no javascript

Hi there, currently trying to create the best anchor with background image, hover and active stages. Here is what i have for this moment. It works fine in all browsers except in IE if I press on span (15px left side works fine as it is anchor). Here is example link text . Any ideas? I want to keep current code, no absolutes, no javascri...

I am not able to FTP to a FTP server.

I am not able to FTP a file from Iphone device(with wifi) to remote FTP server. Most of the times, i am getting "stream open error" and very few times, the file is getting FTPed. But while checking FTP server, the uploaded file is empty i.e the file size is 0 bytes. But the file which is uploaded has some definite size. Note: i use acti...