background-color:transparent doesnt work on SELECTs in browsers other than FireFox.
So how I specify background-color:transparent for FF alone and background-color:#something for others ?
Hello everyone! I try to learn java for android devices..
i have to create the update function. But still have one question: How????
in class root
public void update(){
maindebug("update"); // This is my debug function
}
public void run(){
while(isRunning){ // isRunning is a boolean variable
SystemClock.sleep(100);
update();
}
}
and inside onCreate
run();
but it doesnt work :(
Hi!
I'm working in a website were we update the content of a div using Jquery.
Inside the content we use to update the div there are some buttons with jquery actions attached.
The first time the document is loaded lightbox is OK, but after the div content is updated the jquery lightbox doesnt works.
Any comments welcome ;)
I want to replace all pixels in a rectangular region of a Bitmap with 'transparent white' - i.e., a=0, b=255, r=255, g=255.
FillRectangle doesnt do this - given a transparent brush, the existing pixels are unchanged.
Do I need to use SetPixel individually for each pixel in the rectangle?
I have a mainView. To this view, I am adding a view of the same size. When the mainView(the background) rotates, its being detected but the subview doesnt have any idea about being rotated. And its functions are not even being called. Even when the program launches too, if I am in landscape mode, its the same way.
How can I make the subView know that the device is being rotated?
HI guys,
When im trying to resize datagridview columns the resize cursor appears only when i roll over header. However, when i roll over in between cells, resize cursor doesnt show at all.
I have noticed if i set ColumnHeadersVisible = false it fixes the problem and i see resize cursor between columns. However, i need header to be visible, any idea how to make it work all together?
Thanks!
i got an iframe in an echo:
<iframe width='100%' height='100'>$content</iframe>
$content = eval ( "\$bugs = \"" . gettemplate ('bugs') . "\";" );
but it doesnt work.
how can i use the eval function from php to show the page in an iframe?
thnx!
I'm running the latest Mercurial and Python 2.6; IIS6 is using the wildcard ISAPI method to attach the site to the Mecurial hgwebdir_wsgi
[paths]
\ = \\COMP3254\TestRepo\*
[web]
baseurl = /
allow_push = *
push_ssl = false
style = monoblue
The setup works perfectly if I reference the local drive E:\repo* but doesnt work if I specify the network as above; I've given the server (MERCDEV01$) full permissions on the shared folder on COMP3254, I can't think of any other reason it wouldn't work.
Any ideas?
How to create cookie, which will work on all pages over choosen site?
Using cookie plugin.
Code must add cookie "movie_check" with value "no", which can be used over all pages on site "www.site.com" (were script is implemented). Expires after 365 days.
Tryed this (doesnt work):
$.cookie("movie_check", "no", {expires: 365, domain: 'www.site.com'});
Thanks.
I have
update NewLeaderBoards set MonthlyRank=(Select RowNumber() from LeaderBoards)
I tried it this way -
(Select RowNumber() from LeaderBoards) as NewRanks
update NewLeaderBoards set MonthlyRank = NewRanks
But it doesnt work for me..Can anyone suggest me how can i perform an update in such a way..
int userHP = 100;
int enemyHP = rand() % ((userHP - 50) - (userHP - 75)) + 1;
okay, for some reason this doesnt seem to work right, im trying to get 50 -25 hp for enemys.
also id rather it be a percentage... like
int enemyHP = rand() % ((userHP / 50%) - (userHP / 75%)) + 1;
but id like to stick with integers and not mess with floats or doubles... can someone help me?
I want regular expression that checks
that the string doesnt start with an
empty space.
Some what like this i want to do :
Is the below ValidationExpression right for it :
string ValidationExpression = @"/^[^ ]/";
if (!String.IsNullOrEmpty(GroupName) && !Regex.IsMatch(GroupName, ValidationExpression))
{
}
I have a number of currency values in a form select box (i.e. "£ ;2,500")... when the form is rendered though it keeps the £ as is, is there any way to convert it to an actual pound sign?
Please note, the space before the ; sign is intentional (so that stackoverflow doesnt render it)
Hello,
i got a MySql DB.
There is a table with products and orders.
Structure:
Products: product_id, name, manufacturers_id
Orders: orders_id, product_id, quantitiy
Now I want to get all orders (show only products where product id=1).
I tried:
SELECT
orders.orders_id,
orders.product_od
FROM products, orders
WHERE products.manufacturers_id = 1
GROUP BY orders_id
ORDER BY orders_id
But this doesnt work
correct me if im wrong, but isn't distributed SCMs for OS projects while centralized SCMs are better for corporate/private projects?
cause with eg. mercurial anyone gets an exact copy of the repository with FULL history features, while with centralized you only get the latest working copy.
im more focused on private projects so i wonder if its better with centralized SCMs or doesnt it matter?
I have the following code and it should return just one value (id) from mysql table. The following code doesnt work. How can I output it without creating arrays and all this stuff, just a simple output of one value.
$query = "SELECT id FROM users_entity WHERE username = 'Admin' ";
$result = map_query($query);
echo $result;
I have the following code:
<div id="DivPassword" title="test" >
I want to change the div title and I have the following code:
function ChangeAttribute() {
$("#DivPassword")
.attr('title', 'Photo by Kelly Clark');
$('#DivPassword').dialog('open');
return false;
}
When the dialog is opened, the title is still test! if I dont assign any title to the div, the dialog doesnt show any title. How can I correct that?
Is there a way to know if all the properties in an object are empty. My object represents fields from database and I want to know if a particular record is present or not. NULL doesnt seem to work.
When the browser closes, I want the session to end = logged out.
The FormAuthenticationTicket class doesnt' have a overload that is suitable for me.
I don't want to set the expires property, so when the user closes the browser it logs him out.
But I need: version, Name, UserData
So I guess I have to create my own cookie?
is there a way to create a custom cookie, but still uses forms authentication to encrypt and decrypt things?
Hibernate doesnt seem to generate a notnull constraint on a field I marked as naturalID. Is this normal?
@MappedSuperclass
public class AbstractDomainObject extends PersistentObject {
@NaturalId
private String code;
DB Schema: CONSTRAINT SYS_CT_47 UNIQUE(CODE)
There is no not null constraint here.
Hi friends,
when I run the url at localhost for a php file like:
http://localhost/project/admin/
it doesnt open the index.php, but gives panel for downloading the file with the message below :/
You have chosen to open
which is a: application/x-httpd-php
from: http://localhost
What should Firefox do with this file?
Openwith - Save... etc...
any idea what is going on? :(
appreciate helps!! thanks a lot
I have a long running thread made from Thread.Start(). It spawns a background thread using QueueUserWorkItem which sleeps most of the time.
Then the class-owner get disposed I call thread1.Join() but naturally it doesnt return because its child background thread is sleeping.
What would be the right solution to gracefully terminate a thread which has other threads with little hassle?
Thanks
Hi All,
I am trying to use literalcontrol to add a button as input type="submit"
litLevelList.Text += string.Format(" < input type='submit' id='{0}' value='{1}' name='{2}' >", btnSave.ClientID, Lang.Trans("Save Changes " ) , btnSave. ??);
I could get the button ID using CLientID but without the name the data doesnt seems to be submitted.
Could anyone tell me how i could access the name value rendered by ASP for a button control.
thanks,
vishnu