Changing a frame's target URL

P

Preston

I have 2 frames in my web page, the second of which I
would like to use to navigate through a number of other
web pages(on disk for the moment). I have got a [back]
and [next] button on my first frame which I intend to use
to change the target URL of the 2nd frame.

More like this Support Web site is doing browsing through
postings.

Help anyone? VBscript preferrably, but JavaScript will do
as well.

Thanks in advance.
 
M

MD WebsUnlimited.com

Hi Preston,

There are several methods to accomplish this. The most preferred would be to
use a target attribute in the link tag with the name of the frame.

<a href="mypage.htm" target="myframe2" >
 
P

Preston

Thanks Mike, but I need a little bit more functionality.
How do I dynamically change the href=url text? I've got
lots of web pages in different locations on disk.

-----Original Message-----
Hi Preston,

There are several methods to accomplish this. The most preferred would be to
use a target attribute in the link tag with the name of the frame.

<a href="mypage.htm" target="myframe2" >

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
--------------------------------------------------------- -------------------
--------------------
If you think I'm doing a good job, let MS know at (e-mail address removed)

Preston said:
I have 2 frames in my web page, the second of which I
would like to use to navigate through a number of other
web pages(on disk for the moment). I have got a [back]
and [next] button on my first frame which I intend to use
to change the target URL of the 2nd frame.

More like this Support Web site is doing browsing through
postings.

Help anyone? VBscript preferrably, but JavaScript will do
as well.

Thanks in advance.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top