Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #11863 > unrolled thread

Help on programming

Started byRobert Baer <robertbaer@localnet.com>
First post2020-08-01 22:43 -0700
Last post2020-08-02 13:55 -0700
Articles 11 — 5 participants

Back to article view | Back to alt.computer


Contents

  Help on programming Robert Baer <robertbaer@localnet.com> - 2020-08-01 22:43 -0700
    Re: Help on programming Paul <nospam@needed.invalid> - 2020-08-02 03:21 -0400
      Re: Help on programming Robert Baer <robertbaer@localnet.com> - 2020-08-02 13:56 -0700
        Re: Help on programming Robert Baer <robertbaer@localnet.com> - 2020-08-03 14:54 -0700
          Re: Help on programming "Don Kuenz KB7RPU" <g@crcomp.net> - 2020-08-04 13:59 +0000
            Re: Help on programming Robert Baer <robertbaer@localnet.com> - 2020-08-04 10:24 -0700
              Re: Help on programming "Don Kuenz KB7RPU" <g@crcomp.net> - 2020-08-04 18:06 +0000
    Re: Help on programming Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2020-08-02 09:01 +0100
      Re: Help on programming Robert Baer <robertbaer@localnet.com> - 2020-08-02 13:44 -0700
    Re: Help on programming JJ <jj4public@vfemail.net> - 2020-08-02 20:08 +0700
      Re: Help on programming Robert Baer <robertbaer@localnet.com> - 2020-08-02 13:55 -0700

#11863 — Help on programming

FromRobert Baer <robertbaer@localnet.com>
Date2020-08-01 22:43 -0700
SubjectHelp on programming
Message-ID<kosVG.16237$RG.12386@fx17.iad>
    See http://www.oil4lessllc.org/HELP/

   This folder has an almost-working HELP.htm that i would like to have 
fixed.

   The folder also has working files gPAD.htm and gUS.htm.
   The file subject-index.htm does work in the proper environment;
it is only included to make HELP.htm complete and working to that point.

   I would like USred.gif to show in the obvious place (between the quote
marks), and thus allow one to click on the red "US" and "go to"
subject-index.html; just like clicking on the red "I" that "goes to"
gPADI.htm.

   Please help.
   Thanks, R. Baer



[toc] | [next] | [standalone]


#11864

FromPaul <nospam@needed.invalid>
Date2020-08-02 03:21 -0400
Message-ID<rg5pi2$t4a$1@dont-email.me>
In reply to#11863
Robert Baer wrote:
>    See http://www.oil4lessllc.org/HELP/
> 
>   This folder has an almost-working HELP.htm that i would like to have 
> fixed.
> 
>   The folder also has working files gPAD.htm and gUS.htm.
>   The file subject-index.htm does work in the proper environment;
> it is only included to make HELP.htm complete and working to that point.
> 
>   I would like USred.gif to show in the obvious place (between the quote
> marks), and thus allow one to click on the red "US" and "go to"
> subject-index.html; just like clicking on the red "I" that "goes to"
> gPADI.htm.
> 
>   Please help.
>   Thanks, R. Baer

Start by looking at HELP.htm in View:Source and note that the
red "I" works and the red "US" does not work. The Div for the
"I" then, is a template for what the Div for the "US" should
look like.

I don't know what you're intending with that map, as it's a bit
messed up. The text for the index is likely intended to be lower
on the screen. If the "Map" function only works for a defined X-Y
space, you may need to use your image editor and add some white
area at the bottom of the image file, such that you can
reposition the overlay "letters" bar on top of it and a
safe distance from the map image content. Then, one map function
in the code, can select any items on the page.

I have a strange feeling you have the skills to make this
work yourself. As long as there are no new concepts introduced
along the way, just rearrange the goods as they currently stand.
You've worked on harder code than this already...

    Paul

[toc] | [prev] | [next] | [standalone]


#11869

