Inline
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
David,
I have had a look but I am mystified
This is what is recommended :
<a target="rtop" href="/?scid=somepage.htm"
onClick="parent.frames[2].location.href='AnotherPage.htm';">SomePage</a>
I cannot understand what target="rtop" means. When a target is
defined, it must be one of several known (system-defined) targets:
_blank, _parent, _self or _top (_blank is the default) or a named
target, i.e. the name of a frameset. "rtop" is none of these.
The line is an example of how to write the link. In this example,
rtop is the name of a frame - framesets describe frame layouts and
are not named. In *your* link, replace rtop with the name of your
frame.
I cannot understand what href="/?scid=somepage.htm" means. A
reference following href= must be the name of an existing html file
(or it can be blank). With an existing html file, one or more
parameters can be passed prefixed by "?". These parameters are read
by that html file and used inside it.
So href="/?scid=somepage.htm" says:
Link to file / (yes, the file name is a forward slash, although this
*may* mean the file you are in)
and pass to that file the parameter scid with the value
"somepage.htm"
Again, an example. Microsoft use this kind of link (a parameter to a
default ASP or ASP.net page in a folder) often. You would replace
href="/?scid=somepage.htm" with
href ="somepage.htm"
I followed the instructions in KB 31900 (which refers to FP2002,
which is the version of FP that I use) and I got code like this:
<a target="_self" href="about.html"
onClick="parent.frames[2].location.href='about.html';">Link Text</a>
I put "_self" as the target because I didn't know what to put. I
also didn't know what to put after href= or after location.href=, so
I put (in both cases) the name of a frame which exists on my site.
"Link Text" is just any text . (HTML doesn't care what it is.)
Try
<a target="main_frame_name" href="about.html"
onClick="parent.frames[2].location.href='menu2.html';">Link Text</a>
where main_frame_name is the frame you wish the about.html page to
load, and frames[2] is the third frame defined in your frameset page,
but is not main_frame_name. The page menu2.html will load in this
frame.
See
http://www.rxs-enterprises.org/tests/pages/frames/ for a
working example. The link in the footer changes the footer text,
and the main frame contents
But it didn't work. (Surprise, surprise ! It didn't work for you ,so
why should I have any more luck
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
)
So we may have to wait to see if an MVP can throw some light on
this.
Or maybe I am having a senior day (again Big Grin)
--
Cheers,
Trevor L.
Website:
http://tandcl.homemail.com.au
Trevor L. wrote:
Hi David,
I'll have a look at this today. You can't actually break anything
if
you get it wrong, but it's a good idea to backup code that works
first before you try amending it.
I suppose it does depend on what you mean by standard. Perhaps MS
think the information they supply is good enough. (I am only
guessing.)
There are persons on the newsgroup called Microsoft-MVP 's. They
are
experts whom MS has recognised as experienced in their field. (MVP=
Most Valued Person). They are not employed by or paid by MS, but
you
will see them respond to the posts on the newsgroup quite often.
Most of them seem to read the site daily and reply as best they
can.
I find that provided you give enough info on the problem, you can
usually get answers to your questions on one of these newsgroups.
IGBTY (I'll get back to you)
BTW, I am no expert. Just a retired programmer learning to use
different languages. (I didn't program anything on PCs in my
carreer
in the ABS) --
Cheers,
Trevor L.
Website:
http://tandcl.homemail.com.au
gdas australia wrote:
Hi Trevor,
Glad you found the article, but I still haven't been able to make
it
work. Probably me because I have little experience in programming
and
I am terrified of screwing everything up!
I might add I am quite surprised this facility isn't part of the
standard system because I would have thought it was an important
requirement. Do MIcrosoft ever partake in theae forums? I have
never been to one before.
BRgds....David
:
Hi,
I haven't been to Tea Gardens in ages. Nice place as I recall
Found it (the KB article, that is)
I had to enter "Knowledge Base" into the search first and then
the
KB number into the next screen that came up. Maybe I went to the
wrong MS site.
I have had a bit of a read. Have you got it working yet?
If not, I may give it a try and see what happens
--
Cheers,
Trevor L.
Website:
http://tandcl.homemail.com.au
gdas australia wrote:
Hi Trevor,
Welcome from Tea Gardens!
Strange you couldn't get the article because I have it in front
of
me and what it says is similar to what you are suggesting. The
Keyword on the bottom of the article is kbhowtomaster KB825496.
Best regards.....David