Hi. Having a slight issue with a slider plugin for Wordpress I am creating. I'm trying to get the text to slideUp at the beginning and slideDown just before the transition to the next image. This appears to work fine however after a few transition the slider that fades (top one) text starts to overlap; the text from the next image shows ...
I am creating a java application and I need to get the user PINs from the text file. I used the following code below, but is it not working properly. Could anyone please help me out soon.....
String typedPIN="";
Menus obj1=new Menus();
BufferedReader getIt=new BufferedReader(new InputStreamReader(System.in));
String u...
Hi there,
I have googled and come up dry.
I am looking for a way to annotate text selections (with overlaps) and i was wondering if anyone knows of something like this available already?
My goal/use case is that a number of users will be presented the same blob of text and should all be able to independently annotate various selecti...
Hi, I'm using the Tahoma font for my website's logo, and it doesn't look smooth, anti-aliased, like it does in my design on GIMP. Anyone know of ways to make HTML text look better, or am I going to have to just go with an image?
Also, could someone explain to me why text looks this way in HTML, and why it never seems like it looked this...
And how do you make the text disappear when you click into the field and reappear when you click out of it?
...
hi , all
I tried to write Arabic text in image with php ..
this is my code ..
<?php
header("Content-Type: image/png; charset=utf8");
$im = imagecreatetruecolor(150, 30);
// Create some colors
$white = imagecolorallocate($im, 100, 255, 255);
$grey = imagecolorallocate($im, 128, 128, 128);
$black = imagecolorallocate($im, 0, 0, 0);
i...
Hi
I'm attempting to hack a wordpress plugin to gain some extra functionality.
As it stands i've adjusted it so I can add a new textarea with it's own upload box.
I now need a way to get the ID of the new textarea, so I can pass the uploaded file text back to the correct textarea.
this is my code:
JQUERY:
<script type="text/jquery"...
I have strings like
var str = 'One & two & three';
rendered into HTML by the web server. I need to transform those strings into
'One & two & three'
Currently, that's what I am doing (with help of jQuery):
$(document.createElement('div')).html('{{ driver.person.name }}').text()
However I have an unsettling feeling that ...
Hey! Another small problem (isn't it a bug in jQuery?).
I've got a textarea like this:
<textarea>Something</textarea>
I want to erase "Something" after clicking, so:
$("textarea").click(function() {
$(this).text("");
});
Ok so far. There are problems when I want to change the "Something" text ONLY when there's "Something" in ...
Hi. I'm trying to get the text to slideUp on the first slide like it does on the rest of the slides. I've acheived this on the bottom slider, but not the top slider which uses the fade transition. Can anyone help me out? Here are the codes:
if( this.settings.direction == 'opacity') {
var text = '.lof-main-item-desc';
this....
What would be the best regular expression for tokenizing an English text?
By an English token, I mean an atom consisting of maximum number of characters that can be meaningfully used for NLP purposes. An analogy is a "token" in any programming language (e.g. in C, '{', '[', 'hello', '&', etc. can be tokens). There is one restriction: Th...
This code doesn't work what's wrong?
$(".re").focus(function() {
if($(this).attr("type") == "text") {
$(this).attr("type", "password");
}
});
It's supposed to change the input text type from text, to password, but doesn't work when I type in it after I get into focus on it; it's still text.
...
Hello. Method strongly promoted as an alternative to the deprecated methods MSDN writing files this clever, that's just scary:). He not only writes and appends the contents of the file, but also penetrates the written.
For example, create the following code:
Dim fl As IO.StreamReader = My.Computer.FileSystem.OpenTextFileReader("C:\src....
Hey everyone,
I want to be able to save an image as text in a xml file and I can't manage to find a efficient way to do it !
So far I tried :
QByteArray ImageAsByteArray;
QBuffer ImageBuffer(&ImageAsByteArray);
ImageBuffer.open(QIODevice::WriteOnly);
rImage.save(&ImageBuffer, "PNG");
return QString(ImageAsByteArray.toBase64());
D...
Hi, I was wondering if there is a way to embed some text on Google Maps. I searched the JS API and came up with some ideas, but I wasn't really satisfied with them.
The situation is that I draw some polygons on the map, and I want to show some numbers in that polygon. I implemented it with infoWindows now, but I want the numbers embedd...
When we are creating a dojo querycombo box then a text box and combobox arrow button is coming. In that text box is editable. I want to make this text box disable.
...
How to convert text to number, especially negative value:-
9,669.34 to 9,669.34
2,553.57- to (2,553.57)
When I used this formula, =SUBSTITUTE(A1,CHAR(160),"")+0, it works well but only for positive value. I rcv'd #VALUE! for all negative values.
...
As a hobby project, I had like to implement a Morse code encoder and decoder in C++ and Python (both). I was wondering the right data structure I should use for that. Not only is this question related to this specific project, but in general, when one has to make predefined text replacements, what is the best and the fastest way of doing...
From the big log file (about like 2532910 lines), the lines that I am looking for are very few (like 10 or 12). What is the best way to match and read these lines? My code is in c#. Is there a way a reader/stream can read only a pattern matching data?
Thanks
...
I was reading this article on warping text to splines and decided to play around with GraphicsPath.AddString which I had never used before.
I created a simple test Control to compare the three methods of drawing text: GraphicsPath.AddString, TextRenderer.DrawText, and Graphics.DrawString.
Here is the OnPaint method of my control.
...