Posts

CSS file-input hide path -

संभव डुप्लिकेट: हाय! क्या ब्राउज बटन को रखने के लिए इनपुट-फाइल पथ छिपाना संभव है? धन्यवाद दुर्भाग्य से फ़ाइल इनपुट शैली-योग्य नहीं है, और यह प्रत्येक ब्राउज़र में अलग तरीके से दिखाता है। तो कम से कम कहने के लिए किसी तरह का कोई समाधान हैक होता है। एक समाधान इनपुट के पीछे एक छवि रखना है, और 0 की अस्पष्टता सेट करना है। मैं ट्यूटोरियल का पालन करना चाहूंगा।

How to change background color of a textarea using JavaScript -

I just want to know how I can change the color of the color of the color of the text in a text box I am able to paint, font and shape text, but the background does not seem to work in the same way. My code for text color and background is: script: function set color (where, color) {if (where == "background color") document .getElementById ('Textarea'). Style.backgroundColor = Color; If (where == "color text") document.getElementById ('textarea'). Style.color = Color; } HTML: & lt; P & gt; Card color: & lt; Input type = "text" name = "backgroundcolour" size = "10" onchange = "setcolor ('backgroundcolour', this.value)" & gt; & Lt; Br> Text color: & lt; Input type = "text" name = "colourtext" size = "10" onchange = "setColor ('colourtext', this.value)" & gt; & Lt; Br> & Lt; / P & gt; & Lt; Texta...

javascript - Animate video scroller -

मेरे पास एक स्कॉलर आइकन वाला एक div है: .ui-slider { शीर्ष: 0; ऊंचाई: 100%; बाएं: 0; सही: 0; चौड़ाई: 100%! महत्वपूर्ण; फ्लोट: कोई नहीं! महत्वपूर्ण; मार्जिन: 0 ऑटो! महत्वपूर्ण; स्थिति: पूर्ण; Z- सूचकांक: 1; प्रदर्शन क्षेत्र; स्थिति: रिश्तेदार; पाठ संरेखित करें: बायां; } .ui-slider-handle {स्थिति: पूर्ण; Z- सूचकांक: 2; चौड़ाई: 16px; ऊंचाई: 16px; कर्सर: डिफ़ॉल्ट; } मैं इसे कोड में इस तरह उपयोग करता हूं: & lt; div class = "ui-slider" & gt; & Lt; a href = "#" वर्ग = "ui-slider-handle" style = "left: 0px;" id = "गिरावट" / & gt; & lt; / div & gt; मैं उपयोगकर्ता के माउस के साथ ui-slider-handle चेतन करना चाहता हूं (जैसे कि वीडियो मूवी में - तो वह उस पर स्क्रॉल कर सकता है)। कर्सर को उपयोगकर्ता के माउस या कुंजीपटल में सही कुंजी के साथ चलाना, div की चौड़ाई और फिल्म के आकार के लिए प्रासंगिक होना चाहिए। मैं यह कैसे कर सकता हूँ? मुझे लगता है कि आप अपने div को स्थानांतरित करना चाहते हैं माउस के संबंध में...

How do I list multiple items in MySQL? -

What is the correct syntax for the following code: SELECT * from WHERE x = 'Y' and ID! = '10, 11, 143 ' This part I'm not sure is listing several IDs. If id is numeric, then you can use it from SELECT * is not in WHERE x = 'Y' and id (10,11,143) or SELECT * from WHERE x = 'y' and id ('10 ',' 11 ',' 143 ') for string.

iphone - How to detect zoom scale of UIWebView -

I want to increase the height of UIWebView , while user zoom in (like the default mail app in the iPhone ). So, to find the scrollview in the webview and to use UIScrollViewDelegate to add the scrollViewDidZoom zoom scale to add the height of the webview on this method Have tried the code below. // MessageAppDelegate.h @interface MessageAppDelegate: NSObject & LT; UIApplicationDelegate, UIWebViewDelegate, UIScrollViewDelegate & gt; {UIWebView * webview; UIScrollView * scrollview; } //MessageAppDelegate.m - (bool) Application: (UIApplication *) application didFinishLaunchingWithOptions: (NSDictionary *) launchOptions {[self.window makeKeyAndVisible]; Webview = [[UIWebView alloc] initWithFrame: CGRectMake (0, 150, 320, 100)]; Webview.delegate = self; Webview.scalesPageToFit = Yes; Webview.userInteractionEnabled = Yes; [Webview Load HTML String: @ "Meta Name = \" Viewport \ "content = \" width = device-width, initial-scale = 1.0, max-scale = 6.0 use...

javascript - Why should I put external resources in the html head? -

I like to know that people say "put external resins on the head of the page", such as: & lt; Head & gt; & Lt; Script type = "text / javascript" src = "settings / myJavascript.js" & gt; & Lt; / Script & gt; & Lt; Title & gt; Title & lt; / Title & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = UTF-8" /> & Lt; Link type = "text / css" rel = "stylesheet" href = "settings / style.css" title = "style" media = "all" /> & Lt; / Head & gt; Should these resources be added only on the page when it requires those resources? For example, while programming on PHP, if I have a page that requires some CSS instead of the other, then this link type or script src that page Without loading everything on top, right? I get many suggestions on the forum / community which put everyone in the head ... What...

android - Custom Quick Action on click on widget -

मुझे एक समस्या है कन्स्ट्रक्टर का क्विक एक्शन qa = नया त्वरित एक्शन (वी); देखने की आवश्यकता है, लेकिन मैं AppWidgetProvider में मूल दृश्य कैसे प्राप्त कर सकता हूं? यह मैं रजिस्टर क्लिक करने के लिए उपयोग करता हूं लंबित कार्रवाई PendingIntent = PendingIntent.getBroadcast (संदर्भ, 0, सक्रिय, 0); RemoteViews.setOnClickPendingIntent (R.id.imageButton1, एक्शन पेंडिंगटेंट); अगला मैं अपने त्वरित एक्शन से '' बनाने के लिए दृश्य प्राप्त करने का प्रयास करता हूं mView = mView.findViewById (R.layout.main); Qa = नया त्वरित एक्शन (mView); मैं क्या जानता हूं: QuickAction का दृश्य RemoteView के साथ काम नहीं करता है शायद आपको ऐसा करने में सक्षम करने के लिए क्विकएक्शन एक्सएमएल के कोड को मोड़ना होगा। हालांकि, मैं निश्चित रूप से सुझाव देता हूं कि अगर आपको एंड्रॉइड में अनुकूलित दृश्य का पर्याप्त ज्ञान नहीं है, तो आपको इस पर समय बर्बाद नहीं करना चाहिए:)