Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 336
Search took 0.83 seconds.
Search: Posts Made By: PhotoJoe47
Forum: JavaScript programming 01-16-2006, 04:08 AM
Replies: 17
Views: 1,741
Posted By PhotoJoe47
Hi greasonwolfe, I think what you are...

Hi greasonwolfe,

I think what you are looking for is parseFloat() and/or parseInt() functions.

It might be best to stick to parseFloat(). Here is an on-line reference for the syntax.
...
Forum: JavaScript programming 01-03-2006, 04:51 PM
Replies: 5
Views: 7,176
Posted By PhotoJoe47
"konithomimo", I think I found the reason...

"konithomimo",

I think I found the reason for the limit of 4,294,967,295 elements in a javascript array. That is the max size of an interger (-2,147,483,648 to 2,147,483,648)
Forum: JavaScript programming 01-03-2006, 07:39 AM
Replies: 6
Views: 867
Posted By PhotoJoe47
Ok ricky90, Have you thought about trying...

Ok ricky90,

Have you thought about trying to use AJAX?

Here is a link you might want to check out. They have articles and examples you might want to look at.
...
Forum: JavaScript programming 01-03-2006, 07:13 AM
Replies: 4
Views: 734
Posted By PhotoJoe47
Thanks glenngv, That is cool, as they say....

Thanks glenngv,

That is cool, as they say. I'm adding that to my growing collection example javascript codes. I starting to get so many examples that I will need to come up with a way to organize...
Forum: JavaScript programming 01-03-2006, 05:31 AM
Replies: 4
Views: 734
Posted By PhotoJoe47
Thanks glenngv, I thought I had tried...

Thanks glenngv,

I thought I had tried something similar to your code but could not get it to work. I must have had simple syntax error, like quotes in the wrong place etc.


function...
Forum: JavaScript programming 01-03-2006, 04:00 AM
Replies: 4
Views: 734
Posted By PhotoJoe47
Question Using the "this" keyword?

I'm interesting in learning how to use the keyword "this". I want to know all the ins & outs. I have seen a few examples using the keyword but I feel my knowledge is not complete. I have google...
Forum: JavaScript programming 01-03-2006, 12:45 AM
Replies: 6
Views: 867
Posted By PhotoJoe47
Now I may be mistaken, but I don't think your...

Now I may be mistaken, but I don't think your javascript does anything. The src needs to belong to some object. I do not see an object as being defined.

How about posting the code for the page in...
Forum: JavaScript programming 01-03-2006, 12:31 AM
Replies: 10
Views: 810
Posted By PhotoJoe47
Here is some code that will work cross browsers....

Here is some code that will work cross browsers. It will change the background color while the mouse is over the <a> tag and back the orginal color when the mouse is off the <a> tag.


<html>...
Forum: JavaScript programming 01-02-2006, 04:10 PM
Replies: 15
Views: 1,282
Posted By PhotoJoe47
Taking the first code that "coolhead " gave you...

Taking the first code that "coolhead " gave you and making a few of changes.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">...
Forum: JavaScript programming 01-02-2006, 05:14 AM
Replies: 8
Views: 884
Posted By PhotoJoe47
Well, I played around with my ideal and found I...

Well, I played around with my ideal and found I was wrong.

If you change the className several times only the last one will apply. All the other attributes will revert back to default or if they...
Forum: JavaScript programming 01-01-2006, 03:25 AM
Replies: 5
Views: 7,176
Posted By PhotoJoe47
I did a little searching but could not find a...

I did a little searching but could not find a reference that stated what the max size number of elements could be. So I did a little testing on my own. I used a web page from www.w3schools.com...
Forum: JavaScript programming 12-31-2005, 04:51 PM
Replies: 8
Views: 884
Posted By PhotoJoe47
I agree with "Bill Posters". I was just wondering...

I agree with "Bill Posters". I was just wondering why the original poster "roxii" wanted to change the "id" of a HTML element. Just in case he some reason other than trying to change the visible of...
Forum: JavaScript programming 12-30-2005, 02:23 PM
Replies: 3
Views: 648
Posted By PhotoJoe47
I'm not sure what you are trying to do. I have...

