Hello Damianroiz !
as far as I understand your request : you want a "notification feature" , am I right ?
when users click on one only grid box, a notification will appears. isn't it ?
to achieve this feature :
- define your container with html tag
"<div id="myNotification"> purposes will be injected here </div>"
- use css to hide it. "display:hidden;" will suits.
to push it on foreground, you have the z-index parameter : 0 is ground , 1 is above , 500 is above again and so and so , it's layer for your html page. [ 0, 1, 500 level ]
then use animate with css to act on the 'div' to reveal it, to make it move, then to hide it.
a timer can help you to proceed ( animate have time settings through the animation too )
About your code :
you have build a constant Array , which type is "mixed array" in JS ( several contents and type of data in the array ).
API like JQuery are mixed array too, there are functions, datas , few types , media contents in.
Js handles that perfectly , it's "low Type" gain.
note that you redefine "serviceText()" every slot in your array.
using one input parameter your can have it written just one time.
It's close to JSON resource operating.
your array, as database, can exist without the function in.
and a for (loop) will fetch the array and pick all datas .
elements missing :
the base of your grid :
for every box : onclick('PULL_NOTIFICATION(theRowId)');
on a click :
prepare the "div"
populate with 'contents' from the array
launch the notification animate.
empty the "div" for a clean memory management and to avoid merging of our datas in the "div".