dallen24
07-07-2002, 06:48 AM
Hi. I've created a google like search over my web site. Been trying to improve this search and need some help.
This is what I do. From one frame, I'll load another frame with either a text or html file. Once loaded, I perform a text search. If found, I'll scroll the text into view.
Got this to work in IE using parent.frames[1].document.readyState == "complete" in a setTimeout loop. I realize it's inefficient. I'ved tried parent.frames[1].document.onreadystatechange = "alert('fire')", but doesn't seem to fire. Does anyone have a working example of onreadystatechange?
This is what I do. From one frame, I'll load another frame with either a text or html file. Once loaded, I perform a text search. If found, I'll scroll the text into view.
Got this to work in IE using parent.frames[1].document.readyState == "complete" in a setTimeout loop. I realize it's inefficient. I'ved tried parent.frames[1].document.onreadystatechange = "alert('fire')", but doesn't seem to fire. Does anyone have a working example of onreadystatechange?