Posts

Horizontally Animate Gradient in HTML5 Canvas using jCanvas & jQuery -

मुझे एक भरण ढाल रंगस्टॉप (दाएं से बाएं) की स्थितियों को बदलकर अरोड़ा जैसा प्रभाव बनाने के लिए क्षैतिज रूप से चेतन करें मुझे लगता है, setTimeout () विधि का उपयोग करके किया जा सकता है लेकिन मुझे नहीं पता कि यह कैसे करना है। मेरे पास वर्तमान में एक स्थिर स्क्रिप्ट है: HTML: & lt; script src = "https://raw.github.com/caleb531/jcanvas/master/jcanvas.min.js" & gt; & lt; / स्क्रिप्ट & gt; & LT; कैनवास & gt; & lt; / कैनवास & gt; जावास्क्रिप्ट: var mw = $ (दस्तावेज़)। वाइड (); Var एमएच = $ (दस्तावेज़)। हाइट (); var gs1 = 0 var gs2 = 1/5 var gs3 = 2/5 var gs4 = 3/5 var gs5 = 4/5 var gs6 = 1 $ ('कैनवास')। attr ('width', mw) .attr ( 'ऊंचाई', एमएच); वर्जिन ग्रेड = $ ('कैनवास')। बनानेग्रेडिएन्ट ({x1: 0, y1: 0, x2: एमडब्ल्यू, y2: 0, सी 1: '# ई 33 ए 3 ए', एस 1: जीएस 1, सी 2: '# एफबी 57 एफबी', एस 2: जीएस 2 , सी 3: '# 21 ए 5 ईबी', एस 3: जीएस 3, सी 4: '# 1 ईसीए 18', एस...

javascript - Objective C cuts off last part of string -

We are working on a plug-in for Cordova and we want to build callback JavaScript so that the code from the original code Go. So far, the problem here is: NSString * js = [NSString stringWithFormat: @ "project.notificationCallback ('% @',% @);" Uuidstring, value]; This should create the following example: "project.notificationClallback ('uuid-uuid-uuid-uuid-uuid', 1);" Instead of returning just the desired result, it gives: "project.notificationClallback ('uuid-uuid-uuid-uuid-uuid', 1 " So it only cuts the last part of the string when we do this: NSString * js = [NSString stringWithFormat: @ "Alarm ('jmoder')"]; All this works well, so we believe that with the exception of something else with % @ Is not there. Is there a obj-c expert in this house, which would avoid these characters I know or string is just a few letters too long? If I work with a single string I get: project....

css - Responsive Design with media queries not switching -

Good afternoon, I am trying to make a website responsive but I can not get it To make this work I have been googling for about an hour or 3 and I am pretty sure that I am not doing this wrong, but still it does not work. Here is my code: @ media screen and (minimum-width: 1230px) @ media screen and (minimum-width: 750 pixels) and ( Max-width: 1229 px) {body {display: none; }} The best way I can best describe this problem is when I go to full screen on my website with the browser it loads normally as I want it But when I minimize the window then it should load it just does not load any CSS on the second part of the CSS. I display the panel: there is no one so that the page is white to see that it works I have & lt; Meta name = "viewport" content = "width = device-width" /> is in my html URL site: Not sure if I answer my question It's allowed but it works now! Instead of: @ media screen and (minimum-width: 1230px) {} media screen...

asp.net - Reverse engineering a precompiled website -

Hello I need your help. I have a preprominy website project and now I can not see the source files because I can not edit my web project I am left with only aspx files when I try to see them, then I get the message "This is a marker file that does not have to be removed from the printer and should not be removed." I removed the PrecompileApp.config file Try it, as well as some DLL files in the 'App_Web3610tfd' bin folder ... something like that but the website is still ineligible. Please help me. Thanks in advance. Unfortunately you are never going to get back the entire project of Telrek or Red Gate. . You are going to receive decompile files that were converted from code to IL, it usually does not get the code which is good and readable. You've got the worst case scenario, using pre-compiled and non-updating .aspx / .ascx files. To get it back, lots of code will be stitching and be prepared to spend some time to understand it. Many function calls can be...

html - PHP Reference ID auto-increment for invoice -

I am looking to create a code that uses numbers such as 410001, 41, 0002, etc. I have a table table - & gt; ID, reference, name, company, and email, & lt; php $ d = 'A08'; For {$ N = 0; $ n which outputs: A09 A10 A11 A12 A13 A14 I have a client ID = 1 or ID = 2 in my database, I want to present the ID for IDAD = 1 and reference ID for ID = 2 to 410002, so in my table, the sick has an ID and reference ID in the automrum. Do you make any sense for the people? Thank you! You can try these MySQL queries for your table: Table Create query: create table clients (ID int (16) AUTO_INCREMENT, reference int (16), name varchar (50), company varchar (50), email varchar (50), primary key (Id)); INSERT Query: Enter value in `customer` (` context`, `name`,` company`, `email`) (value (SELECT Info_schema.tables from AUTO_INCREMENT WHERE table_name = 'clients' and table_schema = 'DATABASE_NAME') + 41000), 'client_name', 'compan...

objective c - iOS 8 Orientation bug. Works in 7.1 -

Image
I have a view that is locked in the picture and then I have to push it to another scene where I have this in the landscape. . The video returned to the portrait after playing in the scenario, which works fine in iOS 7.1 but there is some weird bug on iOS 8.0. Please refer to this picture as you can see that the tabbar has gone to the center of the screen. It looks like this before going to the video player is. I have many other things Have tried the setting like [self.view.window setFrame: [[UIScreen main screen] border]]; I am currently using MPMoviePlayerViewController to show my video. But it's not just after I will work to see other pop popping up You guys can help me out so it works strange in iOS 7? Way i 'Controlling the Orientation Controller is a sub-cloning and it is saying that it is only in portrait, when I go to the video view, then I tell that the scenario is allowed. Then when this returns I only allow the picture again - Returns the s...

How to insert norman date in mysql using php? -

I'm completely new to php and mysql; Need some help with this, I want to put a date in mysql table, formatted as DD / MM / yay. I have 4 columns in my table: id, name, age & amp; Birthday. My HTML code & lt; Form action = "php_creat_cliente.php" method = "post" & gt; Name: & lt; Input name = "context" type = "article" /> gt; & Lt; Br / & gt; Age: & lt; Input name = "focus" type = "text" / & gt; & Lt; Br / & gt; Birthday: & lt; Input name = "date" type = "text" /> gt; & Lt; Br / & gt; & Lt; / Form & gt; My PHP-code & lt? Include php ('config.php'); $ Name = $ _ post ['name']; $ Age = $ _ post ['age']; $ Birthday = $ _ post ['birthday']; Include $ save = mysql_query values ​​("Debt (name, age, birthday) '(' $ name ',' $ age ',' $ birthday ')); Header (...