I have a js running in my site that is for text scrolling.What is does is that it scrolls a text vertically upwards then holds for a second or two and then shows next text.Here you can have an idea of what i need and im using http://www.dynamicdrive.com/dynamicindex2/crosstick.htm
What i need now is a simple and shorter dynamic js for t...
I'm doing stuff related to parsing huge globs of textfiles, and was testing what input method to use.
There is not much of a difference using c++ std::ifstreams vs c FILE,
According to the documentation of zlib, it supports uncompressed files, and will read the file without decompression.
I'm seeing a difference from 12 seconds using ...
Hi,
With sifr, how do I make a font use the light weight version. I have...
var gillsans = { src: '/resources/swf/gillsans.swf' };
sIFR.activate(gillsans);
sIFR.replace(gillsans, {
selector: 'h1',
css: '.sIFR-root { background-color: #FFFFFF; color: #000000; text-transform:uppercase; }'
});
which is displaying regular Gill Sans, ...
Hey all.
I am looking for a fast and efficient protocol that can be used between different web services to send text-data (not binary data). Doesn't matter if the protocol is binary or text base.
Some conditions:
I has to be more "efficient" than normal XML which adds a lot of extra data and the tools to read/write is too heavy
It h...
Hello everyone!
I am writing a high-score sub-routine for a text-based game. Here's what I have so far.
void Game::loadHiScores(string filename)
{
fstream hiscores(filename.c_str()); // what flags are needed?
int score;
string name;
Score temp;
if (hiscores.is_open())
{
for (size_t i = 0; i < TOTAL_HISC...
I'm probably just being daft but my Google searches are not working out well.
I have a bunch of buttons i add in code that all have dynamic text. I've set a background image for each of these buttons since the default greybutton doesn't work well for my application.
This works perfectly and when the text size (or content) changes, the...
In a lot of real life implementations of applications we face the requirement to import some kind of (text) files. Usually we would implement some (hardcoded?) logic to validate the file (eg. proper header, proper number of delimiters, proper date/time value,etc.). Eventually also need to check for the existence of related data in a tabl...
I need an app where I can just copy a block of text and have it identify the typeface, color, size, etc. Is there such a thing?
...
Would I use a UILabel for that? Or is there something better?
...
Hi, I want to render some text on a canvas using WebGL, which API of WebGL should be used?
Note: "text" can be either plain text or HTML snippet with CSS style
...
I am trying to update language specific text files ("po files") for Ubercart, but it is unclear who/where these files are maintained. There are several places sited but I am not sure which is maintained?
http://ftp.drupal.org/files/translations/6.x/ubercart/
http://l10n.privnet.biz/translation_group/
Also a description of how to do t...
when user submit the form need to export form data to text file.exporting username ,password and email from form data to text file for forgot password.
please help us.
Thanks & Regard
pmms
...
we unable to split the string following code.please Help us.
<?php
$i=0;
$myFile = "testFile.txt";
$fh = fopen($myFile, 'a') or die("can't open file");
$stringData = "no\t";
fwrite($fh, $stringData);
$stringData = "username \t";
fwrite($fh, $stringData);
$stringData ="password \t";
fwrite ($fh,$stringData);
$newline ="\r\n";
fwrite ($...
I have a longer text saved in a String. I would like to print the text in two columns on a single page. How can I do this using Java Swing?
I don't understand how I can wrap the text when it's time to use a new line. I have read Lesson: Printing in the Java tutorial, but I haven't found any useful methods for working with text or String...
This question expands upon the one at abstract-class-numberformat-very-confused-about-getinstance. I feel that this question is different enough to merit being asked on its own.
In the answers to that question, it was stated that a code statement such as
NumberFormat en = NumberFormat.getInstance(Locale.US);
returns an object that is...
I'm hitting a block on what I thought would be a relatively simple task. I've written a script that searches an xhtml file searching for a particular tag in a particular line. if the tag is there - great, if not I want to modify the line of the file that needs to be updated. To accomplish this, i make a copy of the file with a "~" append...
I have looked everywhere and surprisingly can't find a good solution to this! I've got the following code that is supposed to read a text file and display it's contents. But it's not reading, for some reason. Am I doing something wrong?
FTR, I can't use PHP for this. It's gotta be Javascript.
var txtFile = new XMLHttpRequest();
txtFi...
I have a small space in which I would like to put writing. Problem is, if a long word is inputted, it flows off the side because there is no space.
I could do overflow:hidden, but this isn't what I am looking for. Ideally I would like the word to drop to a new line with a '-' before it.
The word is on a line of its own to begin with so...
Our webapp has a form with fields and values that change depending on values entered. Each time there is a change event on one of the form elements, we use an expensive AJAX call to update other elements on the page.
This works great for selects, radio buttons and checkboxes. The issue comes in when a user adds content to a text field, ...
i like to read check the text has multi line or single line and then i am going to read that multi lines and convert into single line how can i do this?
...