By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,492 Members | 1,987 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,492 IT Pros & Developers. It's quick & easy.

How to setfocus() a specific frame

P: 1

i have a problem here regarding my frameset. Could anyone can help me?
I need to focus on the mainFrame onload which is using a iFrame Tag.

here is my code:

Expand|Select|Wrap|Line Numbers
  1.     <frameset rows="190,70,*" cols="*" >
  2.            <frame src="top.html" name="topFrame" id="topFrame" />
  3.           <frame src="scroller.htm" name="scrollFrame" id="bottomFrame" />
  4.          <frameset cols="660,*">
  5.              <frame src="show640x480.html" name="leftFrame"/>
  6.        <frame src="price.html" name="mainFrame" id="mainFrame"/>
  7.        </frameset>
  8.    </frameset>
Apr 23 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.