1. programmatically jump to "name" in htm file?
Can anyone tell me how I can make a "jump" to a *name* id in a htm file?
I've been trying to jump to things like this:
shellExecute("open","c:\\euphoria\\html\\lib_h_o.htm#integer",5)
to go directly to any specific Euphoria Routine's html help, but while I can
get to the file itself (if I leave off the "#integer"), I can't make it go
to the *named* place in the file.
Dan Moyer
2. Re: programmatically jump to "name" in htm file?
On 8 Nov 2000, at 4:17, Dan B Moyer wrote:
> Can anyone tell me how I can make a "jump" to a *name* id in a htm file?
>
> I've been trying to jump to things like this:
> shellExecute("open","c:\\euphoria\\html\\lib_h_o.htm#integer",5)
>
> to go directly to any specific Euphoria Routine's html help, but while I can
> get to the file itself (if I leave off the "#integer"), I can't make it go to
> the *named* place in the file.
Just a thought off the top of my head, try writing a plain c:\euphoria\go.html
file containing a redirect command or src= to the
c:\euphoria\html\lib_h_o.htm#integer file. IE should open the plain file and
then properly open the real file to the correct place.
Kat
3. Re: programmatically jump to "name" in htm file?
Kat,
Ok, that's a idea, but while I can see how to make a clickable *link* in an
html file, I don't know how to make an html programmatic redirect. How do I
do that? Is that what "src =" might do??
Dan
----- Original Message -----
From: "Kat" <gertie at PELL.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Wednesday, November 08, 2000 9:08 AM
Subject: Re: programmatically jump to "name" in htm file?
> On 8 Nov 2000, at 4:17, Dan B Moyer wrote:
>
> > Can anyone tell me how I can make a "jump" to a *name* id in a htm file?
> >
> > I've been trying to jump to things like this:
> > shellExecute("open","c:\\euphoria\\html\\lib_h_o.htm#integer",5)
> >
> > to go directly to any specific Euphoria Routine's html help, but while I
can
> > get to the file itself (if I leave off the "#integer"), I can't make it
go to
> > the *named* place in the file.
>
> Just a thought off the top of my head, try writing a plain
c:\euphoria\go.html
> file containing a redirect command or src= to the
> c:\euphoria\html\lib_h_o.htm#integer file. IE should open the plain file
and
> then properly open the real file to the correct place.
>
> Kat
4. Re: programmatically jump to "name" in htm file?
- Posted by Kat <gertie at PELL.NET>
Nov 08, 2000
-
Last edited Nov 09, 2000
I haven't tried these, but you could try and play with these examples. I prefer
the
ones that do not use javascript. :
*************************
<frame src="URL">
Specifies which HTML document should be displayed
***************
<SCRIPT language="JavaScript">
<!--
function openChoices(x)
{
childwin =
}
// -->
</SCRIPT>
***************
<script language=javascript><!--
// Destination we're going to
// ***** CHANGE LOCATION HERE *****
altpage="http://someplace.com/index.htm";
// This does the relocation
location.replace(altpage);
--></script>
<head>
<title>Jump Page</title>
<!-- the Refresh meta will jump to the location after 1 second.
Note the embedded script inside the meta tag contents -->
<meta
http-equiv="Refresh"
contents="1;<script>document.write(altpage)</script>">
</head>
*************************
<html>
<head>
<title>The EV List Photo Album</title>
<META NAME="description" content="photos and specs of electric cars and
trucks">
<META NAME="keywords" content="electric car, EV, electric vehicle, ">
<meta http-equiv=refresh content="10;
</head>
<center>
You will be automatically redirected in 10 seconds.<br>
<BR>
<a href="http://www.geocities.com/MotorCity/Track/4936/"
target="_top">Click here</a> to enter The EV List Photo Album directly
now.<br>
</center>
</html>
*****************************
On 8 Nov 2000, at 16:32, Dan B Moyer wrote:
> Kat,
>
> Ok, that's a idea, but while I can see how to make a clickable *link* in an
> html file, I don't know how to make an html programmatic redirect. How do I
> do that? Is that what "src =" might do??
>
> Dan
> ----- Original Message -----
> From: "Kat" <gertie at PELL.NET>
> To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
> Sent: Wednesday, November 08, 2000 9:08 AM
> Subject: Re: programmatically jump to "name" in htm file?
>
>
> > On 8 Nov 2000, at 4:17, Dan B Moyer wrote:
> >
> > > Can anyone tell me how I can make a "jump" to a *name* id in a htm file?
> > >
> > > I've been trying to jump to things like this:
> > > shellExecute("open","c:\\euphoria\\html\\lib_h_o.htm#integer",5)
> > >
> > > to go directly to any specific Euphoria Routine's html help, but while I
> can
> > > get to the file itself (if I leave off the "#integer"), I can't make it
> go to
> > > the *named* place in the file.
> >
> > Just a thought off the top of my head, try writing a plain
> c:\euphoria\go.html
> > file containing a redirect command or src= to the
> > c:\euphoria\html\lib_h_o.htm#integer file. IE should open the plain file
> and
> > then properly open the real file to the correct place.
> >
> > Kat
>