<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: superhands89</title>
    <description>The latest articles on DEV Community by superhands89 (@superhands89).</description>
    <link>https://dev.to/superhands89</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F551945%2F33e27062-6298-4c64-bd6f-06706686dcdc.jpg</url>
      <title>DEV Community: superhands89</title>
      <link>https://dev.to/superhands89</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/superhands89"/>
    <language>en</language>
    <item>
      <title>Sitefinity Custom Form Validation Using Vanilla JS</title>
      <dc:creator>superhands89</dc:creator>
      <pubDate>Sun, 10 Jan 2021 21:00:07 +0000</pubDate>
      <link>https://dev.to/superhands89/sitefinity-custom-form-validation-using-vanilla-js-468e</link>
      <guid>https://dev.to/superhands89/sitefinity-custom-form-validation-using-vanilla-js-468e</guid>
      <description>&lt;p&gt;Sitefinity CMS forms rely on default HTML5 validation when the user tries to submit the form. But what if we want more control over the validation on the front end?..&lt;/p&gt;

&lt;p&gt;"&lt;a href="https://github.com/Superhands89/SitefinityClientSideFormValidationMVC"&gt;SitefinityClientSideFormValidationMVC&lt;/a&gt;" plugin provides custom form validation for Sitefinity MVC forms using vanilla client side JavaScript.&lt;/p&gt;

&lt;h2&gt;
  
  
  Features...
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Validation of all fields/inputs at once, thus removing the need to rely on HTML5 validation of each field individually&lt;/li&gt;
&lt;li&gt;Pattern validation for email and number fields etc.&lt;/li&gt;
&lt;li&gt;Smooth scrolling to areas that fail validation on form submit&lt;/li&gt;
&lt;li&gt;Allows creative control over the way form validation is handled&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here is the GitHub page: &lt;a href="https://github.com/Superhands89/SitefinityClientSideFormValidationMVC"&gt;https://github.com/Superhands89/SitefinityClientSideFormValidationMVC&lt;/a&gt;&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>sitefinity</category>
      <category>cms</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Vertical Scroll Navigation Dots for the Side of Any Web Page in 2 Minutes... (Vanilla JS Plugin)</title>
      <dc:creator>superhands89</dc:creator>
      <pubDate>Sun, 03 Jan 2021 16:43:51 +0000</pubDate>
      <link>https://dev.to/superhands89/vertical-scroll-navigation-dots-for-the-side-of-any-web-page-in-2-minutes-vanilla-js-plugin-4cle</link>
      <guid>https://dev.to/superhands89/vertical-scroll-navigation-dots-for-the-side-of-any-web-page-in-2-minutes-vanilla-js-plugin-4cle</guid>
      <description>&lt;p&gt;Side navigations really help users keep track of their location on a Web page, especially considering how tall many pages have become with so much content below the fold.&lt;/p&gt;

&lt;p&gt;The difficulties associated with these kinds of pages is further exaggerated on mobile devices, whereby content is stretched into the shape of a &lt;em&gt;mighty sword&lt;/em&gt; that the user must slide down on their own.&lt;/p&gt;

&lt;p&gt;Some solutions to this involve breaking the page into full screen sections that can be navigated between, kind of like a PowerPoint presentation. But why limit your content to these slides? And why should navigation need to affect layout at all?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I present &lt;a href="https://github.com/Superhands89/EasyScrollDots"&gt;EasyScrollDots&lt;/a&gt;&lt;/strong&gt;, which allows the user to click to scroll though sections of the page, and it updates as they scroll.&lt;/p&gt;

&lt;p&gt;It's a nice simple &lt;strong&gt;vanilla&lt;/strong&gt; JavaScript page scroll plugin that literally just requires you to drop a data attribute on the outer element of each section that should have a dot associated with it...&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;div data-scroll-indicator-title="Hello World"&amp;gt;&lt;br&gt;
    Content in my section lorem ipsum dolor...&lt;br&gt;
&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;You should update "Hello World" to represent the title for that section of the page..&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Here's a &lt;strong&gt;&lt;a href="https://easyscrolldots.primmis.com/"&gt;Demo&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Some of the benefits of EasyScrollDots are that it doesn't let sticky or fixed top navigation bars get in the way when you click  to scroll to a section (even if the navigation bar is only fixed when the user is scrolling upward); and you can set your own offset amount in pixels when you call the plugin.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;To call the plugin you just...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;easyScrollDots({
  'fixedNav': false, // Set to true if you have a fixed nav.
  'fixedNavId': '', // Set to the id of your navigation element if 'fixedNav' is true (easyScrollDots will measure the height of the element).
  'fixedNavUpward': false, // Set to true if your nav is only sticky when the user is scrolling up (requires 'fixedNav' to be true and 'fixedNavId' to be a value).
  'offset': 0 // Set to the amount of pixels you wish to offset the scroll amount by.
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By default, hovering on a dot whilst using a device that supports hover will show the title for that section, whilst touch devices only show the dots. And even IE11 is supported for a laugh...&lt;/p&gt;

&lt;p&gt;&lt;code&gt;@media (hover: hover), (-ms-high-contrast: none), (-ms-high-contrast: active) {&lt;br&gt;
    :D :D&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;From a performance perspective, it's under 4kb of JavaScript and under 2kb of CSS. It's throttled too so there's zero impact on user experience :)&lt;/p&gt;

&lt;p&gt;Here is the GitHub page: &lt;a href="https://github.com/Superhands89/EasyScrollDots"&gt;https://github.com/Superhands89/EasyScrollDots&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And Thanks for Reading!! :D &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>css</category>
      <category>html</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
