Posts

Sizing jQuery Tabs panels -

Image
) मैं jQuery टैब का उपयोग कर रहा हूं और मुझे पसंद है कि कैसे टैब बाईं ओर संरेखित करें और शीर्ष नारंगी भाग 100 तक ले जाता है आवंटित चौड़ाई का%। लेकिन जब मैं टैब पर क्लिक करता हूं, तब ड्रॉप डाउन पैनल में केवल आधा पृष्ठ के लिए पर्याप्त जानकारी होती है मैं पैनल के आकार को कैसे समायोजित कर सकता हूँ ताकि सभी पैनल केवल पृष्ठ का आधा भाग लें? आप बस हर डिस्प्लेबल टैब सामग्री पर कक्षा शैली जोड़ सकते हैं और इसकी ऊंचाई बढ़ा सकते हैं। & lt; div id =" tabs "& gt; & LT; ul & gt; & Lt; li & gt; & lt; a href = "# टुकड़ा -1" & gt; & lt; span & gt; एक & lt; / span & gt; & lt; / a & gt; & lt; / li & gt; & Lt; li & gt; & lt; a href = "# टुकड़ा -2" & gt; & lt; span & gt; दो & lt; / span & gt; & lt; / a & gt; & lt; / li & gt; & Lt; li & gt; & lt; a href = "# टुकड़ा -3" & gt; & lt; span & gt; तीन & lt; / span & gt...

java - How I suppose to use files in Android -

I am trying to develop applications for Android and I do not know how to write / read a file in Android phone is. / P> Normally I will do the following: import java.io.buffferedReader; Import java.io.buffferedWriter; Import java.io.fileReader; Import java.io.filewiter; Public category test {public static zero main (string [] args) {try {string path = "file.txt"; Bufordedder BV = new buffed vetter (new flamer (path)); Bw.write ("XYZ"); Bw.close (); Buffettder BR = New buffed reader (new flamerdder (path)); String line = "", data = ""; While ((line = br.readline ())! = Null {data = data + line;} br.close ();} hold (exception e) {e.printStackTrace ();}}} You are very close here, something that I did, where I check to see if one SD card, if it will not save locally (Remember, because it is an Android app, all your data will be saved on the phone), then you can create a directory if not there and then file it If you have any questions, as...

svn - Best way to organize a android project into a subversion repository -

I am in the process of learning subversion, and by now I have learned one or two things, and I have a simple project To store, just created a Google code account and a svn repository, my problem is how to organize my svn repository. Imagine I just have an Android project called "Hello World" and a test project called "Hello World Test" Made, why Both projects should import my repository trunk? Does it make sense to put my exam project in the repository trunk? SSIT in local file: From the best practices suggested by Google: / P> You can create a test project anywhere in your file system, but the best way is to add the test project so that its root directory is at the same level as the source / directory of the main application Project This helps you find the tests associated with an application Ta does. For example, if the root directory of your application project is a myofix, then you should use the following directory structure: MyProject / Andr...

scala - Unable to map on HList -

I was trying to solve with formless though I was unable to map HList For some reason I'll call the code for myself. imported waste. _ Import HList._ Case class Fu (A: Option [int], B: option [int]) val a = Foo (some (3), none) val b = fu (some (22), some (1 )) Voodoo voo fooIso = HListIso (Foo.apply _, Foo.unapply _) val on map = new (({{O2 type [A] = (option [A], option [A])}) # O2 ~> Option {def} [A] (X: (option [A], option [A])): Option [A] = X._1.orElse (x._2)} fooIso.fromHList (fooIso.toHList (a) Zip (fooIso.toHList (b)). Map (mapper) error message is: & lt; console & gt; 55: error : The value for the parameter mapper could not be found: the sizeless mapper [useless With java.lang.Object. ~ & Gt; [[+ A] (option [A], option [A]), option [], useless. :: [(option [int], option [int]), useless .: :( (option [sign], option [int]), useless .HNil]]] fooIso.fromHList (fooIso.toHList (a) .zip (fooIso.toHList (b)). Map (mapper) ^ Why does not mapping wor...

xsd - Using the any schema element in wsdl with PHP SoapServer -

I can not seem to work with my SSSD element in my wsdl using PHP Sorchers. According to everything I have read and see how some other companies implement "loose type" wsdls should be enough to obtain and send record information. & lt; Complex type name = "record" & gt; & Lt; Sequence & gt; & Lt; Any name space = "## target namespace" minOccurs = "0" maxOccurs = "unbounded" process = "loose" /> & Lt; / Sequence & gt; & Lt; / ComplexType & gt; Unfortunately, it seems that the PHP Sopers class removes those elements which are not strictly defined. What I found is Request Records on Records Records and sends blank records to the reclaim / filter requests, although the field clearly exists before dealing with the SOAP server. If I specifically define those fields that are lost in this way .. & lt; Complex type name = "record" & gt; & Lt; Sequence & gt; ...

ios - How can i detect whether two CALayers overlap? -

In my app the user can drag the top caller from the stack of CALayers. When the user prevents dragging the CALayer, others should return to their original position at the top of the CALayers until the claire (after dragging) overlaps with other calendars It should be taken under the other calorie. Now, how can I find out that two calories overlap? CALayer's frame property is a CGRact. Fortunately for you, CGGomitry has the following method: CgTTIntecpectors You can use it like this: if (CGRectIntersectsRect (MyLayer1.frame, MyLayer2.frame)) {// code}

- Where Developers Learn, Share, & Build Careers

I have created an app that uses IM to insert data with FMDB wrapper and consult with SQL database The data is displayed in a table view, the problem is that when I do everything right on an iphone 4, but when I do it on an iphone 4s, then this is not a problem. My code is part of: Loading DB: aPools = [[NSMutableArray alloc] init]; NSString * path = [[NSBundle main bundle] Pathfoser resource: @ "pool db" type: @ "sqlite"]; MainDB = [[FM Database Alok] InitVithpath: Path]; [Menadi's Open]; FMResultSet * fResult = [mainDB Execution: @ "selection * from pulse data]]; While ([FRSALT next]) {Puladata = [FRS fruit string fora column: @ "name"]; [APools addObject: pools data]; } [Close to main DD]; Saving: - (zero) saveIntoDB: volume with name (NSString *): (float) volume type: (NSString *) type and DESC: (NSSTING *) Dell [[Menadi Open]; [MainDB executeUpdate: @ "pool, data (name, volume, type, dcc) values ​​(" ,,,,,?) ", Na...