muse

Client-side image resolution/size validation

别来无恙 提交于 2020-01-12 10:08:26
问题 I'm designing a website for a printing company. They want an image size/resolution checker that will let their customers upload an image they want to print, and tell them if the image resolution is good enough for printing. I'm using Adobe Muse, so I need a simple HTML and CSS solution to this without any server-side requirements. This is what I have so far, based on this question: window.URL = window.URL || window.webkitURL; $("form").submit(function(e) { var form = this; e.preventDefault();

Client-side image resolution/size validation

杀马特。学长 韩版系。学妹 提交于 2019-12-03 17:25:36
I'm designing a website for a printing company. They want an image size/resolution checker that will let their customers upload an image they want to print, and tell them if the image resolution is good enough for printing. I'm using Adobe Muse, so I need a simple HTML and CSS solution to this without any server-side requirements. This is what I have so far, based on this question : window.URL = window.URL || window.webkitURL; $("form").submit(function(e) { var form = this; e.preventDefault(); //Stop the submit for now //Replace with your selector to find the file input in your form var

Sticky Header Flickering on Safari Desktop Only When Anchor Scrolling

大憨熊 提交于 2019-12-01 18:52:18
问题 I've built a website in Adobe Muse which has a sticky header that appears when scrolling past the logo. This works perfectly on Chrome and Firefox, even on iPad Safari, however, it does not work well on desktop Safari and flickers badly when clicking an anchor link which smoothly scrolls to the anchor. Please see the example website below: http://mattstest03.businesscatalyst.com/index.html When clicking 'Contact Us' on Firefox/Chrome, the sticky header will look great throughout the smooth

Sticky Header Flickering on Safari Desktop Only When Anchor Scrolling

感情迁移 提交于 2019-12-01 18:25:51
I've built a website in Adobe Muse which has a sticky header that appears when scrolling past the logo. This works perfectly on Chrome and Firefox, even on iPad Safari, however, it does not work well on desktop Safari and flickers badly when clicking an anchor link which smoothly scrolls to the anchor. Please see the example website below: http://mattstest03.businesscatalyst.com/index.html When clicking 'Contact Us' on Firefox/Chrome, the sticky header will look great throughout the smooth scroll. On Safari, it flickers on/off during the scrolling. Here's a GIF of the flickering effect: Here's