jQuery dataTable and FancyBox

Just a short note as an addon to my post some time ago about fancybox and ajax: in case a you have a table where one of the columns contains links to fancybox popups or something like that and this table is also wrapped into jQuery dataTables, do the init of fancybox prior to init of dataTables, since if you do dataTables first, all elements that are not on the current page will not be properly initialized with fancybox and thus, the links will be broken if you navigate to the next page of dataTable.

The point is that when dataTable is initiated, all elements that do not fit on a single page of a table are hidden via removal from DOM and thus not visible for fancybox init function, while if you do other way around, first fancybox is correctly set to all elements in the table and then hidden elements are removed, so when you change a page and elements are inserted back – they are already inited with fancybox and will work perfectly well.

Inception real life

Some time ago saw a real inception concept in technology. This had to do with activation process of pre-paid cards for a distributor of such cards within cards provider. Whenever a distributor needed to activate a batch of pre-paid cards (prior for those cards to be sold out), he needed to perform the following steps:

  1. Open a web page and login to distributors area on the site
  2. Click a button to launch a java applet which would open an RDP client and connect to a window server
  3. In the given RDP session click on shortcut, which would open IE with a web page of some intranet, accessible only from that RDP session
  4. In the given intranet, enter a part of LIKE SQL statement with parts of the serial number of cards to be activated and click the query button
  5. Select all/some checkboxes next to result rows of a query and press activation button

That looks pretty much like a scenario of a recent movie :)

I won’t give out any names of companies or whatsoever, just wanted to show how a simple task can be over-complicated…

Gnome3 Fallback Mode

After working for a while on Xfce, I found out about Gnome 3 fallback mode. That is almost exactly what I needed – old style Gnome. Obviously not completely like Gnome 2.x, but very very close to it.

Will work in Gnome 3 under this mode for a while to see. At least I have all my menus, applets, proper system tray and whatever else I am so used to in their correct places :)

Saturday

Just a short post on a nice Saturday. Started by going to BBQ for birthday party of my friends mother. Meat, beers, guitar, nice people, like always, pics here. After BBQ went went to Agios Georgios where some unknown event was to take place. We didn’t know much about what’s going on there, just decided to check and found out that there should be some DJ concert with tons of people and 20 euro entrance fee, so we skipped it and went to take few photos on a nearby beach. Managed to take few nice pics as well (somehow sea is always nice on photos).

As per now, it is Sunday morning, coffee and few nice plans for a day… Good thing is that tomorrow is a holiday, so this weekend is pretty long!

Latchi

Since parents of my classmate from hometown came for vacations in Cyprus, I decided to visit them in Latchi (close to Paphos) last afternoon. Had some nice time in a taverna by the marine, lots of talking and memories (haven’t seen them for 10 years or so), as well as few pics. On a way back, while I was driving, Yana was playing with camera and night lights, the experimental art photos here.

 

Few nice things about Latchi that I noticed yesterday: the Sunset is just amazing there and it is very very quiet. Even the music in the restaurants is not playing and due to the small size of a town/village and not that many people around – it is very relaxing, compared to Limassol, Paphos or any other town on the island. I am thinking on visiting that place from time to time during evenings for relaxed atmosphere.