text

Display text vertically (rotated 90 degrees) in IE and Firefox

I have a page that houses an asp GridView and I would like to display the text vertically to allow it to print better. Currently I'm using css to do that: .rotate { -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); width: 25px; } Which works in FF except the 25px width is ignored and in IE the width is being set correc...

what would be the best way to have an Android homescreen widget alternate between textviews?

I'm trying to create a homescreen Android widget and have it alternate between two different textviews I would send to it. Is this possible? ...

Reading a text document character by character

I am reading a text file character by character using ifstream infile.get() in an infinite while loop. This sits inside an infinite while loop, and should break out of it once the end of file condition is reached. (EOF). The while loop itself sits within a function of type void. Here is the pseudo-code: void function (...) { while...

write a text file using PHP to a specific URL of the same server

hello folks, I have a php script that writes a text file to the same directory where the script is. Now the problem is, the script gets a URL from some other script. Now the new text file is supposed to be written to this provided location from the last step. The provided location is in URL format: "www.example.com/main/foo/" Is there a...

css text rotate - text only , not parent element

on this page: https://www.bcidaho.com/mammography/ if you click "find a screening center" a table of information comes up... how can i rotate the text in the last 5 cells? obviously cross browser would help... this would allow the table to fit properly... and do i have to set a height on the TDs to make it fit right? ...

Remove caret from HTML text input

I'm trying to create a hidden textfield for an iphone specific site, basically I've taken a textfield, hidden all of its elements and show an image instead, when clicked this pops up an onscreen keyboard, as well as submitting when the form loses focus. What I can't get rid of is the text caret. It flashes at me as if I'm some loser who...

PHP to search inside 30,000 text files.

I have a directory of about 30,000 text files and I'd like to search inside each to find if they contain a specified text. How can I do this effectively in PHP? ...

CL Editor in Java.

Trying to code a basic text editor to play around with Java's file objects and classes. What I cannot seem to figure out is how to go about developing something like the 'nano' interface. Or 'vim' interface, for that matter. File creation is not a problem, its editing on the fly, and post-creation editing, that has just got me. Any ide...

Compiling cairo and pango --with-included-modules

I'm trying to compile cairo together with pango to enable advanced font rendering in my application. I got it to work, but I cannot use unicode characters (i.e. I tested with Chinese character). When I run my application I get this message: (process:42776): Pango-WARNING **: Failed to load Pango module '/Users/pollux/Downloads/cairo_p...

How to convert Matlab variables to .dat (text) file with headers

EDITED QUESTION: I have 2500 rows x 100 columns seismic data in variable named avg_seismic_data_models. I also have 2500 rows x 100 columns variable 'X' and similar size matrix variable 'Y', both containing the co-ordinates. I want to save the values of this variable in a text (.dat) file which must have 302 header lines in the followi...

ipnoe development ..need to fade text over a back ground image

i wish to have a lable with text that appears and the slowly fades over a background image. and have a lable on the image with text but i wish it to stay for i second and then gradualy fade im using xcode and utalising interface builder. thanks ...

How to get the value of span tag based on css class in jquery?

How to get the value of span tag based on css class in jquery? <span class="page-numbers current">3</span> I used var pageno = $(".page-numbers current").val(); alert(pageno); it doesnt seem to work.any suggestion.. EDIT:i am using jquery pagination plugin for pagination... for first page 1 and prev are assigned css class class...

AJAX.Upload Plugin

I am using the Ajax.Upload plugin (http://valums.com/ajax-upload/). I am trying to use the File Upload with text fields to submit it all to just one backend PHP file. The site mentions 'If you want to pass additional data from textfields use setData method in a onSubmit callback.' How can I set the parameters? Thanks. Also, if there a...

Matching filenames with id

I have 1 text file which contains numbers from 1 to 11644. Beside the numbers are the names of the xml files that i have in another folder. I have a total of 8466 xml files. I need to match the filename of all the xml files with the id in the text file and extract the value of the id out. All of the id are in random position. An example ...

html elements text/hidden along with file should be submitted?

how to submit html elements text, hidden etc., along with file element? While using multipart for file element, the other elements are not read, like request.getParameter("") gives me null for other text/hidden elements... please help me in this with the solution... Thanks. Narban. ...

clear input boxes on button click with javascript

hi... I've a program which creates text input boxes dynamically. I want to clear the contents of the boxes on the click of clear button. var elems = document.getElementsByClassName(CLId); var myLength = elems.length; var total = 0; for (var i = 0; i < myLength; ++i) { if(elems[i].value != null && elems[i].value > 0){ var el = el...

Type mapping mysql typ text to java hibernate!

What is the correct mapping type from MySql data type text to java using hibernate? @Column(name = "STACKTRACE", length = Integer.MAX_VALUE) public String getStacktrace() { return this.stacktrace; } ...

Select and copy text from dialog in wxPython

I have a wxPython app, and in this app, I can select and copy text from various frames, but I can't do so from dialogs. Is there a way to do this? I understand I could probably do this by putting some kind of TextCtrl in the dialog, but I'd like to be able to do this from a standard looking dialog. EDIT: Sorry, I should have been mor...

In SDL do I need to free the surface if I re-render text?

if I use the following code... message = TTF_RenderText_Solid( font, "Lorem Ipsum", textColor ); Do I need to free message before I can do this message = TTF_RenderText_Solid( font, "Lorem Ipsum part 2", textColor ); i.e. does it give me a new surface (and so I have to clean up the old one) or does it just blit over the old one? ...

Drawing rich text on iPhone using CoreGraphics

I'm showing a Twitter feed in a UITableView on the iPhone. Scrolling performance is an issue, so I'm doing my own drawing in table cells -- that is, cells have no subviews, and they draw their content with drawRect:. In drawRect: cells draw tweets' text using the drawAtPoint:forWidth:withFont:minFontSize:actualFontSize:lineBreakMode:ba...