xtine
asked on
jump to a bookmark on a frame from another window?
Hi
How do I click a link on a page, and it will open up a new window of a website with 2 frames in it and jump to a particular bookmark on 1 of the frames?
How do I click a link on a page, and it will open up a new window of a website with 2 frames in it and jump to a particular bookmark on 1 of the frames?
I'm guessing here but can't you set the default URL of one of the frames to somepage.html#somePageLoca tion ?
dorward is right. Example:
<frameset rows="*,*">
<frame src="mypage1.htm#mark">
<frame src="mypage2.htm#mark2">
</frameset>
and in the mypage1 you place somewhere:
<a name="mark"></a>
regards,
CJ
<frameset rows="*,*">
<frame src="mypage1.htm#mark">
<frame src="mypage2.htm#mark2">
</frameset>
and in the mypage1 you place somewhere:
<a name="mark"></a>
regards,
CJ
and to open the window:
var w = window.open("framesetpage. htm");
regards,
CJ
var w = window.open("framesetpage.
regards,
CJ
ASKER
This bookmark is only for people who open this websiteA from another websiteB. For those who goes directly to this websiteA, they will be at the top of the frame.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.