Request 02.10.2021-10:54:48

Navigation


Ad a simple page navigation to your web page

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

Where am I

 

 

 

You are here   

What does F12 do in a browser?
F12 tools provide a set of tools that you can use to design, debug, or view webpage source code and behavior.

 

 

 

Open your source code in your source code editor

 

 

Now here is the source code which displays the "Neueste Beiträge" (Latest articles) section.

 

 

Now we look into the source of

$-> LATEST_ARTICLES_ITEMS :  cKey=1

 

We see data is coming from JavaScript object oBLOCK

 

How is oBLOCK passed fom HARBOUR to JavaScript?

TEMPLATE PARAMS inside HARBOUR code switches to HTML/JavaScript. PARAMS passed the parameters.

 

We convert the hBLOCK (HARBOUR hash) to a JS object oBLOCK

Now we have our data in the HTML part of the program and can use it.

 

How do we create the HASH for paging?

We browse the DBF file and select the records which fit into nStart/nEnde.

 

 

Next part, how to change nStart and nEnd?