Jump to content

keevitaja

Members
  • Posts

    43
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

keevitaja's Achievements

Member

Member (2/5)

0

Reputation

  1. i have resposive webpage layout with masonry. when user resizes the browser below certain viewport width, i destroy masonry. but after user resized back, i can't reinitialize masonry. it just will not arrange the blocks as it should. any ideas how to fix this?
  2. if you use active records, then adding the date should look something like this: $this->db->set('created', 'NOW()', FALSE)->insert('posts', $data); where table field created is mysql datetime. $data does not contain created at all.
  3. i found a solution. i need to convert idn domain to ascii and then use filter_var found one converter from github: https://github.com/aluksidadi/IDN-Validator/blob/master/idna_convert.class.php
  4. how to validate url with preg_match so it wouldn't fail with local specials characters like: http://höme.com/whatever -- please note the o with dots. it is actually valid url
  5. i want to "auto select" some text so user could just hit crtl+c like in goo.gl the url is autoselected
  6. is it possible to select some text with jquery. the result should be the same, when you hold down left mouse button and drag it to copy the selection?
  7. there are 3 tables campaigns id int cp_contacts id int campaign_id int cp_friends id int cp_contact_id i need to retrieve all rows from campaigns and add how many contacts campaigns has total and how many friends total connected to campaigns thrugh contacts . i can get out the cp_contacts count with left join. can anyone help me?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.