Help on programming

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
    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





Re: Help on programming
On Sunday, August 2, 2020 at 1:43:51 AM UTC-4, Robert Baer wrote:
Quoted text here. Click to load it
  
Quoted text here. Click to load it

It took a little hunting to find the spots you are talking about.  Remember
, this is old hat to you, but we are looking at it for the first time.  Aft
er I played "Where's Waldo" with the Ired.gif image, I realized what you ar
e talking about.  The HTML looks ok to me, but then I'm no HTML guru.  

I do see you are specifying height:59px; width: 837px which you don't do fo
r the one that works.  What is that for?  Try taking it out.  

--  

  Rick C.

  - Get 1,000 miles of free Supercharging
We've slightly trimmed the long signature. Click to see the full one.
Re: Help on programming
Robert Baer wrote:
Quoted text here. Click to load it

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

Re: Help on programming
Paul wrote:
Quoted text here. Click to load it

Quoted text here. Click to load it

Quoted text here. Click to load it


Quoted text here. Click to load it

Quoted text here. Click to load it


Quoted text here. Click to load it

   Thanks.


Re: Help on programming
Robert Baer wrote:
Quoted text here. Click to load it

Quoted text here. Click to load it

Quoted text here. Click to load it


Quoted text here. Click to load it

Quoted text here. Click to load it


Quoted text here. Click to load it


Quoted text here. Click to load it
   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.



Re: Help on programming

<snip>

Quoted text here. Click to load it

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;
We've slightly trimmed the long signature. Click to see the full one.
Re: Help on programming
Don Kuenz KB7RPU wrote:
Quoted text here. Click to load it
* Not the same; i needed jumps inside the same page and some browsers  
did not cooperate; the NAV worked.

Quoted text here. Click to load it
* Looks very similar to the NAV thinggie i wound up using.

Quoted text here. Click to load it
   Thanks,


Re: Help on programming
Quoted text here. Click to load it

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;
We've slightly trimmed the long signature. Click to see the full one.
Re: Help on programming
On 02/08/2020 06:43, Robert Baer wrote:

Quoted text here. Click to load it

Quoted text here. Click to load it


Quoted text here. Click to load it

Quoted text here. Click to load it

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

Re: Help on programming
Martin Brown wrote:
Quoted text here. Click to load it

Quoted text here. Click to load it

Quoted text here. Click to load it


Quoted text here. Click to load it

Quoted text here. Click to load it
   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.

Re: Help on programming
On Sat, 1 Aug 2020 22:43:34 -0700, Robert Baer wrote:
Quoted text here. Click to load it

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>

Re: Help on programming
JJ wrote:
Quoted text here. Click to load it
   Thanks; looks i had some things scrambled, then compounded matters by  
code messing.


Site Timeline