Jump to content

Recommended Posts

Posted

Hi Farshad/members.

 

1) I need to show special hint for every UniCalendarPanel Event.

I may use some AjaxRequest in ExtEvents.OnMouseOver handler, but I don't know how to get required event parameters (EventID, etc.) for active event under mouse cursor.

 

2) Should I use global UniCalendarPanel.Hint and change it on each OnMouseOver event, or should I use Ext.Tip.Tooltip rather ?

 

3) As a special case, I need to show event hint using Location/Notes property (client/JS only).

 

I'm not familiar with JS scripting well.

 

I'll be happy with some snippet.

 

Thank you so much.

  • 3 weeks later...
Posted

I have made some tests just editing the title of the event. Instead using the event title "New Event" i use:

 

<span title="event details...">New  Event</span>

Displays "event details..." as hint

 

 

<span onmouseover="alert('Hello');">New  Event</span>

Calls function alert(). Instead alert() you could use your own javascript function myfunc('EventId').

Posted

 

Thank you, I'll check this way.

 

Nevertheless, is there some way to get EventID for active event under mouse cursor ? ExtEvents properties look usable, but it's unclear to me how to pass right parameters for AJAX request. I need call it online and process it on server side.

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...