Jump to content
php.lv forumi

Nivo slidera bildes pielāgošana


spamotuve

Recommended Posts

Labadiena! Lieta tāda - kaut arī es zinu, ka Nivo sliders nav radīts, lai slaidotu backgroundus, bet tas ir tas, ko man šobrīd vajag. Un problēma ir tajā, ka man vajag, lai tas backgrounds tiktu slaidots saglabājot izmēra proporciju uz jebkāda monitora. CSS3 ar backgroundu to var viegli izdarīt background-size: cover; varbūt varat ieteikt kā lai to izdara caur JS uz bildi, kura ņemta caur <img> tagu?

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
Reply to this topic...

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