Parallax Scrolling៖ តើវាជាអ្វី?

សរសេរ​ដោយ

ក្នុង

,

The parallax scrolling effect is a design technique that’s relatively new in development and web design. Over the past few years since it’s hit the scene though, it’s grown pretty popular in its own right, and with good reason, too.

និយមន័យនៃ Parallax Scrolling

Parallax scrolling is a technique wherein your web page’s background image scrolls at a slower rate compared to the foreground image. It gives the user a unique sense of depth and action while scrolling through a page when used on a website.

Without Parallax Scrolling

The elements of the web page – the text, images, buttons, etc – all scroll at the same rate as the background.

With Parallax Scrolling

The background image scrolls at a different rate as the rest of the elements in the page.

ផលប៉ះពាល់ដល់អ្នកប្រើប្រាស់នៃ Parallax Scrolling

ទោះជាយ៉ាងណា បច្ចេកទេសនេះមិនមែនជាការថ្មីស្រឡាងនោះទេ ហើយជាក់ស្តែងត្រូវបានគេប្រើប្រាស់នៅក្នុងជីវចលបែបប្រពៃណីតាំងពីទសវត្សរ៍ឆ្នាំ 1920 មកម្ល៉េះ។ វាក៏ត្រូវបានគេប្រើនៅក្នុងវីដេអូហ្គេមបុរាណជាច្រើនផងដែរ ដូចជា Super Mario brothers ជាដើម។

ទោះជាយ៉ាងណាក៏ដោយ នៅក្នុងវិស័យរចនាគេហទំព័រ ក្រុមហ៊ុន Nike ត្រូវបានចាត់ទុកជាញឹកញាប់ថាជាក្រុមហ៊ុនដំបូងគេមួយដែលបានប្រើ parallax scrolling នៅឆ្នាំ 2011។ ចាប់តាំងពីពេលនោះមក ពាក្យថា «parallax scrolling» (ជួនកាលហៅថា «parallax background/s») បានក្លាយជាពាក្យទូទៅក្នុងចំណោមអ្នករចនា និងអ្នកអភិវឌ្ឍន៍ដូចគ្នា ដោយទទួលបានការពេញនិយមជាលំដាប់។

Parallax scrolling as used in a version of Super Mario Brothers. Notice how the hills in the background move
in slightly varying speeds, as compared to Mario and the other characters in the foreground.

តើអ្នកប្រើប្រាស់ទទួលបានផលប្រយោជន៍អ្វីខ្លះ

អ្វីដែលអស្ចារ្យអំពីបែបផែននេះ គឺវាជម្រុញអ្នកប្រើប្រាស់ឱ្យមានទំនាក់ទំនងជាមួយគេហទំព័ររបស់អ្នក បង្កើនទាំងអន្តរកម្មរបស់អ្នកប្រើប្រាស់ និងភាពទាក់ទាញ។ ហើយនៅពេលធ្វើបានត្រឹមត្រូវ parallax scrolling អាចធ្វើឱ្យគេហទំព័រដែលសាមញ្ញបំផុតមានភាពរស់រវើកឡើង។ វាក៏អាចត្រូវបានប្រើដើម្បីបង្កើតដំណើររឿងដ៏អស្ចារ្យ ដែលទាក់ទាញអ្នកទស្សនាគេហទំព័រទាំងអស់ភ្លាមៗផងដែរ។

ចែករំលែកស្នាដៃរបស់អ្នកជាមួយយើង!

ដូច្នេះ តើអ្នកទាំងអស់គ្នាយល់យ៉ាងណាដែរ? តើអ្នកបានប្រើមុខងារ parallax background ថ្មីបំផុតពី PBS v4 ហើយឬនៅ? តើវាផ្តល់ផលប្រយោជន៍ដល់អ្នកដែរឬទេ? សូមកុំស្ទាក់ស្ទើរក្នុងការភ្ជាប់តំណភ្ជាប់ទៅកាន់ស្នាដៃរបស់អ្នកមកកាន់យើង ឬទុកការផ្ដល់យោបល់មួយចំនួននៅក្នុងផ្នែកមតិយោបល់ខាងក្រោម។

រីករាយក្នុងការបង្កើតគេហទំព័រ!