<ul>
<li><a href="#">item 1</a></li>
<li><a href="#">item 2</a></li>
<li><a href="#">item 3</a></li>
</ul>
On click, I'd like to addclass active to the parent li element while also removing the active class from any other element which may be active already.
Thanks!
...
where could i find list of attribute of an object to use in IDirectorySearch::GetColumn()
i need all of attributes
...
In ActiveRecord how can we update a record without worrying/knowing primary key.
If I do
Address.update(15, :user_name => 'Samuel')
it corresponds to
UPDATE addresses set user_name = 'Samuel' where id = 15
but what if i want to do:
UPDATE addresses set user_name = 'Samuel' where cid = 15
what will be the ActiveRecord equival...
Hi! I am using VBScript in a Manifold GIS Database to verify the distance between two longitude and latitude points using Trig function. The script for finding the distance run without any problems but the script for verifying whether the O-D is valid had syntax error. I really hope any of you could help me with this problem.
There were...
I want to search for a user's email by using Active Directory. Available is the user's full name (ex. "John Doe" for the email with an email "[email protected]"). From what I've searched, this comes close to what I'm looking to do -- except that the Filter is set to "SAMAccountName", which is not what I have.
Unless I'm misunderstandin...
I need to configure MS AD for using with Cognos 7 series. According to documentation, Base Distinguished Name (Base Suffix) is required for Access Manager configuration (it was entered when creating Data Directory Server)
Please let me know, how can i configure Data Directory Server and where i can put Base Distinguished Name.
Thanks i...
I'm trying to create an AIR application to log application usage and the only easy way to get information from the system with AIR is using command line tools and scraping stdout.
I know about tools like top and ps for OS X, but neither of them seems to tell me which application / window is active, maybe I shouldn't even be looking for ...
OCIError (ORA-12541: TNS:no listener):
oci8.c:270:in oci8lib.so
/usr/local/ruby-1.8.7-p248/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.2.4/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:223:in `new'
/usr/local/ruby-1.8.7-p248/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapte...
Hi i'm using this for getting data:
Topic.find(:all, :include => ...,
:conditions => @core ? ["cores_topics.id = ? AND visible = 1 AND (distance < ? OR cores.id IN (?))",@core.id, @user_location[3].to_i, @user_friends] :
["visible = 1 AND (distance < ? OR cores.id IN (?))", @user_location[3].to_i, @user_friends],
...
how can i rewri...
Could anybody tell me with the pseudo class :active from css only works in IE7?
You can check my code on the following web page.
www.ercesar.com
UPDATED
What I mean is what it does on IE7, which once you click on the menu item, the image and the background image change even when you go away from the menu item.
I hope it helps to under...
I recently made some upgrades to one of the Active Reports 3 (AR3) report DLLs that I use and I needed to use the 5.3.1436.2 (previously using 5.2.835.2). Now, this is one report dll out of 30, and I didn't want to change the references for every report dll and test them. I just did not have the time to do so. So here is what I though...
Lets say we have a simple DTO with properties Id, Name. If this DTO comes from database through some data layer, Id should be of type int. If this DTO comes from Active Directory, through some data layer, Id should be of type Guid.
What would be the best way to implement this?
Thanks in advance!
...
QUESTION: How do I trigger the :active state for non-anchor elements via JavaScript (jQuery)?
While reviewing Section 5.11.3 of the W3C CSS2 specification in reference to :hover pseudo selector to see about triggering the activation of a , I came across the following which led me to believe it should be possible:
"The :active pseu...
Can anyone suggest some tutorials for beginners that utilize the C# language to access Active Directory? Thanks.
...
Hi,
I am working on Active sync in Android. I get "java.lang.NullPointerException" every time.
Logs shows:
Uncaught exception in EasSyncService
java.lang.NullPointerException
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:453)
at org.apache.http.impl.client.AbstractHttpClient.execute(Abstract...
Imagine that I have 3 projects:
DL, BL and WS.
DL contains Active Record implementation with all the mappings, BL has some logic (calling various DL methods) and finally WebService project exposes some BL methods (using some DTO mappings).
The questions are:
Should I put all data related methods in DL or is it allowed to use Session...
I have a situation where I have to autheticate SharePoint user to another website that is not part of the sharepoint domain without asking user to login again.
I have sharepoint part of domain1. I have users in domain1 that log into sharepoint using NTLM by authenticating to domain1. I don't have any control over this domain and share...
Hi there,
I have some styling based on the primary links active class. I would like to set the class of a link in the primary links to active (<a class="active"...>) based on either the content type or the path.
I have already done some research on this but haven't yet seen anything that seems to match my query.
Would be grateful for ...
On TOAD for oracle, there is a bar at the bottom where your active windows (be it an sql editor, schema browser or SQL modeller window) are displayed. I have just moved office and it now only displays the active window and none of the other windows...
any of you toad guru's know how to get it to display all the windows?
Toad version 7....
I have following xml structure and I would like them to display in the report.
{...}
<order id="121">
<item>
<fees>
<fee id="23">
{...}
</fee>
</fees>
<discounts>
<discount id="1">
{...}
</discount>
</discounts>
</item>
<item>
....
</item>
</o...