I'm not sure what you are trying to do. I have not used swf files (as of yet) but I did a quick qoogle for "javascript swf" and found 787 hits. On the first page I found a link to another forum that...
Forum: JavaScript programming 12-30-2005, 11:45 AM
Replies: 8
Views: 884
Posted By PhotoJoe47
Before I try to answer, why do you want to change...

Before I try to answer, why do you want to change the Id of a html tag?
Forum: JavaScript programming 12-24-2005, 01:40 PM
Replies: 4
Views: 1,421
Posted By PhotoJoe47
Hi again vwphillips, I was looking at this...

Hi again vwphillips,

I was looking at this message trying to decide how I could help him. I thought I had a solution and was in the proccess of writting my response when I needed to look at...
Forum: JavaScript programming 12-24-2005, 11:14 AM
Replies: 7
Views: 907
Posted By PhotoJoe47
I would be surprise if FF return an application...

I would be surprise if FF return an application name of Netscape. I have also read on this forum and elsewhere that you should test for browser features and not browser names. I don't know the exact...
Forum: JavaScript programming 12-23-2005, 11:41 PM
Replies: 4
Views: 1,202
Posted By PhotoJoe47
Hi vwphillips, I know we have talked about...

Hi vwphillips,

I know we have talked about the image object.onload and .complete before. I was wondering if we could use both. First the image object.onload to make sure the image is found and...
Forum: JavaScript programming 12-23-2005, 02:38 AM
Replies: 3
Views: 716
Posted By PhotoJoe47
I just recently posted a slide show javascript to...

I just recently posted a slide show javascript to the "Post A Javascript" sub forum of this forum. Here is a link to that message thread:

http://www.codingforums.com/showthread.php?t=73614

If...
Forum: DOM and JSON scripting 12-22-2005, 09:08 AM
Replies: 11
Views: 5,603
Posted By PhotoJoe47
Thanks for the link. It looks very interesting...

Thanks for the link. It looks very interesting and useful.
Forum: DOM and JSON scripting 12-22-2005, 09:06 AM
Replies: 11
Views: 5,603
Posted By PhotoJoe47
I guess your right, it's just that my javascript...

I guess your right, it's just that my javascript reference book shows examples without using the val. But it might be best practice to use the val keyword the first time you use the variable.

I...
Forum: JavaScript programming 12-21-2005, 04:37 PM
Replies: 6
Views: 852
Posted By PhotoJoe47
You could use a regExp to do that. Here are a...

You could use a regExp to do that. Here are a couple of tutorials for explaing how to use regExp.

http://www.javascriptkit.com/javatutors/re.shtml
...
Forum: DOM and JSON scripting 12-21-2005, 04:19 PM
Replies: 2
Views: 764
Posted By PhotoJoe47
Your syntax is a little off. ...

Your syntax is a little off.

document.getElementbyId("table3").background="the url of the image goes here"
Forum: DOM and JSON scripting 12-21-2005, 12:45 PM
Replies: 11
Views: 5,603
Posted By PhotoJoe47
Thanks "fci", That was just a typo on my...

Thanks "fci",

That was just a typo on my part I meant 0 not o. My right ring finger did not reach quite far enought. Also I don't think you are suppose to use val inside the for() function.

I...
Forum: JavaScript programming 12-20-2005, 05:45 AM
Replies: 8
Views: 940
Posted By PhotoJoe47
Soution I think.

After I did some studying and asked a couple of questions in the DOM scripting forum I came up with this test code:


<html>
<head>
<title>New Page 3</title>
<style type="text/css">

...
Forum: DOM and JSON scripting 12-20-2005, 01:30 AM
Replies: 11
Views: 5,603
Posted By PhotoJoe47
Thanks for the link. I fixed in the quote ...

Thanks for the link. I fixed in the quote

So in my example above.

var arrTD = document.getElementByType('td')

To access the <td> that had a property of class="something"

I would loop...
Showing results 1 to 25 of 336

 
Forum Jump

All times are GMT +1. The time now is 09:02 PM.