Posts

html - Get iFrame to full width of website (not content!) -

Image
मेरा आइफ्रेम कोड ऐसा दिखता है: & lt; style type = "text / css" & gt; # बाएं {प्रदर्शन: कोई नहीं; बाईंओर तैरना; चौड़ाई: 212 पीएक्स; } # राइट {डिस्प्ले: ब्लॉक; सही नाव; चौड़ाई: 100%; } & Lt; / शैली & gt; & Lt; div align = "left" & gt; & Lt; iframe height = "1000" src = "https://secure.workbooks.com/process/=YjN4gDN/case_portal" width = "2000" & gt; & lt; / iframe & gt; & lt; / div & gt; हालांकि मैं आइफ्रेम क्षेत्र को पृष्ठ की पूरी चौड़ाई में विस्तार करना चाहता हूं, इसलिए यह एक ऐसा क्षेत्र भरता है जैसे: अगर मैं केवल iframe की चौड़ाई में वृद्धि करता हूँ निम्न के साथ: दूसरी छवि समस्याओं का सामना किए बिना मैं पहली छवि कैसे प्राप्त करूं? आप पृष्ठ देख सकते हैं। सबसे पहले, # content-sub से 100% की चौड़ाई बढ़ाएं ( यह अब 960px है; आपका फ्रेम उसके बच्चों में से एक है, इसलिए इसे पूरी चौड़ाई तक खींचने के लिए आपको माता-पिता नोड को उसी तरीके से फैलाया जाना है)। दूसरा, i...

java - Localizing numeric values in excel -

बिगडीकैमल myNumber = नया बिगडिस्किमल (1234.56); संख्याफ़ॉर्मेट उदाहरण = संख्याफ़ॉर्मेट.जस्टेशन (लोकेल.जेर्मन); स्ट्रिंग स्थानीयकृत संख्या = उदाहरण। प्रारूप (myNumber); System.out.print ("\ n प्रारूपण" + स्थानीयकृत संख्या); ओ / पी - & gt; 1.234,56 यहां तक ​​कि कोड ठीक काम करता है, लेकिन नीचे पंक्ति को संख्या स्वरूप देता है क्योंकि दिए गए स्ट्रिंग में इसमें अल्पविराम है। BigDecimal bigDecimal = new बिगडीस्केल (लोकलाइज्ड नंबर); मुझे स्थानीयकृत होने के लिए संख्यात्मक मान चाहिए, लेकिन मैं स्ट्रिंग के रूप में संख्या को डालने के रूप में स्ट्रिंग के रूप में नहीं लौटा सकता, इस सेल में एक्सेल नंबर में त्रुटि दिखाती है formatter के रूप में formatter या एपॉस्ट्रॉफी से पहले क्या कोई तरीका है जिसके द्वारा मैं स्थानीय प्रारूप में संख्यात्मक मान (बिगडीकल / पूर्णांक / बिगइंटेजर आदि) वापस कर सकता हूं ताकि मैं एक्सेल में त्रुटि से ऊपर नहीं पाउंगा और एक्सेल डेटा पर मैं फिल्टर संचालन कर सकता हूं। मैंने भी नए BigDecimalType () की कोशिश की है। ValueToString (मान, लोकेल); और नया ...

php - Limit list using a button -

I want to print the final use of your application for each user, but I'm limited to a specific number to the list I want (that will eventually be configured by the user) ATM I can print everything, but I want to apply a button which will allow 5 events to show and will move forward. Once it is implemented, there is also a backing. However, my code is as follows: $ min = 0; If (count ($ time)> 5) {$ aux = 5; } And {$ aux = count ($ time); } If (isset ($ _ POST ['button'])) {if ((calculation ($ time) - $ aux)> 5) {$ aux = aux + 5; $ Min = $ min + 5; } And {$ aux = count ($ time); If (calculation ($ time)> 5) {$ min = calculation ($ time) - 5; }}} For ($ i = $ min; $ i & lt; $ aux; $ i ++) {echo '& lt; Br> ($ I + 1). '' .Det ('Y-M-DH: I: S', $ Time [$ i] ['Time_Stamp']). "\ T". ' Por '. $ 'EPS [' IP '].' & Lt; Br> '; }? & Gt; & Lt; Input name = "button" type ...

