Jump to content

Recommended Posts

Posted

Hi!

 

The Callout extension

Callout is an extension class, which is a CSS styleable floating callout container with an optional arrow, developed by John Yanarella. It is useful for creating hint overlays and interactive callout windows/popovers...

 

https://github.com/CodeCatalyst/Ext.ux.callout.Callout

 

post-906-0-94467000-1448966705_thumb.png

 

A live demo is available for this extension at http://lab.codecatalyst.com/Ext.ux.callout.Callout.

 

Exemplary use:

 

1. Add these files to the project:

https://github.com/CodeCatalyst/Ext.ux.callout.Callout/tree/master/build

 

2.

procedure TMainForm.UniButton1Click(Sender: TObject);
begin  
  UniSession.AddJS(
  'Ext.widget(''callout'', {'+
         'cls: "cartoon",'+
         'width: 200,'+
         'html: "Click anywhere to dismiss this callout window.",'+
         'calloutArrowLocation: "top",'+
         'target: "#'+UniButton1.JSName+'_id",'+
         'relativePosition: "t-b",'+
         'relativeOffsets: [0,10],'+
         'fadeInDuration: 200,'+
         'fadeOutDuration: 200,'+
         'dismissDelay: 5000,'+
    '}).show();'
  );
end;

Best regards.

  • Upvote 3
  • 2 years later...
Posted

Demo looks great!

 

How do I add this file to the project?

I put it in:

   C:\Program Files (x86)\FMSoft\Framework\uniGUI\ext-4.2.5.1763\examples\ux\callout

but it does not work...

 

What am I doing wrong?

Steve

  • 3 years later...
Posted
On 12/1/2015 at 1:16 PM, Sherzod said:

Hi!

 

The Callout extension

Callout is an extension class, which is a CSS styleable floating callout container with an optional arrow, developed by John Yanarella. It is useful for creating hint overlays and interactive callout windows/popovers...

 

https://github.com/CodeCatalyst/Ext.ux.callout.Callout

 

post-906-0-94467000-1448966705_thumb.png

 

A live demo is available for this extension at http://lab.codecatalyst.com/Ext.ux.callout.Callout.

 

Exemplary use:

 

1. Add these files to the project:

https://github.com/CodeCatalyst/Ext.ux.callout.Callout/tree/master/build

 

2.

procedure TMainForm.UniButton1Click(Sender: TObject);
begin  
  UniSession.AddJS(
  'Ext.widget(''callout'', {'+
         'cls: "cartoon",'+
         'width: 200,'+
         'html: "Click anywhere to dismiss this callout window.",'+
         'calloutArrowLocation: "top",'+
         'target: "#'+UniButton1.JSName+'_id",'+
         'relativePosition: "t-b",'+
         'relativeOffsets: [0,10],'+
         'fadeInDuration: 200,'+
         'fadeOutDuration: 200,'+
         'dismissDelay: 5000,'+
    '}).show();'
  );
end;

Best regards.

Подскажите пожалуйста, в какое место нужно добавить эти файлы?

Please tell me where to add these files?

Thanks in advance!

 

Posted
12 minutes ago, dbf_usr said:

Подскажите пожалуйста, в какое место нужно добавить эти файлы?

Здравствуйте, 

Можете скопировать файлы в папку files, и включить в проект.

Posted
1 hour ago, Sherzod said:

Здравствуйте, 

Можете скопировать файлы в папку files, и включить в проект.

каталоги с файлами (resource/css/theme), (src/ux/callout) или только файлы из этих каталогов?

как файлы включить в проект, это же не код Delphi ?

перепробовал все варианты - ошибка

image.png.c33cd3771685ad92e0b04aa03800a8d3.png

 

Posted
21 minutes ago, dbf_usr said:

каталоги с файлами (resource/css/theme), (src/ux/callout) или только файлы из этих каталогов?

перепробовал все варианты - ошибка

image.png.c33cd3771685ad92e0b04aa03800a8d3.png

Вы кажется не включили в проект.

image.thumb.png.46ae86d37e2057cff75e6ff759ab1f48.png 

Posted
1 hour ago, Sherzod said:

Вы кажется не включили в проект.

image.thumb.png.46ae86d37e2057cff75e6ff759ab1f48.png 

как файлы включить в проект, это же не код Delphi ?

Posted
18 minutes ago, dbf_usr said:

как файлы включить в проект, это же не код Delphi ?

Выше смотрите. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...