codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  frameElement question  deluxmilkman at 14:20 on Wednesday, October 03, 2007
 


i have this on my main html.
[HTML]
<head></head>
<frameset rows="110,*" cols="*" framespacing="0" frameborder="no" border="0" bordercolor="#FFFFFF">
<frame src="top.html" name="top" frameborder="no" scrolling="no" id="top">
<frame src="bottom1.html" name="bottom" id="bottom">
<noframes><body>

</body></noframes>

[/HTML]

and i would like to change the "bottom frame src" using something like this.

[HTML]

function bottomChange(){
var oFrame = window.frameElement;
oFrame.src = "bottom2.html";
}

[/HTML]

now if im writing this function on "top.html" what "window.frameElement" section should be?








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Ms word to be opened using javascript
•  Re: research the search - hash
•  Re: Multiple words in regexp
•  Re: How to open a MS Word document from Javascript
•  controlling an app in foreground from one running in background
•  Re: Plz its urgent:validation code
•  Carrying Value of Checkbox
•  problem in unzipping the zip files
•  Re: substitution using vars containing $1


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007