Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 1.13 seconds.
Search: Posts Made By: TinyScript
Forum: JavaScript programming 04-23-2011, 05:04 AM
Replies: 3
Views: 385
Posted By TinyScript
from notepad: file: save as: something.html ...

from notepad:

file: save as: something.html

click on something.html in the directory in which you save it
Forum: JavaScript programming 04-06-2011, 11:29 PM
Replies: 6
Views: 694
Posted By TinyScript
I added the buttons. I know... they need some CSS...

I added the buttons. I know... they need some CSS help


<html>
<head>
<title>Select Replacement</title>
<style type="text/css">
#SboxReplace { height:100px; width:200px; }
.SBoxLi {...
Forum: Geek News and Humour 04-02-2011, 09:17 PM
Replies: 46
Views: 11,099
Posted By TinyScript
LOL my browser crashed 3 seconds after the last...

LOL my browser crashed 3 seconds after the last post took.
Forum: Geek News and Humour 04-02-2011, 09:15 PM
Replies: 46
Views: 11,099
Posted By TinyScript
LAME I hate that firefox will no longer...

LAME

I hate that firefox will no longer refresh a page unless it's been navigated from. For example, I open a page from my quick start icon. It opens to google, the home page setting. I search a...
Forum: JavaScript programming 03-30-2011, 03:20 AM
Replies: 4
Views: 532
Posted By TinyScript
Is this just lucky, or did I figure it out...

Is this just lucky, or did I figure it out correctly? That would be amazing.


<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
...
Forum: JavaScript programming 03-30-2011, 02:57 AM
Replies: 4
Views: 532
Posted By TinyScript
I think this is the right math. Now , how to...

I think this is the right math.
Now , how to do the other side?

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Exercice...
Forum: JavaScript programming 03-30-2011, 01:12 AM
Replies: 4
Views: 532
Posted By TinyScript
Yeah, the script I'm using has a 3d wireframe...

Yeah, the script I'm using has a 3d wireframe that I'm building a method to make pie chart slices. The script handles all the perspective so I just need to find a method to use the xzy of the center...
Forum: JavaScript programming 03-30-2011, 12:14 AM
Replies: 4
Views: 532
Posted By TinyScript
perspective math

http://i54.tinypic.com/2622mmo.jpg
I'm making a 3d pie chart. I have the points and the correct method to fill everything but when the slice rotates I want to make the outer edge filled, but in...
Forum: Computer/PC discussions 03-26-2011, 09:57 PM
Replies: 3
Views: 1,356
Posted By TinyScript
Firefox refresh issues

I have trouble all of a sudden with firefox not reloading pages while I'm trying to make script changes. I have to close the page and the reopen it and the f5 does nothing also. Has anyone else had...
Forum: JavaScript programming 03-19-2011, 09:14 PM
Replies: 12
Views: 966
Posted By TinyScript
document.onmousedown = function(e){ ...

document.onmousedown = function(e){
e=!e?window.event:e; //arguments[0]||

var x=(e.pageX||e.clientX)-document.body.scrollLeft ;
var y=(e.pageY||e.clientY)-document.body.scrollTop;

...
Forum: JavaScript programming 03-19-2011, 07:52 PM
Replies: 12
Views: 966
Posted By TinyScript
document.onmousedown = function(e){ ...

document.onmousedown = function(e){
e=!e?window.event:e;
....
}
this is how you get the event in IE without breaking all the good browsers.
Forum: JavaScript programming 03-15-2011, 07:57 PM
Replies: 5
Views: 8,915
Posted By TinyScript
Here's the mousemove example <!DOCTYPE html>...

Here's the mousemove example

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>clip image</title>
</head>

<body>
Forum: JavaScript programming 03-15-2011, 07:37 PM
Replies: 5
Views: 8,915
Posted By TinyScript
<!DOCTYPE html> <html> <head> <meta...

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>clip image</title>
</head>

<body>
<canvas id='canvas' style="border: solid 1px;"...
Forum: JavaScript programming 03-12-2011, 06:55 PM
Replies: 1
Views: 1,273
Posted By TinyScript
I find that simply closing IE helps solve any...

I find that simply closing IE helps solve any problems with IE.

But your problem might be that you need to multiply the opacity value by 100 for the alpha value in the IE css
Forum: JavaScript programming 03-09-2011, 07:48 PM
Replies: 6
Views: 1,479
Posted By TinyScript
it says the image has the wrong MIME type ...

it says the image has the wrong MIME type text/html

Hope that helps.
Forum: DOM and JSON scripting 02-15-2011, 07:53 PM
Replies: 2
Views: 1,325
Posted By TinyScript
What you can do is make rectangles instead of...

What you can do is make rectangles instead of lines and use isPointInPath method to determine mousevents.

Make a global object to store mouse position.
use the canvas element to add the event...
Forum: JavaScript programming 02-06-2011, 01:05 AM
Replies: 7
Views: 985
Posted By TinyScript
here's my learning example Canvas html5 ...

here's my learning example

Canvas html5


<html><head>
<script src="excanvas.js"></script>
</head><body>
<script>
histogram = function () {}
Forum: JavaScript programming 02-02-2011, 05:09 PM
Replies: 11
Views: 1,087
Posted By TinyScript
this^

this^
Forum: JavaScript programming 02-02-2011, 01:51 AM
Replies: 11
Views: 1,087
Posted By TinyScript
let's move the onload function out of the body...

let's move the onload function out of the body tag to make it more clear.
And after the alert is run, we want to call the function touchrock.
Hope this helps


<html>
<head>
...
Forum: JavaScript programming 01-23-2011, 05:55 PM
Replies: 4
Views: 1,494
Posted By TinyScript
here's a script var sounds = {}; var...

here's a script


var sounds = {};
var canPlayWav = false;

function loadSpecificSound(key, wav, mp3) {
if(canPlayWav) {
sounds[key] = new Audio(wav);
} else {
Forum: JavaScript programming 01-18-2011, 04:04 AM
Replies: 2
Views: 1,358
Posted By TinyScript
it's time to stop coding for people still using...

it's time to stop coding for people still using IE6
Make the page tell them to upgrade
Forum: JavaScript programming 01-18-2011, 04:02 AM
Replies: 11
Views: 1,490
Posted By TinyScript
thank you for posting this quote: "When...

thank you for posting this quote:

"When given string arguments, setTimeout and setInterval act as eval. The string argument should be avoided."
-Douglas Crockford-
Forum: DOM and JSON scripting 01-17-2011, 06:38 PM
Replies: 1
Views: 994
Posted By TinyScript
Well, I made a couple of changes and finally made...

Well, I made a couple of changes and finally made it work as expected.

Even though the class create function was returning an annonymous function, the two arrays still must have had the same...
Forum: JavaScript programming 01-17-2011, 02:36 AM
Replies: 4
Views: 1,520
Posted By TinyScript
for(group in animation_JD){ for(item in...

for(group in animation_JD){
for(item in animation_JD[group]){
animation_JD[group][item]=....your code
}
}


I'm not sure what exactly you're having trouble with, but I think this might help.
Forum: JavaScript programming 01-15-2011, 07:11 PM
Replies: 9
Views: 2,311
Posted By TinyScript
I think the problem is you are declaring the x...

I think the problem is you are declaring the x variable. Remove the var x part before the loop. You are creating an object that you aren't using and that is scrwing up the loop.

x in the loop is a...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 12:41 PM.