FromRobert Baer <robertbaer@localnet.com>
Date2020-08-02 13:56 -0700
Message-ID<1MFVG.226229$RF4.39873@fx43.iad>
In reply to#11864
Paul wrote:
> Robert Baer wrote:
>>    See http://www.oil4lessllc.org/HELP/
>>
>>   This folder has an almost-working HELP.htm that i would like to have 
>> fixed.
>>
>>   The folder also has working files gPAD.htm and gUS.htm.
>>   The file subject-index.htm does work in the proper environment;
>> it is only included to make HELP.htm complete and working to that point.
>>
>>   I would like USred.gif to show in the obvious place (between the quote
>> marks), and thus allow one to click on the red "US" and "go to"
>> subject-index.html; just like clicking on the red "I" that "goes to"
>> gPADI.htm.
>>
>>   Please help.
>>   Thanks, R. Baer
> 
> Start by looking at HELP.htm in View:Source and note that the
> red "I" works and the red "US" does not work. The Div for the
> "I" then, is a template for what the Div for the "US" should
> look like.
> 
> I don't know what you're intending with that map, as it's a bit
> messed up. The text for the index is likely intended to be lower
> on the screen. If the "Map" function only works for a defined X-Y
> space, you may need to use your image editor and add some white
> area at the bottom of the image file, such that you can
> reposition the overlay "letters" bar on top of it and a
> safe distance from the map image content. Then, one map function
> in the code, can select any items on the page.
> 
> I have a strange feeling you have the skills to make this
> work yourself. As long as there are no new concepts introduced
> along the way, just rearrange the goods as they currently stand.
> You've worked on harder code than this already...
> 
>     Paul
   Thanks.

[toc] | [prev] | [next] | [standalone]


#11870

FromRobert Baer <robertbaer@localnet.com>
Date2020-08-03 14:54 -0700
Message-ID<yI%VG.100243$GQ4.99279@fx02.iad>
In reply to#11869
Robert Baer wrote:
> Paul wrote:
>> Robert Baer wrote:
>>>    See http://www.oil4lessllc.org/HELP/
>>>
>>>   This folder has an almost-working HELP.htm that i would like to 
>>> have fixed.
>>>
>>>   The folder also has working files gPAD.htm and gUS.htm.
>>>   The file subject-index.htm does work in the proper environment;
>>> it is only included to make HELP.htm complete and working to that point.
>>>
>>>   I would like USred.gif to show in the obvious place (between the quote
>>> marks), and thus allow one to click on the red "US" and "go to"
>>> subject-index.html; just like clicking on the red "I" that "goes to"
>>> gPADI.htm.
>>>
>>>   Please help.
>>>   Thanks, R. Baer
>>
>> Start by looking at HELP.htm in View:Source and note that the
>> red "I" works and the red "US" does not work. The Div for the
>> "I" then, is a template for what the Div for the "US" should
>> look like.
>>
>> I don't know what you're intending with that map, as it's a bit
>> messed up. The text for the index is likely intended to be lower
>> on the screen. If the "Map" function only works for a defined X-Y
>> space, you may need to use your image editor and add some white
>> area at the bottom of the image file, such that you can
>> reposition the overlay "letters" bar on top of it and a
>> safe distance from the map image content. Then, one map function
>> in the code, can select any items on the page.
>>
>> I have a strange feeling you have the skills to make this
>> work yourself. As long as there are no new concepts introduced
>> along the way, just rearrange the goods as they currently stand.
>> You've worked on harder code than this already...
>>
>>     Paul
>    Thanks.
> 
   Discovered that image map will not help because of the fundamental 
problem with the FIND; a href=<blahbla> for FIND in same page does not 
cut it if one wants this business to "work" over a range of browsers, 
most especially the Insipid Exasperators.

   Found the best way for in-page "jumps" is to use NAV which i new 
nothing about - not even its existence.

    Thanks.

[toc] | [prev] | [next] | [standalone]


#11876

From"Don Kuenz KB7RPU" <g@crcomp.net>
Date2020-08-04 13:59 +0000
Message-ID<20200804a@crcomp.net>
In reply to#11870
Robert Baer <robertbaer@localnet.com> wrote:

<snip>

