Jump to content
php.lv forumi
  • 0

jquery resize events


foxsk8
 Share

Question

Sveiki tautieši.

 

Kā varētu jquery UI resize funkciju dabot tā, lai bloku varētu resaizot tikai uz augšu vai leju. Uz leju itkā varētu dabot, bet kā panākt to, lai viņš ļautu gan augšu pavilkt blokam, gan apakšu?

 

 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Šobrīd vienkārši sanāk, tāds kā kelndāra tips, kurā atrodās bloki, jeb aizņemto stundu skaits. Opcija paredz, ka velkot uz augšu, leju, palielina bloku, bloks ir absolūts, un nekas viņam netraucē, samazināties, vai palielināties.

Link to comment
Share on other sites

  • 0

Atrisinājums ir tas, ko teicu. Ja tu centies izdarīt kkā savādāk, tu dari to nepareizi.

 

https://developer.mozilla.org/en-US/docs/CSS/resize

 

P.S. Protams, ar pieņēmumu, ka neatbalsti browserus, kuri neatbalsta CSS3.

Link to comment
Share on other sites

  • 0

DG, css3 man tur neder, kā tu callbacku padosi? Tur ir JS kopā ar php beigās. 

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

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

Loading...
 Share

×
×
  • Create New...