DivMasterJS

DivMasterJS

Postby Otto » Mon May 27, 2024 8:20 am

Hello friends,

DivMAsterJS

I am working on a component to replicate in mod harbour similar to my existing WINHOTEL MDI windows.

On the way from desktop to mod harbour I am always searching for conceptual similarities.

We can make an analogy between MDI (Multiple Document Interface) windows and HTML <div> elements inside other <div> elements, although they are used in different contexts and have distinct functionalities.

Containment: Both MDI windows and nested <div> elements involve a parent-child containment relationship. MDI windows have child windows within a parent window, while nested <div> elements have child <div> elements within a parent <div>.

Independent Content: Each MDI child window and nested <div> can contain independent content and can be manipulated separately within their respective containers.

Organizational Structure: Both MDI windows and nested <div> elements help organize content in a structured manner, making it easier to manage and interact with multiple sections or documents.

Best regards,
Otto


If you "harbourinoize" the source code, it becomes much easier to maintain and is much clearer.
HARBOURINO preprocessor and patcher simplify development.

Image



Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: DivMasterJS

Postby Silvio.Falconi » Mon May 27, 2024 9:01 am

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: DivMasterJS

Postby Marc Venken » Mon May 27, 2024 10:16 am

Thanks Silvio for the link :D . As hobby-kok ))
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1434
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: DivMasterJS

Postby Otto » Mon May 27, 2024 12:06 pm

Silvio, Yours is a very beautiful WordPress site and it uses <article> </article>.
It is similar to <div></div>.

<div>: No special meaning, serves as a generic container.
<article>: Represents self-contained, standalone content.
<div>: Grouping of elements for styling and scripting.
<article>: Display of standalone content such as articles or blog posts.
But DivMasterJS has the purpose of working with the <div> elements.

I have only linked your image for demonstration. You see, I can move, zoom, and group the <div> elements.
It serves a slightly different purpose.

Best regards,
Otto


Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 65 guests