Forum: JavaScript / DHTML / AJAX Feb 23rd, 2009 |
| Replies: 7 Views: 1,412 lines 14 and 19 have a typo
yDiv.style.backgroungImage
should be
yDiv.style.backgroundImage |
Forum: JavaScript / DHTML / AJAX Feb 23rd, 2009 |
| Replies: 2 Views: 719 My guess on first look is that there are several return points in your CheckSelectedItem() function has several return points and some of the points don't return a value.
function... |
Forum: PHP Feb 21st, 2009 |
| Replies: 8 Views: 860 in this case I would use split.
$parts = split(":", "table:column");
$parts[0] //table
$parts[1] //column |
Forum: JavaScript / DHTML / AJAX Feb 21st, 2009 |
| Replies: 1 Views: 1,859 <iframe id="myframe" src="...">
var frame = document.getElementById("myframe");
frame.contentWindow.MyMethod();
//MyMethod needs to be defined as a function on the page listed in src="..." |
Forum: JavaScript / DHTML / AJAX Feb 21st, 2009 |
| Replies: 9 Views: 9,758 Just briefly before I left work, I found that [iframe].contentWindow gives me access to the iframes variables on IE7 and FF3. Not sure about lesser browsers.
so...
<iframe id="myframe"... |
Forum: JavaScript / DHTML / AJAX Feb 21st, 2009 |
| Replies: 3 Views: 2,108 You'll need to post the HTML that goes along with this. My guess is that your form is not named, or the form has a miss-spelled input field. |
Forum: JavaScript / DHTML / AJAX Feb 21st, 2009 |
| Replies: 2 Views: 840 function showObject(obj) {
if (ns4) {
obj.visibility = "show";
}
else if (ie4 || upLevel) {
drawMessageBox();
obj.style.visibility = "visible";
}
} |
Forum: JavaScript / DHTML / AJAX Feb 21st, 2009 |
| Replies: 1 Views: 465 It's probably in your scrollHS4 function
function scrollHS4(){
if(paused==1){return}
clearTimeout(hs4Timer)
scroll1Pos=parseInt(scroll1.style.left) |
Forum: JavaScript / DHTML / AJAX Feb 21st, 2009 |
| Replies: 1 Views: 933 <input type="text" id="command">
//this assumes prototype library for low level functions like $
eval($("command").value);
You can also look at evalScripts, which is part of prototype... |
Forum: JavaScript / DHTML / AJAX Feb 20th, 2009 |
| Replies: 9 Views: 9,758 To close a window from it's child iframe:
//check to see that parent has the Windows class
//and that I am acutally in a frame (thus i have frameElement)
//we check for frameElement so that... |