Posts

ios - i want show different images continuously without user touch the button -

When touching a button, show the image to the code below. I can say "without a bear, cat, cow, dog" Anyone can touch the user's touch button NSMutableArray * dashBoy = [NSMutableArray array]; For (i = 1; i & lt; = 12; i ++) {butterfly = [NSString stringWithFormat: @ "bear_% d.png", i]; If ((image = [UIImage imageNamed: butterfly])) [dashBoy addObject: image]; } [StgImageView Set Animation Images: DashBoy]; [StgImageView Set Animation Duration: 4.0F]; [Set the StgImageView animation annotation: 2]; [StgImageView start-up]; You can do this as: - First of all, create a UIImageView property below, @property (nonatomic, weak) IBOutlet UIImageView * imageView; // Also connect it with Storyboard or EXib Then you can type the IBAction given below: - - (IBAction) startTap: (ID) Sender {{self.imageView Set Animation Duration: 1.0f]; // You can change the duration of the intensity or slow-making animation [Self.imageView Set Animation Images: Im...

android - ID of top divider in AlertDialog -

Image
I am using the following code on my Alert Deals topic. resource resources = dialog .getContext () getResources () .; Int color = resources.getColor (R.color.green_theme); // Your Color Here EntourTitid = resources.getIdentifier ("alertTitle", "id", "android"); TextView AlertTitle = (TextView) dialog.GetVindo (). GetDecorView (). FindViewById (WarningTilayed); AlertTitle.setTextColor (color); // Change title text color int titlesdividerID = resources.getIdentifier ("titledivider", "id", "android"); View Title + Divider = Dialog.GetWondo (). GetDecorView (). FindViewById (titleDividerId); TitleDivider.setBackgroundColor (color); // change split color This works well, except for the case where I have an alert dialog with no message but no title, it appears that a third Is the scene which is only displayed in this case, which also requires its color set. I do not know what the id's ID is. Does anyone know this? The...

mysql - Delete Composite unique key [ applied on 3 fields combinely ] -

In MySQL, I have created a unique composite key based on 3 columns. How can I remove this unique key barrier without removing the entire table? I got an answer and it worked show index table_name Then check the "key_name" barrier that you want to leave. This will be "key_name" for the combined parenthesis in the form of " arbitrary_index_name ". then use this DROP query drop indexes arbitrary_index_name on table_name

html - How to hide label on radio checked using css -

मेरे पास इस तरह लेबल टैग में एक चेकबॉक्स है। & lt; label class = " बतख डक 1 "& gt; & Lt; इनपुट प्रकार = "चेकबॉक्स" & gt; & Lt; / लेबल & gt; मुझे लगता है कि अगर मैं चेकबॉक्स, लेबल और चेकबॉक्स पर क्लिक करता हूं तो दोनों डिस्प्ले: कोई भी बिना jquery होना चाहिए। मैंने इसे करने की कोशिश की। .duck इनपुट [प्रकार = चेकबॉक्स]: चेक + लेबल। चेकबॉक्स {प्रदर्शन: कोई नहीं;} आप उस के आसपास काम कर सकते हैं हालांकि। निम्न कोड पर एक नज़र डालें: यदि आप अपने एचटीएमएल को चेकबॉक्स के बाद लेबल रखने के लिए फिर से संगठित करते हैं, और एनिमेटेड क्लास को चेकबॉक्स में भी जोड़ें, तो इसे लेबल के साथ संरेखित करें: & lt; div वर्ग = "मुख्य" & gt; & Lt; इनपुट प्रकार = "चेकबॉक्स" वर्ग = "बतख डक 1 सीबी_1" & gt; & lt; / input & gt; & Lt; लेबल वर्ग = "बतख डक 1" & gt; & lt; / लेबल & gt; & Lt; / div & gt; आप निम्न तरीके से दोनों का चयन करने में सक्षम होंगे: ...

android - Store and Get Application's Shared Preferences In Activities -

I want to save MainActivity in the shared preferences And get it from MenuException I tried to do this: Main Activity : ISharedPreferences _prefs; ISharedPreferencesEditor Editor = _prefs.Edit (); Editor. Patstrings ("user", type); Editor.Apply (); MenuActivity : ISharedPreferences _prefs = Application.Context.GetSharedPreferences ("user", FileCreationMode.Private); I think I'm not caching main activity in the shared preferences at the application level Therefore, any ideas on how to store shared preferences globally? OK, this has changed it: ISharedPreferences _prefs = Application.Context.GetSharedPreferences ("User", FileCreationMode.Private); To do this: ISharedPreferences _prefs = PreferenceManager.GetDefaultSharedPreferences (application.Context);

c# - Add an aspx page with code-behind to a compiled ASP.Net site -

We have an ASP. The net application is done by a third party, which uses third-party controls The problem is that some of these controls do not work with anything more than IE8. I have been asked to know about this and an attempt has been made to remove them (the company is upgrading to IE 11). Unfortunately, the source code is not available; There is no code behind which I can work. And controls are no longer supported. A solution that I can think of is adding a new .aspx page and using inline code / javascript / code-behind to return those functionality which are not working. This is my question: is this possible? Or is there any other way that I can solve it, lack of change of application with new ones? Thank you. I ran into a similar problem some time ago and it was nit through a decompiler tool Decompiling the controls by making necessary changes such as reflectors, recompiling and uploading to the server.

php - Rewrite a secondary domain to a subfolder -

I bought two domains: www.juridischehulponline.nl www.onlinejuridischehulp.nl and I want to Like to link my hosting subfolder: www.zuidveste.eu/juridisch and new domains to be displayed as new domains. So if I surf on www.juridischehulponline.nl, I would like to see: www.juridischehulponline.nl and not www.zuidveste.eu/juridisch However, if I rewrite the sub-folder and redirect it to the new domain, I get one: "too many redirections" error as it goes to www.juridischehulponline.nl where an .htaccess is found which is available at www.juridsichehulponline Will redirect to .nl And if I proxy domain, my new domain is being displayed, even though simple blogging systems, such as Katnews, will not work because they have the entire path to www. Zuidveste.e U / juridisch. But due to .htaccess, that part will be rewritten and given the path of www.juridischehulponline.nl/index.php; Which does not exist. I have removed .htaccess in the juridisch folder, but I do not know how...