Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

colin.irwin

Circle Member
  • Content Count

    3,456
  • Joined

  • Last visited

  • Days Won

    89

Everything posted by colin.irwin

  1. <style> .post-meta { visibility: hidden } </style>
  2. Hi, I've recorded a screencast that shows the steps required to achieve this.
  3. As I said in a comment to another answer in this thread, keep an eye on the performance of your site. High quality DSLR photos (Jpeg FINE or similar) give a very large file size that Squarespace will then produce versions of for display on different device viewports. If you experience slow image downloads it may be a good idea to experiment with saving out your original images with more Jpeg compression before uploading (70-90% quality gives good results * much smaller file size). It should be the case that the versions Squarespace creates from the smaller original will also be smaller.
  4. I'm not sure if that's 100% true. There was another user who had very slow loading galleries. When he optimised his images and reuploaded them, the site loaded quicker because the images had smaller file sizes.
  5. Squarespace online materials state that a width of 1500 pixels is optimal. Images wider than 1500 pixels are resized to 1500 on upload but can have a small delay before becoming available. The system produces different versions of the uploaded image for different usage scenarios - browser, tablet, retina display - and serves out the most appropriate one for the user's device.
  6. The bulk of it was posted on here. I adapted it to add a condition to prevent it firing off multiple events and to insert the redirect function to replace a function that posts to Google Analytics.
  7. Thinking laterally.. ..why not change the Thank you message to set the user's expectations: "Thanks for getting in touch.. ..you will be automatically redirected to my blog page in a few seconds. To get there quicker, click this link... "
  8. You'd expect it to load the thank you message, because the redirect only happens once the DIV that holds the message becomes visible. When I tested it on my site there was a gap of a second or so before the redirect happens, I can't think of any reason that the code would be responsible for any delay.
  9. The following code seems to work. Replace “/” with the relative link you want the redirect to go to. If you want to link to an external site you’ll need to enter a full url of the format http://www.somewhere.com/somepage.htm The code should be inserted in the injection point for the form page: <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script> var eventposted = 0; $(document).ready(function() { $('input.button').click(function() { window.setInterval(foo, 100); }); }); function foo() { if (($(".form-submission-text").is(':visible')) && (eventposted == 0)) { window.location.href = "/"; } } </script>
  10. I think you could adapt the code in the link above to fire off a page redirect once the form submission DIV is made visible.
×
×
  • Create New...