Balazs Birtalan
617bbe47cc
They can send message to each other using the window.sight.message function. It will run "runJavaScript" a "message()" function from the every sights which run and their executes if it needs.
2023-10-26 19:47:39 +01:00
Balazs Birtalan
4965e87980
Parent and Child relationship is working. If the parent is closed its children will be closed too.
...
But the child's children not (in this version).
The parent knows about its children in self.children list variable. The child knows about its parent in self.parent variable. When a child is closed the its id will be removed its parent (self.children) list variable.
2023-10-26 18:43:59 +01:00
Balazs Birtalan
346c22193d
Three sight running mode defined and redefined. Now it has unique, auto and normal running mode.
2023-10-26 16:58:46 +01:00
Balazs Birtalan
ffa1edc3e3
The s_content removed from the template.js and now i use scontent attribute instead of the previous version. It is more clear.
...
The "load" jquery is replaced for javascript (vanilla version) in the sight.js (inside a new function called load()).
2023-10-26 11:27:01 +01:00
Balazs Birtalan
997d9e87c5
First Commit
...
Signed-off-by: balazs <contact@balazsbirtalan.com>
2023-05-17 11:16:32 +01:00