Jump to content
php.lv forumi
  • 0

DIVa scrolleris ar jquery, jāuzlabo


jam

Question

Čau, viedie. Lūk kods, kurā ir trīs DIVi ar tekstu, kuru skrollē verikālu jquery UI slider funkcija.

 

http://jsfiddle.net/fvtV9/7/

 

Drusku pietrūkst pieredzes, lai atrisinātu šādas lietas:

 

1) Nerādīt scrollu vispār, ja ir maz teksta - trešais variants.

2) Ja ir garš teksts, tad tas scrolleris neizskorllē visu tekstu - pirmais variants.

 

DIVu izmēri gan ir konstanti, kā jsfiddle koda piemērā.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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...
×
×
  • Create New...