Jump to content

Dynamic Tree HTML Menu


Recommended Posts

Hello everyone, we are going to uniGUI in vein, so come on, this post is attached to the source code and a video showing how I did it. I hope you enjoy it, thanks.

HTML Menu:


 

 

Olá pessoal, Bora de uniGUI na veia, então bora, neste post vai em anexo do codigo fonte e um vídeo mostrando como fiz. Espero que gostem, valeu.

Menu HTML:


 

Video lessons (Vídeo Aula)

 


MenuTreeHtml.rar

Link to comment
Share on other sites

Georges, coloquei um menu html, personalisei e até aí ok, mas qndo vou fazer os eventos pro ajaxrequest, o evento Ajaxrequest do frame não é chamado ... no HTML está assim :

 

<li><a href="#" onclick="ajaxRequest(MainForm.UniURLFrame1, Sistema, [])">Sistema</a></li>
 
o que fiz de errado ?

 

procedure TMainForm.UniURLFrame1AjaxEvent(Sender: TComponent; EventName: string;
  Params: TUniStrings);
begin
  if EventName = 'Sistema' then
  begin
      FrmConfig.ShowModal;
  end;
end;
Link to comment
Share on other sites

Parece que faltou aspa simples no comando AJAX na palavra sistema, teste e me fala, se não der certo manda um demo.

 

It looks like I missed a single quote in the AJAX command in the word system, test it and tell me, if it does not work send a demo.

 

 

Boa tarde, td bem ?

 

Rapaz fiz o  que me pediu e nada, segue o link do demo pra vc :

 

https://drive.google.com/open?id=0B6TXP5Qmljo9c2EwUnd4dm1uQk0

 

Abraço

Link to comment
Share on other sites

boa noite, o erro não é na chamada mesmo, eu dei uma olhada, ali tem vários JS, alguns deles pode estar dando o conflito, terá que analisar com calma item a item, e ver os conflitos. 

 

 

good night, the error is not in the call itself, I took a look, there are several JS, some of them may be giving the conflict, will have to analyze the item calmly, and see the conflicts.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...