>   Discovered that image map will not help because of the fundamental
> problem with the FIND; a href=<blahbla> for FIND in same page does not
> cut it if one wants this business to "work" over a range of browsers,
> most especially the Insipid Exasperators.
>
>   Found the best way for in-page "jumps" is to use NAV which i new
> nothing about - not even its existence.

Using a named anchor works best for me for most browsers. For example:

    https://crcomp.net/mixeramp/index.php#CircuitDesign

Note: It's best to not use white space in an anchor name in order to 
accommodate the Insipid Exasperators class of browsers.

------------------------------------------------------------------------

Here's the jump link syntax for your page:

    <a href="SubjIndx.html?#Asection">A</a>

Its anchor:

    <p><a name="Asection"></a></p>
    <h2><B>A:</B></h2>


More info:

    http://www.tagindex.net/html/link/a_name.html

------------------------------------------------------------------------

Apparently a Bookmark performs a similar function. But it's unused and 
untested by me thus far.

The jump link is identical to the anchor method: 

    <a href="SubjIndx.html?#Asection">A</a>

Its anchor is simpler:

    <h2 id="Asection"><B>A:</B></h2>


More info:

    https://www.w3schools.com/html/html_links_bookmarks.asp



Danke,

-- 
Don Kuenz KB7RPU
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

[toc] | [prev] | [next] | [standalone]


#11878

FromRobert Baer <robertbaer@localnet.com>
Date2020-08-04 10:24 -0700
Message-ID<YQgWG.269311$RF4.42792@fx43.iad>
In reply to#11876
Don Kuenz KB7RPU wrote:
> Robert Baer <robertbaer@localnet.com> wrote:
> 
> <snip>
> 
>>    Discovered that image map will not help because of the fundamental
>> problem with the FIND; a href=<blahbla> for FIND in same page does not
>> cut it if one wants this business to "work" over a range of browsers,
>> most especially the Insipid Exasperators.
>>
>>    Found the best way for in-page "jumps" is to use NAV which i new
>> nothing about - not even its existence.
> 
> Using a named anchor works best for me for most browsers. For example:
> 
>      https://crcomp.net/mixeramp/index.php#CircuitDesign
* Not the same; i needed jumps inside the same page and some browsers 
did not cooperate; the NAV worked.

> 
> Note: It's best to not use white space in an anchor name in order to
> accommodate the Insipid Exasperators class of browsers.
> 
> ------------------------------------------------------------------------
> 
> Here's the jump link syntax for your page:
> 
>      <a href="SubjIndx.html?#Asection">A</a>
> 
> Its anchor:
> 
>      <p><a name="Asection"></a></p>
>      <h2><B>A:</B></h2>
* Looks very similar to the NAV thinggie i wound up using.

> 
> 
> More info:
> 
>      http://www.tagindex.net/html/link/a_name.html
> 
> ------------------------------------------------------------------------
> 
> Apparently a Bookmark performs a similar function. But it's unused and
> untested by me thus far.
> 
> The jump link is identical to the anchor method:
> 
>      <a href="SubjIndx.html?#Asection">A</a>
> 
> Its anchor is simpler:
> 
>      <h2 id="Asection"><B>A:</B></h2>
> 
> 
> More info:
> 
>      https://www.w3schools.com/html/html_links_bookmarks.asp
> 
> 
> 
> Danke,
> 
   Thanks,

[toc] | [prev] | [next] | [standalone]


#11880

From"Don Kuenz KB7RPU" <g@crcomp.net>
Date2020-08-04 18:06 +0000
Message-ID<20200804b@crcomp.net>
In reply to#11878
Robert Baer <robertbaer@localnet.com> wrote:
> Don Kuenz KB7RPU wrote:
>> Robert Baer <robertbaer@localnet.com> wrote:
>>
>> <snip>
>>
>>>    Discovered that image map will not help because of the fundamental
>>> problem with the FIND; a href=<blahbla> for FIND in same page does not
>>> cut it if one wants this business to "work" over a range of browsers,
>>> most especially the Insipid Exasperators.
>>>
>>>    Found the best way for in-page "jumps" is to use NAV which i new
>>> nothing about - not even its existence.
>>
>> Using a named anchor works best for me for most browsers. For example:
>>
>>      https://crcomp.net/mixeramp/index.php#CircuitDesign
> * Not the same; i needed jumps inside the same page and some browsers
> did not cooperate; the NAV worked.

