Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 1.99 seconds.
Search: Posts Made By: Arty Effem
Forum: JavaScript programming 10-03-2010, 06:44 PM
Replies: 5
Views: 3,974
Posted By Arty Effem
This will literally count down, but wouldn't it...

This will literally count down, but wouldn't it be more reliable to enable the button using the successful termination of the process?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
...
Forum: JavaScript programming 10-02-2010, 05:49 PM
Replies: 9
Views: 3,066
Posted By Arty Effem
No fear of that; I stand by everything I say.

No fear of that; I stand by everything I say.
Forum: JavaScript programming 10-02-2010, 05:05 AM
Replies: 9
Views: 3,066
Posted By Arty Effem
javascript:document.getElementById("_path").disabl...

javascript:document.getElementById("_path").disabled=false; although it seems rather suspicious that you should need to do that on your own site.
Forum: JavaScript programming 09-30-2010, 02:40 PM
Replies: 3
Views: 2,102
Posted By Arty Effem
checkboxgreen will refer to a single element not...

checkboxgreen will refer to a single element not an array, so there will be no length property. Your code must allow for that.Use the error console (http://veryuseful.info/errorconsole).
Forum: JavaScript programming 09-30-2010, 01:56 PM
Replies: 3
Views: 1,340
Posted By Arty Effem
Does it say 'file is not defined', 'File is not...

Does it say 'file is not defined', 'File is not defined' or 'FILE is not defined'? Probably the latter since you're passing FILE without defining it.
Forum: JavaScript programming 09-30-2010, 03:51 AM
Replies: 5
Views: 959
Posted By Arty Effem
For the Windows version it's Ctrl +Alt +C or go...

For the Windows version it's Ctrl +Alt +C or go through the Develop menu.

To get any realistic help, I think you'll need to post a live link.
Forum: JavaScript programming 09-29-2010, 04:37 PM
Replies: 11
Views: 1,993
Posted By Arty Effem
If you have to do it by name, you can just search...

If you have to do it by name, you can just search for it.function getAnchorByName( aName )
{
var anchRef = null, da = document.anchors;

for( var i = 0, len = da.length; i < len && !anchRef;...
Forum: JavaScript programming 09-27-2010, 09:56 PM
Replies: 4
Views: 1,376
Posted By Arty Effem
This has been asked countless times. Here's a...

This has been asked countless times. Here's a version with anti-repeat technology.
You can run it as an external file but don't include it in the <head>:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML...
Forum: JavaScript programming 09-27-2010, 10:54 AM
Replies: 49
Views: 125,308
Posted By Arty Effem
I noticed that in I.E. and Safari. You need a...

I noticed that in I.E. and Safari. You need a strict doctype at the top of all involved documents:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
...
Forum: JavaScript programming 09-26-2010, 05:00 PM
Replies: 49
Views: 125,308
Posted By Arty Effem
I have amended the code I gave in post #36. I...

I have amended the code I gave in post #36. I noticed a problem and also revised it to restore the parent's scrolled position. It's still called in the same way.
Forum: JavaScript programming 09-25-2010, 05:42 PM
Replies: 49
Views: 125,308
Posted By Arty Effem
It would be helpful to see this working, however...

It would be helpful to see this working, however there is an error in the code that may have something to do with the problem.

The statement if (...
Forum: JavaScript programming 09-25-2010, 12:38 PM
Replies: 2
Views: 1,250
Posted By Arty Effem
<a href = 'http://www.domain1.com' onclick =...

<a href = 'http://www.domain1.com' onclick = "window.open('http://www.domain1.com'); window.open('http://www.domain2.com'); window.open('http://www.domain3.com'); ...
Forum: JavaScript programming 09-24-2010, 01:00 AM
Replies: 49
Views: 125,308
Posted By Arty Effem
What causes the iframe to jump on initial load of...

What causes the iframe to jump on initial load of the parent page?

Do you mean on reload of the parent page of just the iframe?
Forum: JavaScript programming 09-22-2010, 04:42 PM
Replies: 5
Views: 799
Posted By Arty Effem
If you are trying to resize the iframe to match...

If you are trying to resize the iframe to match its content you can use the code below. If the content is from another domain, forget it.
<script type='text/javascript'>

function sizeToMyContent(...
Forum: JavaScript programming 09-20-2010, 11:35 AM
Replies: 4
Views: 690
Posted By Arty Effem
It should be called after the/each copy...

It should be called after the/each copy operation, whenever that may be.
If you still have problems, post the full code or a URL.
Forum: JavaScript programming 09-20-2010, 09:30 AM
Replies: 4
Views: 690
Posted By Arty Effem
=== Doesn't assign a value. The styled height...

=== Doesn't assign a value.
The styled height of an element may not represent its actual height.
You could try follwing the pattern set below but it's untested:function adjust()
{
if (...
Forum: JavaScript programming 09-19-2010, 02:01 PM
Replies: 2
Views: 660
Posted By Arty Effem
for (var cplCount = 0; cplCount <...

for (var cplCount = 0; cplCount < teamMembers.length; cplCount++)
{
document.write('The venue will be ' + pubs[cplCount] + ' and the players are ' + teamMembers[cplCount] + '<BR>' +
((cplCount...
Forum: JavaScript programming 09-17-2010, 12:26 PM
Replies: 4
Views: 807
Posted By Arty Effem
Put alert( q ); immediately above iframe=...

Put alert( q ); immediately above iframe= '.........

One way would be to ensure that q always begins with your domain.
Forum: JavaScript programming 09-17-2010, 05:17 AM
Replies: 4
Views: 807
Posted By Arty Effem
The immediately obvious thing to do is alert( q )...

The immediately obvious thing to do is alert( q ) immediately before its passed to the iframe src and check that it's what you expect.

BTW as the code stands there seems to be nothing preventing...
Forum: JavaScript programming 09-17-2010, 12:45 AM
Replies: 10
Views: 1,580
Posted By Arty Effem
Well I tested that function on a text file and it...

Well I tested that function on a text file and it worked. Do you have a URL?
Forum: JavaScript programming 09-17-2010, 12:04 AM
Replies: 10
Views: 1,580
Posted By Arty Effem
It's advisable to install the readystate handler...

It's advisable to install the readystate handler before calling send().
If you are not testing on an http server, status stays at 0.
Try this version:function loadAsyncContent()
{
var xxx =...
Forum: JavaScript programming 09-16-2010, 10:47 PM
Replies: 4
Views: 1,844
Posted By Arty Effem
There's now a better-documented version of this...

There's now a better-documented version of this script with demo here (http://scripterlative.com/files/maproll.htm).
Forum: JavaScript programming 09-16-2010, 04:01 AM
Replies: 2
Views: 1,044
Posted By Arty Effem
That page contains one iframe: id="blockrandom" ...

That page contains one iframe: id="blockrandom" name="iframe"
Its source page has links that try to call a function openWindow, which I'm sure would work if only the page included a script...
Forum: JavaScript programming 09-15-2010, 07:45 PM
Replies: 4
Views: 1,844
Posted By Arty Effem
Googling image +swap +usemap brings-up...

Googling image +swap +usemap brings-up http://www.irt.org/articles/js026/index.htm , which is pretty hideous but does do what you want.

It also brings up a thread from this forum...
Forum: JavaScript programming 09-13-2010, 08:47 PM
Replies: 2
Views: 1,097
Posted By Arty Effem
One fix is a cdata island and escaping of the /...

One fix is a cdata island and escaping of the / end tag character

<body>
<div id = "Text">Say something:</div>
<script type="text/javascript">
//<![CDATA[

el =...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 07:27 AM.