Posts

Manually add ":animated" selector to jQuery objects -

I have a function that animates the DOM elements with CSS3 when available. Now I often use the : animated jQuery selector. How can I answer my CSS3 animated elements to : animated selector? When a DOM object is animated with jQuery, it becomes "fxqueue": "inprogress" is in the data object, so I was thinking that I would be manually I can use my elements from: $ ("div"). Eq (0). Data ({"fxqueue": "Inprogress"}); console.log ($ ("div: animated")) None selected Does. This will not work. : Animated is defined as a filter jQuery.expr.filters.animated = function (elem) {return jQuery.grep (jQuery. Timers, function (fn) {return elem === Fn.elem;}) Length; }; Checks whether the element is in jQuery.timers . Instead, you can change : animated selector: var originally estimated = jQuery.expr.filters.animated; JQuery.expr.filters.animated = Function (AMM) {Return Original Animated (AMM) || someth...

ActionScript Flash Predefined Global Variables -

Can someone send me a link, or list all global variables that are predefined by Flash Action Script 3 ? For example, like the current time, or current frame etc. Thank you, Thoie I'm not sure whether anyone is or not As a matter of fact, you will use the platform or the main movie clip object. trace ("frame:" + myMovieClip.currentFrame); Var now: date = new date (); Trace ("time:" + now.getTime ()); If I need a global variable, then I usually use a singleton pattern.

sql server - vb.net SQL date to time conversion issue -

error is:. Conversion failed when changing date and / or time from character string Actually I'm trying to make it so that when someone clicks on a location in a list box, this figure is correct with 1 in the table. The field increases so that they can click on the location. I'm trying to solve it for a while and can not find anywhere. My date is in date format, and so on my statistics table has a date field. My code can be seen below. String Dim Check String as String ObjCmd2 Object dim as iCount integer dim tDate as current current as dirty current = LocBox.SelectedItem check = LocList.FindString (Current) if check & gt; -1 Then the MsgBox ("you have already selected this place to travel") or else LocList.Items.Add (current) ObjDataReader.Close () tDate = Date.Today MessageBox.Show (tDate) tDate = tDate .toString () objCmd2 = New SqlCommand ("select" & replace (current, "", "_") & "where data from date = to...

PHP stream_socket_client and facebook chat -

$ fp = stream_socket_client ("tcp: //chat.facebook.com: 5222", $ त्रुटि, $ Errstr, 20); Fwrite ($ fp, '& lt; स्ट्रीम: स्ट्रीम = "chat.facebook.com" xmlns: स्ट्रीम = "http://etherx.jabber.org/streams" xmlns = "jabber: client" version = "1.0" / & Gt; '। PHP_EOL); $ Temp1 = fgets ($ fp); Fwrite ($ fp, '& lt; auth xmlns = "कलश: ietf: परम: xml: ns: xmpp-sasl" तंत्र = "एक्स-फेसबुक-प्लैटफॉर्म" & gt; & lt; / auth & gt;'); $ Temp2 = fgets ($ fp); fclose ($ एफपी); मर (var_dump ($ temp1, $ temp2)); $ Temp2 झूठे परिणाम क्या हो रहा है? स्ट्रिंग (365) "& lt;? Xml संस्करण =" 1.0 "? & Gt; स्ट्रीम: स्ट्रीम id =" 247B12CF "=" chat.facebook.com "से" xmlns = "jabber: client" xmlns: stream = "http://etherx.jabber.org/streams" version = " 1.0 "xml: lang =" en "& gt; & lt; स्ट्रीम: फीचर & ...

javascript - Understanding classes with Mootools -

Sorry for my english, I am french :) I have created an original class called "slider". This class has a "slider_elment" attribute, which is a DIV element. There is also a "destroyer" method in the class, this method destroys the div element. The slider_alment is considered to be a div that has another DIV named "Delete" CSS class name. When I click on "Remove DIV", then I want to call the "Destructive" method so that DIV disappears. Here my code is down, and it works graphically as if I want to. My question is: when I destroy the DIV element, then I do not need my slider instance ("MySlender" here). But my code destroys DIV elements, not slider example Does this example still exist? I think yes, so I discovered how could destroy an example of a class with a monotonous but did not get it ... so I think I am doing something wrong, even if my code does this What I graphically illustrate Please help :) var sli...

asp.net - How to encode the plus (+) symbol in URL -

The URL links below will open a new Google Mail window. The problem I have is that Google replaces all plus + (+) signatures of the email body with spaces, it seems that it only happens with + sign, how to suggest a solution for this solution? (I am working on ASP.NET web page) topic and body = hi there + hello there (in the body email, "hi there + hello there "Will appear in the + character in a special url = meaning; = it means white space. If you want to use + , you can enter it in the URL Will have to be changed in: body = hi + there% 2bHello + Here's an example of how you can make the URL in the net You can: class program {static void main () {var uriBuilder = new UriBuilder ("https://mail.google .com / mail"); Var values ​​= HttpUtility Value ["view"] = "cm"; value ["TF"] = "0"; value ["" from "] =" someemail@somedomain.com "; value [" su " ] = "Some topic...

internationalization - Java EE i18n and default project structure -

I'm developing Python DJGengo I want to make a little effort to Java I used to translate myself into the DEGENGO because it happens as follows: django.utils.translation import from ugettext_lazy _ _ And then if the translation _ ("Hello World") Question 1: Is there any such thing in which the locale / N / Is specified. Java? I have found them: There is no one I am looking for I did as an example import java.util.ResourceBundle; Import java.util.MissingResourceException; Public Class i18n {Personal Stable Resource Bundle myResources = ResourceBundle.getBundle ("Message"); Public Static String _ (String Original STR) Return {try {myResources.getString (Original STR); } Grip (missing RSOS Exception E) {Return Original STR; }}} and later Fixed I18n._; Import; Question 2: But where do you keep messages? Property file? I have to keep a separate locale directory with those files. Translation from entire package and su...