angularjs - Difference between modelValue and viewValue -

With a custom command, a validation function is added to validate the integer input var INTEGER_REGEXP = / ^ \ -? \ D + $ / / App.directive ('integer', function) (return {required: 'ngmodel', link: function (scope, elm, attrs, ctrl) {ctrl. $ Validators.integer = function (modelValue, viewValue } {If (ctrl $ IsEmpty (modelValue)) {// Write a blank model for valid return;} (INTEGER_REGEXP.test (viewValue)) {// This valid return is true;} // This invalid return is false ;};}};}); Each function in the $ validators object receives the modelValue and viewValue. What is the difference between ModelValue and viewValue? $ formatter s and $ parser in your code s ViewView is a value that uses the rendering command to attract itself, the model is the value that is stored in the scope, once the value of the $ parser The list is used. If you change the value in the radius, then ngmodel will run that value through its $ formatters , which is then read as a visu...

shape - How to center a CSS Hexagon -

Not sure how to centrally focus this hexagon, setting margin: auto; Thank you in advance, if someone can help the whole shape is not grateful. .hexagon {position: absolute; Width: 300px; Height: 173.21 pixels; Background color: #fff; } .hexagon: First, .hexagon: after {content: ""; Status: Completed; Margin-left: auto; Margin-right: auto; Border-left: 150px solid transparent; Boundary-right: 150px solid transparent; }. Hexagon: first {bottom: 100%; Border Bottom: 86.60px solid #fff; Status: Completed; Margin-left: auto; Margin-right: auto; } .hexagon: after {status: absolute; top 100%; Width: 0; Border-top: 86.60px solid #fff; } margin: auto will not work if you use hexagon To fully integrate the devices, you need to add top: 50% , left: 50% and margins: -86.6px 0 0 -150px . -86.6 px is half of your hexagon and half of -150px width; apart from this, you have to make your original position relative to the height of 100%. HTML & lt; Div class = ...

cakephp - Cakephp2 pagination links with routing -

मुझे रूटिंग केकपैप के साथ एक समस्या है। यहाँ मेरा कोड है: राउटर :: कनेक्ट ('/ खोज-नौकरी / *', सरणी ('नियंत्रक' = & gt; 'TblJobs', 'क्रिया' = & gt; 'findJob'), सरणी ('पास' = & gt; सरणी ('आईडी'))); राउटर :: कनेक्ट ('/ *', सरणी ('नियंत्रक' = & gt; 'tbl_jobs', 'क्रिया' = & gt; 'अनुक्रमणिका'), सरणी ('पास' = & gt; सरणी ('आईडी'))); पहली पंक्ति पर, यह सामान्य काम कर रहा है ( localhost / find-job / page: 2 )। लेकिन दूसरी पंक्ति पर, मुझे इसके साथ एक समस्या है। जब मैं इसे चलाता हूं, मेरे पास कुछ पृष्ठ हैं: पृष्ठ 1, पेज 2, पेज 3, लेकिन इस तरह की लिंक: localhost / tbl_jobs / index / page: 2 लेकिन मुझे उस लिंक की आवश्यकता है: लोकलहोस्ट / पृष्ठ: 2 मुझे खेद है क्योंकि मेरी अंग्रेजी बहुत बुरी है। धन्यवाद! कोशिश करें: राउटर :: कनेक्ट ('/: पृष्ठ', सरणी ('नियंत्रक '= & Gt;' tbl_jobs ',' क्रिया '= & gt;...

web services - How to log in into Redmine using REST API -

I need to enter Radmin using the REST API. Is it possible to use REST API in redmin? How can I handle it? You can see the following: Most of the time, the API Requires authentication. To enable API-style authentication, you must check the Administration -> Settings -> Authentication API enabled. Then, authentication can be done in 2 different ways: Use your regular login / password via HTTP Basic Authentication do. Password in a script that is using your API key. The API key can be connected with each request in the following way: Close the "key" parameter Passed as a username with a random password via HTTP Basic authentication Passed an "X -admin-api-key "HTTP header (added to RedMine 1.1.0) You can access your API key from your account page (/ me / account) default layout Right hand Sector logged on panel. If you want to use you can use it: 1. HTML Basic Standards - P: // login: password@redmine.org/issues....