Ok, thanks.
What would be easiest method of doing this with minimal server-side scripting?
Thanks,
Jon
User Profile
Collapse
-
The servers I need to test are remote and this method only seems to work for local paths.
Cheers,
JonLeave a comment:
-
-
Checking connection to a server
Hi,
Is it possible to test whether a given URL is reachable within using any server-side scripting?
Cheers,
Jon -
Adding text between child elements in a node
Hi,
I've got HTML elements created in JavaScript and have appended them to parent node. How do I add some text in between them in the parent node?
I need to do something like this....
Code:parent.appendChild(child1); //add the text " | " in between... parent.appendChild(child2);
How do I add this text?
... -
Thank you very much, I've just added the element ID's to a list and looped through it at the end calling
document.getEle mentById(ID).ch ecked = true;
The most I mess around with JS, the more I think that IE is a pain in the arse.
Cheers,
JonLeave a comment:
-
Sorry to post again, just though I should post the whole code section. Basically it's a for-loops for contructing a list of map layers:
Code:for (var i=0; i<baseLayers.length; i++) { var divId = baseLayers[i].id; //individual baselayer var baseLayerElem = document.createElement("li"); var radio = document.createElement('input'); radio.type = 'radio'; radio.name = 'base';
Leave a comment:
-
The code is using OpenLayers javascript client for displaying maps.
Basically map.getLayer(di vId) just returns a map layer using the given ID and map.baseLayer is the current visible layer. I'm just checking to see if they are equal.
The logical statement definitely works (even in IE) because when I output it in an alert is displays the correct value of true or false.
JonLeave a comment:
-
IE6 failing to set checkbox or radio buttons
Hi,
I've got javascript code which uses a basic logical statement to determine whether a checkbox or radio button should be set to checked:
radio.checked = (map.getLayer(d ivId) == map.baseLayer);
Firefox has no trouble with this, but IE6 doesn't check anything!
Any idea why this might be?
Cheers,
Jon -
-
Try using the keyword 'pointer' instead of 'hand'. This is supposed to be the standard and should work on most browser.
JonLeave a comment:
-
IE not showing a table inside a div
Hi,
I'm constructing some HTML elements dynamically using javascript, the result looks fine in Firefox but IE 6 refuses to show some tables I've got inside Divs.
My code is a bit big so I'll only post the bit in question. Indentation is just for keeping track of where each tag is.
Why does IE behave this way?
Cheers,
Jon
Code:var optionsDiv = document.createElement('div');
No activity results to display
Show More
Leave a comment: