Search Results

Showing results 1 to 10 of 10
Search took 0.01 seconds.
Search: Posts Made By: scrager
Forum: JavaScript / DHTML / AJAX Feb 23rd, 2009
Replies: 7
Views: 1,412
Posted By scrager
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
Posted By scrager
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
Posted By scrager
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
Posted By scrager
<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
Posted By scrager
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
Posted By scrager
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
Posted By scrager
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
Posted By scrager
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
Posted By scrager
<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
Posted By scrager
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...
Showing results 1 to 10 of 10

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC