is there any trick to run a Webservice automatically to check some date specific and performs some operations on particular date. like sending birthday email's and so on ?
http://stackoverflow.com/questions/3028161/project-help-needed-some-basic-concepts-great-confusion-because-of-lack-of-prope
where can i ask questions where my post will not be deleted because of "it difficult to say what is being asked" i mean general waste area covering questions like the one i asked in.... and please gve links to help forums where there are experts like you before closing this question thank you
Hi,
I'm trying to make a jquery tooltip that appears when a user mouses over a link. In my case the link is using display:block style so that it covers a large area. It works perfectly in Chrome and Firefox but in Internet Explorer it doesn't work at all. The tooltip doesn't show, the browsers own tooltip shows etc... IE!!!!
http://pastebin.com/1kBaMujV
Any ideas? Got to love internet explorer...
How do you send the content of a website form to an email address without disclosing the email address to the user.
Thanks!
PS: If at all possible, I would like this to be in HTML.
I was writing a "pluginable" function when I noticed the following behavior (tested in FF 3.5.9 with Firebug 1.5.3).
$.fn.computerMove = function () {
var board = $(this);
var emptySquares = board.find('div.clickable');
var randPosition = Math.floor(Math.random() * emptySquares.length);
emptySquares.each(function (index) {
if (index === randPosition) {
// logs a jQuery object
console.log($(this));
}
});
target = emptySquares[randPosition];
// logs a non-jQuery object
console.log(target);
// throws error: attr() not a function for target
board.placeMark({'position' : target.attr('id')});
}
I noticed the problem when the script threw an error at target.attr('id') (attr not a function). When I checked the log, I noticed that the output (in Firebug) for target was:
<div style="width: 97px; height: 97px;" class="square clickable" id="8"></div>
If I output $(target), or $(this) from the each() function, I get a nice jQuery object:
[ div#8.square ]
Now here comes my question: why does this happen, considering that find() seems to return an array of jQuery objects? Why do I have to do $() to target all over again?
[div#0.square, div#1.square, div#2.square, div#3.square, div#4.square, div#5.square, div#6.square, div#7.square, div#8.square]
Just a curiosity :).
Hello All,
I have a big problem with Google Chrome and its memory. My app is displaying to user several image charts and reloads them every 10s.
In the interval i have code like that
var image = new Image();
var src = 'myurl/image'+new Date().getTime();
image.onload = function() {
document.getElementById('myimage').src = src;
image.onload = image.onabort = image.onerror = null;
}
image.src = src;
So i have no memory leaks in Firefox and IE.
Here the response headers for images
Server Apache-Coyote/1.1
Vary *
Cache-Control no-store (// I try no-cache, must-revalidate and so on here)
Content-Type image/png
Content-Length 11131
Date Mon, 31 May 2010 14:00:28 GMT
Vary * taken from here
In about:cache page there is no my cached images.
If i enable purge-memory-button for chrome (--purge-memory-button parameter) it`s not help.
Images is in PNG24.
So i think that the problem is not in cache.
May be Google Chrome is not releasing memory for old images.
Please help. Any suggestions.
Thanks.
I am about to embark on my first outlook 2007 plugin.
I would like to create a new tool bar that will have a button that will initially be disabled.
When the user selects a message the button should be enabled... but only if the email is of a certain type of email...
This is where I need your expert advice, is there a way to quickly flag an email in outlook, so that in the email select event you can look for a property of that email...
for example...
on_select
if mail.type = "FromISP" then
I would prefer not to use the from field....
the other thing is during the send process I need to set the flag, I am doing this again using .net so I have full control over how the mail is created.
Any ideas would help...
Thanks
How to get live currency rates and quotes of stocks? It can be any country related. So that I can integrate them in my application. I just don't know where to start with. Looking forward for a right direction to start with.
Hello.
I'm developing a Flash game in ActionScript 2, and the issue if that this game has to count the time securely.
It can't count the time from the Date class because the Flash Player takes the time from the local computer, and the user can change the local time so the time reported would be fake.
I haven't considerend to take the time from the server because there's a 3WH (3 way handshake) time and it would not be practical.
What do you sugest me??
XNA games have an Unload() method, where content is supposed to be unloaded. But what is the point of this? If all the content is being unloaded, then the game must be exiting, in which case everything would be garbage collected anyway, right?
Hello everyone,
I notice this site has a wealth of software professionals and I am investigating a career change to Software Engineering:
*Particularly, I would like to know how likely one would be able to work from home or another country over the internet. Is this something that can be done and what does it usually entail? (time?,experience?, specific companies?, etc)
*Currently, I am a teacher but always had a passion for tech. I am interested in a MS - Software Engineering program designed for individuals based from another field. Is this a wise degree to obtain? Would I be just wasting my time and money obtaining this degree? (I'm suspicious about this program and the feasibility of obtaining employment without a healthy CS background)
Thanks for any assistance you can provide!
Hello,
Let's say I have this:
<div id="wrapper">
<pre class="highlight">
$(function(){
// hide all links except for the first
$('ul.child:not(:first)').hide();
$("a.slide:first").css("background-color","#FF9900");
/*
The comment goes here.
*/
</pre>
</div>
With Jquery, I want to find what is in between:
/*
The comment goes here.
*/
Including those comment signs. So it should return:
/*
The comment goes here.
*/
How to do that, how to find text between two points?
Thanks
Hi,
If you are wishing to work for a software company where you would like to improve your software skills the best and to have a possibility to develop your long-term career, what main points you would question?
What could be the best clues for you to say: "O.K. This is the place!" ?
Thanks
Many Windows apps (like Skype or MSN for instance) don't let you start multiple instances, rather trying to run it a 2nd time just leaves the existing version running.
Is this typically done in some simple way - the start-menu shortcut is a 'wrapper' app around the main app - or is there some registry magic you can do to delegate the problem to Windows itself?
Specifically dealing with Win32 here (unmanaged C++) but happy to hear more general solutions as long as they are workable on Windows XP or alter.
So I'm making a lotto game. You have to enter 6 lucky numbers and if they're the same as the lotto numbers then you win.
Here is my code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OefeningExaam
{
class Program
{
static void Main(string[] args)
{
Random getal = new Random();
int[] lottotrekking = new int[6];
Console.WriteLine("Geef je geluksgetallen in <tussen 1 en 42>");
Console.WriteLine("Geef je eerste getal in");
int getal1 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Geef je tweede getal in");
int getal2 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Geef je derde getal in");
int getal3 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Geef je vierde getal in");
int getal4 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Geef je vijfde getal in");
int getal5 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Geef je zesde getal in");
int getal6 = Convert.ToInt32(Console.ReadLine());
while (getal1 != lottotrekking[0] || getal2 != lottotrekking[1] || getal3 != lottotrekking[2] || getal4 != lottotrekking[3] || getal5 != lottotrekking[4] || getal5 != lottotrekking[4] || getal6 != lottotrekking[5])
{
for (int i = 0; i < lottotrekking.Length; i++)
{
int cijfer = getal.Next(1, 43);
lottotrekking[i] = cijfer;
Console.WriteLine(lottotrekking[0] + "\t " + lottotrekking[1] + "\t " + lottotrekking[2] + "\t " + lottotrekking[3] + "\t " + lottotrekking[4] + "\t " + lottotrekking[5]);
}
}
if (getal1 == lottotrekking[0] && getal2 == lottotrekking[1] && getal3 == lottotrekking[2] && getal4 == lottotrekking[3] && getal5 == lottotrekking[4] && getal5 == lottotrekking[4] && getal6 == lottotrekking[5])
{
Console.WriteLine(lottotrekking[0] + " " + lottotrekking[1] + " " + lottotrekking[2] + " " + lottotrekking[3] + " " + lottotrekking[4] + " " + lottotrekking[5]);
}
Console.ReadLine();
}
}
}
The problem is that the program just keeps going and doesn't stop. It's supposed to stop when the lucky numbers are the same as the lotto numbers.
How does it look like to be working in a foreign country?
can u share your experiences with me?
Is MCPD or MCITP certification and TOEFL-IELTS-Cambridge degrees will be enough for working in a foreign country?
What needs to be done to find an employer to work in his/her company?
EDIT:
I live in Turkey,Istanbul and i like to work in one of these countries:
USA
UK
Germany
Italy
France
Sweden
Denmark
Finland
Norway
Switzerland
Austria
Holland
Belgium
Canada
i need to make quick moves about my career and my path nowadays
Thanks a lot
When a user clicks a button I need to create a .bmp file on the server. After the .bmp file is created I will load it into the html page. Would Ajax be the best way to accomplish this?
Hey guys,
I have been developing a game using Flex, and used the Timer class to keep the main loop going.
However, when I tried using the enterFrame event to do the main loop, there were a few problems.
First of all, physics simulation seemed way too fast. Is the enterFrame event called more than once per frame? I set the application's global frame rate to 24, so shouldn't the application set off the event every 1/24 of a second?
And the second problem is that when the game runs like this, some MXML components that are added are not shown. I have absolutely no idea why this happens.
Help me please?!?
Thanks.
I see a lot of C#/Java jobs which are in the financial sector and require finance knowledge. Are there any good resources to get a grounding in the financial knowledge required (books, etc)? I know this won't match experience but it will help get a foot in the door in a job which states finance knowledge as being desirable but not required.
Thanks
I am looking fr someone to make me two website templates for my site for free.
Here is a quick design of what I want:(Took me 2 minutes in Paint)
http:/ /i50.tinypic.com/33p9aut.jpg (You have to push backspace on the first link to join up the http:/ and the other /)and http://i50.tinypic.com/2qmogoo.jpg
Email me at [email protected] or [email protected] for more information
Hi. I'm building a simple app and trying to test DB result output. But unfortunately all I'm getting is an array of size 0. Here's the controller code excerpt:
$data['query'] = $this->db->query('SELECT role_id, role_privilege FROM role');
$this->load->view('welcome_message', $data);
And a view code excerpt:
<?php
echo count($query->result_array())."<br/>";
foreach ($query->result() as $row){
echo $row->role_id . '<br/>';
echo $row->role_privilege . '<br/>';
}
echo 'Total result '.$query->num_rows();
?>
And what I get is next:
0
Total result
Running query from a command line gives a 2 rowed output. Can someone point out what i'm missing?