Pocket Christmas Card - Animated Creative HTML5 Template

Description

Animation centered in browser window. Template is fully responsive and design looks correct and sharp at any devices. Easy to customize logo, music, text greetings, URL-button, recolor objects (background, folder, trees, gifts, toys) via editing settings.js and style.css with any texteditor. Note, for additional editing, for example shapes or animations, you need Adobe Animate CC installed.
Features:
- You can open and close xmas card to start/stop animations.
- Many settings in settings.js (see code example below), easy to use, you can change logo, music file, text, sizes, recolor without recompile original .FLA file.
- Original music loop and sound effects included in archive.
- Ready to upload index.html page with responsive animation centered in browser.
- Well commented code.
- Documentation.
Re-color with JS-variables in text editor:
Credits:
Free font used in template: Miso by Mårten Nettelbladt Library used for main animation: CreateJS http://www.createjs.com/ Libraries used for detect browser and IE fallback: Jquery https://jquery.com/ Yepnope http://yepnopejs.com/ Additional libraries: inobounce.js
Files included:
FLA, HTML, JS, CSS, MP3, PSD, PNG, Documentation
If you like this template, please rate/share it after purchase. Thanks and Merry Christmas!
Updates:
*** Version 1.2 - 16 December 2019 ***
BUG FIXES:
- Fixed issue when ecard don't starting in Edge browser with recolor feature added.
*** Version 1.1 - 7 December 2019 ***
NEW FEATURE:
- Added easy recolor ability for ecard elements (folder, trees, toys, gifts).
Example of settings.js with user preferences:
// ------------------------------------------------------------
//
// POCKET XMAS CARD by Kontramax
//
// ------------------------------------------------------------
//
// Initial setup - you can change parameters here:
// Main animation settings
var main_animation_x = 0; // Animation position by X (in pixels)
var main_animation_y = -50; // Animation position by Y (in pixels)
var main_animation_scale = 120; // Animation sale factor (in percents)
// Logo settings
var logo_enable = true; // Show or hide logo on card (true, false)
var logo_path = "images/logo.png"; // Specify here path to your logo
var logo_x = 3; // Logo position corrections by X (in pixels)
var logo_y = -15; // Logo position corrections by Y (in pixels)
var logo_scale = 43; // Logo sale factor (in percents)
// Greeting text settings
var textbox_message = "Dear friends!\nPut this card in your pocket and Christmas mood always will be with you. Be happy and keep smiling!"; // Use \n as line break
var textbox_font = "normal 27px miso-regular"; // Font face settings
var textbox_color = "#DBF5FF"; // Greeting text color
var textbox_x = 0; // Greeting textbox position by X (in pixels)
var textbox_y = -70; // Greeting textbox position by Y (in pixels)
var textbox_scale = 100; // Greeting textbox scale factor (in percents)
var textbox_linewidth = 350; // Width of text box
var textbox_lineheight = 32; // Font line height
var textbox_align = "center"; // Horizontal alignment (left, center, right)
var textbox_baseline = "middle"; // Baseline alignment (top, middle, bottom)
// Button settings
var button_enable = true; // Show button below greeting (true, false)
var button_text = "Merry Christmas!"; // Text on button
var button_text_hover = " Buy Pocket Card "; // Text on hovered button
var button_url = "http://kontramax.com"; // URL path when click on button
var button_url_target = "_blank"; // Targeting URL (_blank, _self, _parent, _top)
var button_font = "normal 23px miso-regular"; // Font face settings
var button_space = 28; // Distance between greeting text and button
var button_margin_x = 36; // Distance from button text to button borders by X
var button_margin_y = 20; // Distance from button text to button borders by Y
var button_rounded = true; // Rectangle or rounded button (true, false)
var button_text_color = "#6283B3"; // Button text color when idle
var button_text_color_hover = "#DBF5FF"; // Button text color on hover
var button_fill_color = "#DBF5FF"; // Button fill color when idle
var button_fill_color_hover = "#EF1D4B"; // Button fill color on hover
// Music settings
var music_path = "sounds/music.mp3"; // Path to music
var sound_in_path = "sounds/sounds-in.mp3"; // Path to sound-in FX
var sound_out_path = "sounds/sounds-out.mp3"; // Path to sound-out FX
var music_loop = true; // Repeat music file (true, false)
var mute_all = false; // Mute music and sounds (true, false)
// Main recolor settings
var card_gradient_color_1 = "#808B9D"; // Default: #808B9D
var card_gradient_color_2 = "#6084AB"; // Default: #6084AB
var card_snow_traces_color_1 = "#667591"; // Default: #667591
var card_snow_traces_color_2 = "#6084AB"; // Default: #6084AB
var trees_gradient_color_1 = "#D9E0E3"; // Default: #D9E0E3
var trees_gradient_color_2 = "#9CA6B0"; // Default: #9CA6B0
var tree_toys_gradient_color_1 = "#FF004D"; // Default: #FF004D
var tree_toys_gradient_color_2 = "#4F212B"; // Default: #4F212B
var tree_toys_gradient_color_3 = "#6A1A2F"; // Default: #6A1A2F
var tree_toys_gradient_color_4 = "#771631"; // Default: #771631
var shadow_visible = true; // Visibility of fold shadow on card
var shadow_alpha = 100; // Alpha of fold shadow on card (in percents), default: 10
var shadow_gradient_color_1 = "rgba(85, 119, 153, 0)"; // Default: rgba(85, 119, 153, 0)
var shadow_gradient_color_2 = "#587797"; // Default: #587797
// Gift 1 recolor settings
var gift1_box_light = "#C51144"; // Default: #C51144
var gift1_box_med = "#920736"; // Default: #920736
var gift1_box_dark = "#530025"; // Default: #530025
var gift1_ribbon_light = "#FFFFFF"; // Default: #FFFFFF
var gift1_ribbon_dark = "#919191"; // Default: #919191
// Gift 2 recolor settings
var gift2_box_light = "#5D5964"; // Default: #5D5964
var gift2_box_med = "#403F4D"; // Default: #403F4D
var gift2_box_dark = "#1E1E23"; // Default: #1E1E23
var gift2_ribbon_light = "#FFB700"; // Default: #FFB700
var gift2_ribbon_med = "#FF9900"; // Default: #FF9900
var gift2_ribbon_dark = "#915700"; // Default: #915700
// Gift 3 recolor settings
var gift3_box_light = "#3A91EE"; // Default: #3A91EE
var gift3_box_med = "#137DD2"; // Default: #137DD2
var gift3_box_dark = "#3D64A6"; // Default: #3D64A6
var gift3_ribbon_light = "#1B5389"; // Default: #1B5389
var gift3_ribbon_med = "#30467A"; // Default: #30467A
var gift3_ribbon_dark = "#0B2C42"; // Default: #0B2C42
// Gift 4 recolor settings
var gift4_box_light = "#FFD200"; // Default: #FFD200
var gift4_box_med = "#E0AB00"; // Default: #E0AB00
var gift4_box_dark = "#9C4D00"; // Default: #9C4D00
var gift4_ribbon_light = "#C40451"; // Default: #C40451
var gift4_ribbon_med = "#7A002B"; // Default: #7A002B
var gift4_ribbon_dark = "#33000E"; // Default: #33000E
// Settings for tests
var stop_animation_on_button_click = true; // Beta: slow stop animations after button click
var center_page_mark_enable = false; // Show marks for centering tests
var show_test_info = false; // Show fps, dpr etc. info for tests
Congratulate your friends with cool animated ecards
Check my items currently on sale
Also check out additional music for your videos








| Type | HTML5 Script |
|---|---|
| Author | Kontramax |
| Category | Html5 / Canvas |
| Price | $13 |
| Sales | 130 |
| Published | Nov 13, 2019 |
| Last Update | Dec 16, 2019 |
| Compatible Browsers | IE10, IE11, Firefox, Safari, Opera, Chrome, Edge |
| Compatible Software | Other |
| Source Files Included | JavaScript JS, HTML, CSS, Layered PSD, Layered PNG |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 3,623 views · 33 clicksSaaS · Week 45 · 3,623 views · 33 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 41,160 views · 222 clicksWebsite · Week 45 · 41,160 views · 222 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 39,218 views · 113 clicksSaaS · Week 45 · 39,218 views · 113 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 58,255 views · 198 clicksSaaS · Week 45 · 58,255 views · 198 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 27,643 views · 120 clicksDesktop App · Week 45 · 27,643 views · 120 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 3,527 views · 18 clicksWebsite · Week 45 · 3,527 views · 18 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
2,221 views · 16 clicksWeek 45 · 2,221 views · 16 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
2,057 views · 13 clicksWeek 45 · 2,057 views · 13 clicks










