|
i need fileration of html table and pagenation using Jquery or javascript but should support by IE8
|
|
|
|
|
DataTables | Table plug-in for jQuery[^]
Supports IE6+, with jQuery 1.7 or higher.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
|
|
|
Sorry, no. This site does not provide code to order.
|
|
|
|
|
Hi,
I need a source code for an gear generator in Java.
I would like to create an program with which it is possible drawing gears with involute.
kind regards
|
|
|
|
|
1. This is not the Java forum.
2. This site does not provide code to order.
|
|
|
|
|
<pre>I need to regenerate the excel columns headers as well whenever the drop down changes.
I can't seems to find a suitable function.</pre> javascript
|
|
|
|
|
I want to build a web crawler that will take a list of urls and search those urls for events happening. I want the crawler to pick up details such as address, image urls, description of event, title of event. And anything else that would be useful for sombody wanting to know about an event. I would like to write this program in java or nodejs. Doing this project quickly and simply is important.
I have checked out nutch the java framework, but I had a difficult time getting going with it quickly. I want my web crawler to be up and running by the end of the week, so the simplest quickest solution is important.
What frameworks should I use and/or what advice do you have to complete such a project?
|
|
|
|
|
And please do not post the same question in multiple forums.
|
|
|
|
|
|
Hi Guys,
Hoping someone can help me out. I'm trying to display a thumbnail of an image but for some reason I can't seem to get the naturalHeight/naturalWidth or heigh/width of the image. I'm using the RadAsyncUpload control from Telerik in a Ajax environment. during debugging I can see all of the other details about the file but the height/widths are always 0.
Here's my script
<pre> <script type="text/javascript">
function OnClientFileSelected(sender, args) {
if ($telerik.isIE9 || $telerik.isIE8 || $telerik.isIE7) {
var input = args.get_fileInputField();
if (sender.isExtensionValid(input.value)) {
var img = document.createElement("img");
var thumbnail = document.getElementById("thumbnail");
thumbnail.appendChild(img);
if (img) {
img.style.visibility = "";
img.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = input.value;
}
}
}
else {
var file = args.get_fileInputField().files.item(args.get_rowIndex()),
index = 0;
while (!file) {
file = args.get_fileInputField().files.item(index);
index++;
}
var $row = $telerik.$(args.get_row());
showThumbnail(file, $row);
}
}
function showThumbnail(file, row) {
var image = document.createElement("img"),
thumbnail = document.getElementById(row.context.id),
breakLine = document.createElement("br");
image.file = file;
thumbnail.appendChild(breakLine);
thumbnail.appendChild(image);
var reader = new FileReader()
reader.onload = (function (aImg) {
return function (e) {
aImg.src = e.target.result;
};
}(image))
var ret = reader.readAsDataURL(file),
canvas = document.createElement("canvas");
ctx = canvas.getContext("2d");
image.onload = function () {
ctx.drawImage(image, 10, 10, 150, 180);
}
if (image.naturalWidth > image.naturalHeight) {
if (image.naturalWidth > MAX_WIDTH) {
height *= MAX_WIDTH / image.naturalWidth;
width = MAX_WIDTH;
}
} else {
if (image.naturalHeight > MAX_HEIGHT) {
width *= MAX_HEIGHT / image.naturalHeight;
height = MAX_HEIGHT;
}
}
var MAX_WIDTH = 800,
MAX_HEIGHT = 600,
width = image.naturalWidth,
height = image.naturalHeight;
canvas.width = width;
canvas.height = height;
var dataurl = canvas.toDataURL("image/png");
}
</script>
|
|
|
|
|
|
Create a js program that will add, subtract, divide, multiply 2 numbers then sum and difference must displayed on a modal the product anf quitient must be printed on the page
|
|
|
|
|
OK, I have done that. Next question please.
|
|
|
|
|
Thanks. Now submit it to myteacher@someschool.edu and say it is for Mr. I. M. Lazy.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I dont care. Just shut up ok 😊
|
|
|
|
|
Rhiz Mariel Diesta wrote: I dont care. We can agree on that.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
This is very easy to do. However, I am concerned at the laziness and rudeness you have shown. All you did is post your homework question but were too lazy to even ask something specific? Why is that?
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
GobblesGobbles wrote: too lazy
Look at that, a self-answering question.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
What is the code of this? Using notepad++
-> Create a js program that uses one variable "nme" this variable mustt have 5 elements. Data is your choice
|
|
|
|
|
There is an answer in the question itself,
Quote: one variable "nme" this variable mustt have 5 elements
That is an array, and secondly, in JavaScript data(type) is not even there. The following is all needed,
var nme = [
"one", "two", "three", "four", "five"
];
You can work out with other data types, and see how they work (such as having strings, numbers and other objects in a single array).
Array - JavaScript | MDN
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|