Posts

html - Flexible Border Radius -

Image
मेरे पास कुछ एंकर टैग हैं मैं उन्हें सीमा त्रिज्या लागू कर रहा हूं ताकि वे एक गोल आकार (सर्कल) के अंदर दिख सकें। इसे अपने टेक्स्ट चौड़ाई के लिए लचीला होना चाहिए मैं कोशिश कर रहा हूं लेकिन क्या नहीं करना है मैं इसे कैसे प्राप्त कर सकता हूं? कृपया किसी भी सुझाव की सराहना की जाएगी। & lt; a href = "http://google.com" & gt; एबीसी & lt; / a & gt; & lt; a href = "http://en.wikipedia.org/" & gt; abcdefgh & lt; / a & gt; सीएसएस: एक {सीमा: 1px ठोस काले; गद्दी: 10px; -वेबकिट-सीमा-त्रिज्या: 100px; -मोझ-सीमा-त्रिज्या: 100px; सीमा-त्रिज्या: 100px; } आप प्रतिशत में त्रिज्या दे सकते हैं। CSS: एक {सीमा: 1px ठोस काले; गद्दी: 10px; -विबिट-सीमा-त्रिज्या: 10%; -मोझ-सीमा-त्रिज्या: 10%; सीमा-त्रिज्या: 10%; } यह है सीमा के त्रिज्या से यह लंगर के चारों ओर एक ही चक्र प्राप्त करना संभव नहीं है क्योंकि यह एंकर टेक्स्ट आकार पर निर्भर करता है। यदि यह अलग होता है तो सर्कल भी प्रतिबिंबित होता है। अपडेट: आप इसे div के साथ तब चौ...

Moving a sprite in 2D matrix array - JavaScript -

I have created a 2D array that contains 10 x 10 maze. Now the problem I have is that I have a maze jpg (when it Actually working on the table) but will move the phantom. How do I transfer the phantom to a specific distance as it appears like going to the next category? I have their keyboard functions and I think I'll need this code. But I'm confused about the argument to move a specific class to Spit. playerx = 1 player y = 1 up = maze [player x, player y - 1]; Down = maze [player x, player y + 1]; Left = Mac Array [PlayerX - 1, Player Y]; Right = messier [player x + 1, player y]; There should be a complete maze and your character induction in your canvas. Your phantom is a circle with a radius 10 (hence it is 20px 20px) but the "square" of your maze is only 6px 6px (because your canvas is 60px 60px and you said that the labyrinth is 10x10 ). It seems as if it transmits a class, you need to first fit it to a cell. Maximize your canvas (200px to 20...

c - Using 3d array outside a function -

I have a function in which I create a 3D array and fill all the values. I have to pass a pointer at the function which will allocate the memory space of the 3D array in that function so that it can be used outside of that function. At present, I am doing something that does not seem to work, can someone guide me in the best possible resolution? int (* arr) [4]; Assign zero to DD (int (* AR) [4]) {int local [2] [3] [4]; // Maybe we should pass * local? MEMSet (local, 0, size (integer) * 2 * 3 * 4); // fill the local array with the number arr = local; } printf ("% d \ n", arr [1] [2] [3]); I know I wrote the awesome code above but I am learning :) Assigning an array is not possible. You are also using the wrong type for the argument ( is not int (*) [5] which decays in a int [2] [3] [4] , Use int (*) [3] [4] as the logic type) Once you have the correct type, you can use memcpy () You can use: #include & lt; String.h & gt; # Include & lt; St...

javascript - Difference in onload from a 'link' or 'button' -

When I click on link , then I load a form. When I load the form I get value from Java Hashp for which the price is taken from the table. To save the form, I click on the button . Upon submitting, that value is changed to another table, so I can not use the key of the same hash mark and thus there is not a single variable within the value attribute of the input tag. After saving, the form is reloaded with the edited values ​​in the form. Is there any difference in loading both of these, which is loading the form with link and loading a form with the button is? The difference is when you load the hyperlink with new httprequest and a new request is made by the browser (client). When you submit the form using the button, it calls your form saving code and redirects to reload the same form which means that after submitting this form Redirects to httprequest and to redirect the server or httprequest to reload your code. Hyper link - & gt; Step 1 - & gt;...

sql - Producing a report that measures a value, grouped by one attribute and then by another -

I have a database that has many information about games, teams, connecting fixtures, those leagues, and Various results of those fixtures I want to be able to produce a report that wants to be able to measure the performance of the team (number of wins, win / points / calculation values ​​of losses) and then I want to play this game every Played by the team and then the league and Division is grouped by For example, name of the team Sport League Division Results Hampshire Utd Football Silver Cup 1 - I have an information The selection of joining teams in which they live, whether they win "W", "L" has been lost, or "D" has attracted the game. I'm not sure how to set it so that it calculates the number of wins if I try to do mathematical work, then it connects each stability with the value, then win, loss, and draw: Team Name Sport League Division Results Grahamshaw Rugby Phoenix 3 Humpshire Reverse Football Silver Cup 1 5 Kia Ora Squash N...

php - MySQL join query appears to be valid but not performing as expected -

I am relatively new to using MySQL to connect. I have two tables: sh_subscriptions => ID = & gt; user_id = & gt; feed_id sh_feeds = & gt; ID = & gt; shop_name = & gt; feed_id I am trying to get all the fields from sh_subscriptions where feed_id to feed_id Matches sh_feed s that matches the $ line ['shop_name'] and where matches user_id $ id ['id] . Here's my attempt: Select- from sh_subscriptions INNER JOINT_SET_ID = SHAnFeads on f.feed_id. JOER s.id = '' $ Id ['id']. '' And F. Shop_name = ''. $ Line ['store_name'] UPDATE I now have the following: while ($ row = mysqli_fetch_array ($ Query)} {echo " ;); Echo ['shop_name'] "" per line; $ Query = mysqli_query ($ con, "SELECT * sh_subscriptions Join INNER sh_feeds f at s.feed_id = f.feed_id WHERE s.user_id = '" $ id [' id '].' 'And f.shop_name =' ". $ Line [...

ios - How can I keep the navigation bar at the top of the screen when scrolling? -

I am working on an iPad app in Xamarin that (among other things) will download PDFs from a file system and While scrolling through the webview to read the PDF in a webview, I will be shown them, I have been asked to keep the navigation bar at the top of the screen. The user has scrolled once, it is currently away. How I searched for this and got a question like this but nothing related to mobile development. I think it has been tried by some other people, but maybe it's against Apple's guidelines? If anyone has been found saying something like this, I take it as an answer or any sample code of its implementation will be appreciated. UIVIE and add the navigation bar to there. Under your navBar add webview . This is all.