Within a given webpage either

    <a href="SubjIndx.html?#Asection">A</a>

or

    <a href="#Asection">A</a>

works for me in most browsers so far. Regardless, you have more Insipid 
Exasperators experience than me. In the end, if NAV works then problem 
solved.

Danke,

-- 
Don Kuenz KB7RPU
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

[toc] | [prev] | [next] | [standalone]


#11865

FromMartin Brown <'''newspam'''@nezumi.demon.co.uk>
Date2020-08-02 09:01 +0100
Message-ID<rg5rtc$fup$1@gioia.aioe.org>
In reply to#11863
On 02/08/2020 06:43, Robert Baer wrote:
>     See http://www.oil4lessllc.org/HELP/
> 
>    This folder has an almost-working HELP.htm that i would like to have 
> fixed.
> 
>    The folder also has working files gPAD.htm and gUS.htm.
>    The file subject-index.htm does work in the proper environment;
> it is only included to make HELP.htm complete and working to that point.
> 
>    I would like USred.gif to show in the obvious place (between the quote
> marks), and thus allow one to click on the red "US" and "go to"
> subject-index.html; just like clicking on the red "I" that "goes to"
> gPADI.htm.

Compare the working one with the non working one to fix it.

How are you editing the HTML? You might be better off using tools that 
will let you see the rendered version and HTML source simultaneously. eg

BlueGriffon is freeware. (other brands are available)


-- 
Regards,
Martin Brown

[toc] | [prev] | [next] | [standalone]


#11867

FromRobert Baer <robertbaer@localnet.com>
Date2020-08-02 13:44 -0700
Message-ID<EAFVG.165680$%p.80785@fx33.iad>
In reply to#11865
Martin Brown wrote:
> On 02/08/2020 06:43, Robert Baer wrote:
>>     See http://www.oil4lessllc.org/HELP/
>>
>>    This folder has an almost-working HELP.htm that i would like to 
>> have fixed.
>>
>>    The folder also has working files gPAD.htm and gUS.htm.
>>    The file subject-index.htm does work in the proper environment;
>> it is only included to make HELP.htm complete and working to that point.
>>
>>    I would like USred.gif to show in the obvious place (between the quote
>> marks), and thus allow one to click on the red "US" and "go to"
>> subject-index.html; just like clicking on the red "I" that "goes to"
>> gPADI.htm.
> 
> Compare the working one with the non working one to fix it.
> 
> How are you editing the HTML? You might be better off using tools that 
> will let you see the rendered version and HTML source simultaneously. eg
> 
> BlueGriffon is freeware. (other brands are available)
> 
> 
   Thanks!
   BlueGriffon.org  has screwed us; 64 bit ONLY.
   ONLY gamers and math mavens have use for even 32-bits; i should know 
- i wrote a multi-million digit math package that would run on 16-bit 
OSes, and pushed to 32-bit then 64-bit environments only when needed.
   Learned that "memory leaks" are impossible with half-way decent 
programming, as well as "buffer overflows" being impossible with 
half-way decent programming.

   Got a much older version via CNET; will try it when i get around to it.

   Thanks.

[toc] | [prev] | [next] | [standalone]


#11866

FromJJ <jj4public@vfemail.net>
Date2020-08-02 20:08 +0700
Message-ID<m334kgqyaghi.4yolcx28kzn0$.dlg@40tude.net>
In reply to#11863
On Sat, 1 Aug 2020 22:43:34 -0700, Robert Baer wrote:
>     See http://www.oil4lessllc.org/HELP/
> 
>    This folder has an almost-working HELP.htm that i would like to have 
> fixed.
> 
>    The folder also has working files gPAD.htm and gUS.htm.
>    The file subject-index.htm does work in the proper environment;
> it is only included to make HELP.htm complete and working to that point.
> 
>    I would like USred.gif to show in the obvious place (between the quote
> marks), and thus allow one to click on the red "US" and "go to"
> subject-index.html; just like clicking on the red "I" that "goes to"
> gPADI.htm.
> 
>    Please help.
>    Thanks, R. Baer

