Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 400
Search took 0.38 seconds.
Search: Posts Made By: Harry Armadillo
Forum: JavaScript programming 07-09-2005, 12:55 PM
Replies: 4
Views: 2,236
Posted By Harry Armadillo
http://www.quirksmode.org/js/events_tradmod.html

http://www.quirksmode.org/js/events_tradmod.html
Forum: JavaScript programming 07-09-2005, 11:34 AM
Replies: 4
Views: 2,236
Posted By Harry Armadillo
attachEvent is an IE-only thing. The W3C standard...

attachEvent is an IE-only thing. The W3C standard is addEventListener (http://www.mozilla.org/docs/dom/domref/dom_el_ref31.html).

See also: http://www.quirksmode.org/js/events_advanced.html
Forum: JavaScript programming 07-08-2005, 08:40 AM
Replies: 3
Views: 834
Posted By Harry Armadillo
Or you could pass the form by reference (instead...

Or you could pass the form by reference (instead of by name).<script type='text/javascript'>
function enableButton(form) {
var a=true;
for (var i = 0; a && i < form.length; i++)
if...
Forum: JavaScript programming 07-08-2005, 06:54 AM
Replies: 2
Views: 885
Posted By Harry Armadillo
Like Glenn, I'm not sure exactly what you want....

Like Glenn, I'm not sure exactly what you want. But something about your post amused me, so I interpretted it as this:<script>
function BeholdTheText(){
var...
Forum: DOM and JSON scripting 07-08-2005, 06:22 AM
Replies: 23
Views: 4,475
Posted By Harry Armadillo
Willy's pop-up viewer code is a good example of...

Willy's pop-up viewer code is a good example of it, especially if you substitute local images (to simulate cached images that aren't even verified by eTag or modified date). Have the src assignment...
Forum: JavaScript programming 07-07-2005, 05:11 AM
Replies: 5
Views: 887
Posted By Harry Armadillo
function selAll(_v) { for(var...

function selAll(_v) {
for(var i=0;i<document.forms['delivery']['country_id[]'].length;i++)
document.forms['delivery']['country_id[]'][i].selected=_v;
}Note that using brackets in a name or...
Forum: JavaScript programming 07-07-2005, 05:00 AM
Replies: 2
Views: 637
Posted By Harry Armadillo
I'd be more comfortable with ...

I'd be more comfortable with

document.links[i].getElementsByTagName('img').length

as the test for image children. If you're into pretty, indented source then an image link could easily have a...
Forum: JavaScript programming 07-07-2005, 04:53 AM
Replies: 3
Views: 786
Posted By Harry Armadillo
1. We don't do your homework. 2. As you've...

1. We don't do your homework.

2. As you've been told before, java != javascript.
Forum: JavaScript programming 07-07-2005, 04:40 AM
Replies: 5
Views: 830
Posted By Harry Armadillo
var foo=document.getElementById('BD').style; ...

var foo=document.getElementById('BD').style;
document.myImage1.src = (foo.display == 'none')?'sminus.gif':'splus.gif';
foo.display = (foo.display == 'none')?'':'none';Slower, harder to read than...
Forum: JavaScript programming 07-06-2005, 11:55 AM
Replies: 4
Views: 757
Posted By Harry Armadillo
I would like to see that working part. If you do...

I would like to see that working part. If you do post it, please use code-tags (http://www.codingforums.com/misc.php?do=bbcode#code).
Forum: PHP 07-06-2005, 11:22 AM
Replies: 75
Views: 8,634
Posted By Harry Armadillo
Spirit, when you say 'save on the fly' instead of...

Spirit, when you say 'save on the fly' instead of in chunks, how often are you talking about? Contact the server with every change? Every few changes?

If you're thinking of sending the data...
Forum: JavaScript programming 07-06-2005, 11:04 AM
Replies: 5
Views: 687
Posted By Harry Armadillo
Actually, this.form refers the input's ancestral...

Actually, this.form refers the input's ancestral from. Rather that having to go through a chain of .parentNode and tests for .nodeName=='FORM', .form gives a direct reference. It's the complement to...
Forum: JavaScript programming 07-06-2005, 08:40 AM
Replies: 7
Views: 799
Posted By Harry Armadillo
Editing someone's user stylesheet...

Editing someone's user stylesheet (userContent.css for Firefox, name varies for IE) is fun. Make all images 16px by 16px, have links disappear when hovered, bold and italics get colorful backgrounds,...
Forum: DOM and JSON scripting 07-06-2005, 07:33 AM
Replies: 23
Views: 4,475
Posted By Harry Armadillo
Some interest stuff in that DOM manipulation code...

Some interest stuff in that DOM manipulation code (and some that strikes me as silly), but I didn't see anything that would interfere with the image-onload function.

I'm glad to see that...
Forum: JavaScript programming 07-06-2005, 05:28 AM
Replies: 3
Views: 747
Posted By Harry Armadillo
Good point on being out of luck on module...

Good point on being out of luck on module interaction for the javascript disabled. With the main purpose of the pages being dependent on scripts, I wouldn't worry too much about alternate navigation....
Forum: JavaScript programming 07-06-2005, 05:17 AM
Replies: 3
Views: 1,377
Posted By Harry Armadillo
When you load your table rows in the newRows...

When you load your table rows in the newRows array, the index number are not continuous. IE is complaining because you are giving appendChild nulls/undefineds, since newRows[i] doesn't alway contain...
Forum: JavaScript programming 07-05-2005, 02:27 PM
Replies: 4
Views: 1,014
Posted By Harry Armadillo
Sound like click-fraud to me -- open an...

Sound like click-fraud to me -- open an advertising link, demonstrate that you are a real and intested buyer with a couple clicks. Deploy it on computer(s) with various dial-up accounts (dynamic IPs...
Forum: JavaScript programming 07-05-2005, 02:20 PM
Replies: 3
Views: 747
Posted By Harry Armadillo
Finding the current page is no problem, but I...

Finding the current page is no problem, but I have other concerns. You seem to have to no fall-back navigation -- visitors who don't have javascript enabled will be completely unable to navigate. And...
Forum: DOM and JSON scripting 07-05-2005, 09:13 AM
Replies: 23
Views: 4,475
Posted By Harry Armadillo
If he'd posted elsewhere (solution or not), you'd...

If he'd posted elsewhere (solution or not), you'd have found it and posted a link to the other thread. ;)

I only got the briefest glimpse of the addition code before it was removed. Some of the...
Forum: DOM and JSON scripting 07-05-2005, 04:03 AM
Replies: 23
Views: 4,475
Posted By Harry Armadillo
_com, are you sure you want to abondon the...

_com, are you sure you want to abondon the thread? We can be a little rough with the criticism (and occasionally seem rude), but we do produce a lot of solutions and functioning code here at...
Forum: JavaScript programming 07-04-2005, 06:46 AM
Replies: 4
Views: 757
Posted By Harry Armadillo
First, read section 2, of this page...

First, read section 2, of this page (http://www.codingforums.com/postguide.htm).

Second, no. Security consideration prohibit reading the href (or any other properties) of a frame/window that isn't...
Forum: DOM and JSON scripting 07-04-2005, 04:43 AM
Replies: 23
Views: 4,475
Posted By Harry Armadillo
Have you actually tested this concept? If so why,...

Have you actually tested this concept? If so why, when I load this page fragment, do I get 5 alerts counting up to 5, despite the fact that my firewall indicates there were no outgoing requests (due...
Forum: JavaScript programming 07-04-2005, 04:06 AM
Replies: 31
Views: 2,804
Posted By Harry Armadillo
I clicked your link, got a popup warning, and I...

I clicked your link, got a popup warning, and I decided that I'm done with this thread.
Forum: DOM and JSON scripting 07-04-2005, 03:53 AM
Replies: 23
Views: 4,475
Posted By Harry Armadillo
onload should fire whether cached or not -- it'll...

onload should fire whether cached or not -- it'll just be really soon if the image is cached. And FWIW, when creating image elements dynamically I've found that I need to assign the onload/orerror...
Forum: JavaScript programming 07-03-2005, 07:37 AM
Replies: 2
Views: 1,013
Posted By Harry Armadillo
Where's the function isNonVide()? PS: use...

Where's the function isNonVide()?

PS: use [code] tags!
Showing results 1 to 25 of 400

 
Forum Jump

All times are GMT +1. The time now is 02:18 AM.