Hi..
Can we define limit of inout in text field i wan that after certain number of character the keyboard should get hide. i should code on which event of textfields or keyboard.
I dont know what it is called but you can see on this page http://carleypelletier.deviantart.com/gallery/#_browse if you click on a category you'll get a list and if there is a subcategory there will be a at the end. When clicking this the menu text moves left off the menu and the new categories are in. How do i do this type of menu? i'm open to any libs. It would be nice if i can fill it using json or a config file.
I happens to find that, when a live space page is loaded, inline images are fetched by https protocol instead of http protocol.
This doesn't make sense. The text part of live space is not fetched by https, why images are fetched with https? I bet the https way to fetch image just make the page loaded slower.
Is there any special advantage to choose https over http in this case?
Does a meta refresh tag require a full url?
I have code that looks like this, which seems to work just fine, but when I load it in lynx text browser, it says this is bad HTML. It seems to suggest that the full URL is required (http://mydomain.com/blah.htm).
The executable file of c++ will contain linkers, modules and others, i would like to look into its contents,
i'm using linux, how can i view contents of a.out?
which command should use to browse a.out, text editors wont show the contents......
Hello,
I have a TextBlock on my main window.
I would like to bind it's text to the window's title .. eg: myWindow.Title.
This has been bugging me all night, and I have Googled to death, any help is appreciated.
Thanks.
I want the validator for password text input.
At least one Upper case letter
At least one numeric character
At least one special character such as @, #, $, etc.
should be there in password how can i give it in action script or mxml.please help me.
Thanks.
I have turkish character problem in mysql database when adding content with tinymce from admin panel.
Charset is:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9"" />
How can I solve this?
Thanks in advance
I have a fairly extensive wiki on ZWiki on Zope (in turn on Plone). Most pages are in reStructured text format, but there are several in straight HTML as well.
What is the best approach to migrate those pages over to a MediaWiki wiki with pages converted to MediaWiki and HTML formats? Of course I'd like to automagically convert all links (internal and external).
I have in my url patterns,
urlpatterns += patterns('',
(r'^(?P<path>.*)$', 'django.views.static.serve',
{'document_root': '/home/tipu/Dropbox/dev/workspace/search/images'})
In my template when I do
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}style.css" />
It serves the css just fine. But the file logo.png, that's in the same directory as style.css, doesn't show when I do this:
<img src = "{{ MEDIA_URL }}logo.png" id = "logo" />
Any idea why?
I have a list which has 5 columns in it. Some of these fields help the user fill in the data but I don't want the user to modify these fields.
I have tried changing the field to readonly but that ends up hiding the field completely from the form. Is there a way to get the field to render out to the form as just text?
Maybe I need to use javascript to disable the fields programmatically - would prefer not to go down that route though..
Hi,
I'm looking at how to read a file in flash 10 here:
http://www.thedesilva.com/2008/11/flash-10-file-reference/
is there a way to initiate the file read from a drag and drop? For example, the user drags and drops a text file onto my flash element in the browser - can I initiate the file read from that?
Thanks
hi,
when I write a new text file in Java, I get these characters at the beginning of the file:
¨Ìt
This is the code:
public static void writeMAP(String filename, Object object) throws IOException {
ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(filename));
oos.writeObject(object);
oos.close();
}
thanks
Using C++/CLI and Windows Forms, I'm trying to make a simple scrollable list of labelled text controls as a way of displaying some data fields. I'm having trouble making a TableLayoutPanel scrollable - every combination of properties I've tried seems to result in some really peculiar side effects.
So I have two questions:
Is this the best way to do it.
If it is a reasonable approach, what magic combination of settings should I apply to the table layout panel to make it play ball?
I am using JFreeChart and want to be able to change the label on the range axis from a number to something more meaningful for the domain I am in. I only see options for customizing the look of the label and no way to override the content of the label based on the position of the tick.
Does anyone know how to override the text of the tickLabel?
I have a page with 5 buttons on top. I want the area below the buttons to contain an update panel that will display button 1's panel if they click button 1. If they click on Button 2, then I want button 2's update panel to replace the button 1 update panel. Each panel has stuff on it like check boxes and text boxes.
Is there a way to do this? Is there a more efficient way to do this?
How can I embed a CR + LF in a command I'm using at the Windows command prompt without actually issuing the command?
Example:
C:\Windows\system32>myprog -u user -p pass -text "Sincerely,\nRob"
Is it up to myprog to do handle the line break? I figured there must be some way to represent a line break that the Windows command line would recognize.
In my app the user generates text content. I want to enable the user to launch the Mail application, which then should contain a specified subject and message body. Like: You write a poem in my app and then want to send it to your new girlfriend. So you tap a mail icon and the Mail app opens, containing already an subject and message body with your poem inside.
Someone said there is a kind of URL mechanism for that?
How can I cast the object in a NSNotification to an integer and to a string? When I log the notification to the console I get...
NSConcreteNotification 0x20af70 {name = kMessageCountNotification; object = 1}
But when I set the text value of a UILabel to that value, I get 72855952
$.ajax({
method:"get",
url:"/details/",
data:"id="+id,
beforeSend:function(){
},
success:function(html){
$("#holder").html(html);
}
});
After I fill a div with a HTML from an AJAX call, this is my javascript at the top of /details/
<script type="text/javascript">
alert('hi');
</script>
MY DETAILS HTML CONTENT GOES HERE
But it's not working
Hi,
I am trying to format this line of code in my popup window, but i am facing unterminated string literal error.
Can somebody please tell me how best I could format this.
window.setTimeout("winId.document.write('<script src="../js/tiny_mce/tiny_mce.js" type="text/javascript"></script>\n')", 10);
Also point out if this particular line of code would work fine in the popup?
Hi,
Would like to write a script to detect the file size of the target of a link on a web page.
Right now I have a function that finds all links to PDF files (i.e. the href ends with '.pdf') and appends the string '[pdf]' to the innerText. I would like to extend it so that I can also append some text advising the user that the target is a large file (e.g. greater than 1MB).
Thanks
Hi all,
I've found this small code that sends email to gmail users. I'd like the body of the mail to contain html (for example, decoding a link for it to hold different text than the url it's pointing to).
How can this be done?
Thanks!
when i open a new xxx.xml file it doesnt write to the R.id my new var
example
when i write in xml :
<__Button android:text="New Game"
android:id="@+id/newGameButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"</Button
(the _ r from this web format boundaries )
in R it should write :
public static final int newGameButton=0x7f050013;
note : this is a xml i added as new to my project should i make something so the eclipse tool will write automatically to the R file?
I have a string of text that contains html, and I need to extract each url (most likely in img or a tags) to create a generic list of string objects. Is there an easy way to do this or will I have to resort to regular expressions?
If I have to resort to regular expressions, would you mind helping me out with that as well? :)