Seems like you lost track of which image tag is supposed to present what
picture. And because of that, you have an image element which has the same
position. The ID attribute is especially useful to identify which is which,
or for what purpose.

Backup your `help.htm` file, then replace the contents of the `<body>` tag
with below code (long text warning).

<div>
  <img src="Usa52.gif" alt="USA map" id="USmap" usemap="#USMap"
    style="position: absolute; top: 12px; left: 9px; height: 431px; width: 760px; border-style:none" />
</div>

<div style="position: absolute; top: 320px; left: 100px; " >
  <a href="subject-index.html?find=0-9:">
    <img src="Chars0-Z.gif" alt="char map" id="charmap" usemap="#charmap"
      style="height:59px; width: 837px; border-style:none" />
  </a>
</div>


<div style="position: absolute; top: 178px; left: 623px; ">
  <a href="gPADI.htm">
    <img style="border: 0" ALT="" id="pad1" src='Ired.gif' >
  </a>
</div>

<div style="position: absolute; top: 67px; left: 268px; " >
  <a href="gUS.htm">
    <img style="border: 0" ALT="" id="USlabel" src="USred.gif">
  </a>
</div>

[toc] | [prev] | [next] | [standalone]


#11868

FromRobert Baer <robertbaer@localnet.com>
Date2020-08-02 13:55 -0700
Message-ID<9LFVG.226228$RF4.49773@fx43.iad>
In reply to#11866
JJ wrote:
> On Sat, 1 Aug 2020 22:43:34 -0700, Robert Baer wrote:
>>      See http://www.oil4lessllc.org/HELP/
>>
>>     This folder has an almost-working HELP.htm that i would like to have
>> fixed.
>>
>>     The folder also has working files gPAD.htm and gUS.htm.
>>     The file subject-index.htm does work in the proper environment;
>> it is only included to make HELP.htm complete and working to that point.
>>
>>     I would like USred.gif to show in the obvious place (between the quote
>> marks), and thus allow one to click on the red "US" and "go to"
>> subject-index.html; just like clicking on the red "I" that "goes to"
>> gPADI.htm.
>>
>>     Please help.
>>     Thanks, R. Baer
> 
> Seems like you lost track of which image tag is supposed to present what
> picture. And because of that, you have an image element which has the same
> position. The ID attribute is especially useful to identify which is which,
> or for what purpose.
> 
> Backup your `help.htm` file, then replace the contents of the `<body>` tag
> with below code (long text warning).
> 
> <div>
>    <img src="Usa52.gif" alt="USA map" id="USmap" usemap="#USMap"
>      style="position: absolute; top: 12px; left: 9px; height: 431px; width: 760px; border-style:none" />
> </div>
> 
> <div style="position: absolute; top: 320px; left: 100px; " >
>    <a href="subject-index.html?find=0-9:">
>      <img src="Chars0-Z.gif" alt="char map" id="charmap" usemap="#charmap"
>        style="height:59px; width: 837px; border-style:none" />
>    </a>
> </div>
> 
> 
> <div style="position: absolute; top: 178px; left: 623px; ">
>    <a href="gPADI.htm">
>      <img style="border: 0" ALT="" id="pad1" src='Ired.gif' >
>    </a>
> </div>
> 
> <div style="position: absolute; top: 67px; left: 268px; " >
>    <a href="gUS.htm">
>      <img style="border: 0" ALT="" id="USlabel" src="USred.gif">
>    </a>
> </div>
> 
   Thanks; looks i had some things scrambled, then compounded matters by 
code messing.

[toc] | [prev] | [standalone]


Back to top | Article view | alt.computer


csiph-web