Jump to content

Ikko-ikki

Circle Member
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Ikko-ikki

  1. What if I want to target all images? I want to show Alt text on mouse hover on all images, and if there is no Alt text just CompanyName, is it possible? Got this script, but not sure what to correct: <script> document.addEventListener('DOMContentLoaded', function() { const images = document.querySelectorAll('img'); images.forEach(img => { const altText = img.getAttribute('alt') || 'Decoflame'; img.setAttribute('title', altText); // Optional: Custom tooltip for hover img.addEventListener('mouseover', function() { const tooltip = document.createElement('div'); tooltip.textContent = altText; tooltip.style.position = 'absolute'; tooltip.style.background = 'white'; tooltip.style.border = '1px solid black'; tooltip.style.padding = '5px'; document.body.appendChild(tooltip); img.addEventListener('mousemove', function(e) { tooltip.style.top = e.pageY + 10 + 'px'; tooltip.style.left = e.pageX + 10 + 'px'; }); img.addEventListener('mouseout', function() { document.body.removeChild(tooltip); }); }); }); }); </script>
  2. Hi Begona, let me get back to you on that. For now you can just add a Code Block and paste the html script. THat works, but understand it is annoying having to do it everytime ..
  3. thank you again !
  4. Tried it and worked as a charm, thank you! But I really like the floating of 7.1, and want to do it with code injection instead and also get different speed on each blog. Does anyone know how to do that? And how to recognize blog ID?
  5. thank you so much, I will try it out 🙂
  6. Please help, I am going insane. On my Blog posts if I add image, I get all the choices of Inline, Poster etc, and can choose all kinds of animations.. But I want animation on my About page, which was made from a blank page, and I insert image block, for some reason I don't have the same options here and really want the teams images to fade slowly in. please help
  7. Hi Everyone, we thought the tagcloud design looks a little messy, so here we have redesigned it to be button styled, grey and with darker grey hover background https://www.ikko-ikki.org/tagcloud-block-design-for-squarespace-7-1 Live demo: https://www.ikko-ikki.org/articles Hope y'all enjoy and can use it ... btw, this is free and there is no support or customization for it, but you can change color and spacing simply in the css code.
  8. Hi Everyone, we were missing the Social Share buttons on Squarespace 7.1, on blogposts and everywhere else, so we programmed this little nugget for free. No signup, no ads, just Sharing is Caring: https://www.ikko-ikki.org/free-social-share-buttons-for-squarespace-7-1 Hope y'all enjoy and can use it ... btw, this is free and there is no support or customization for it, but we have written a little about how to redesign and more on the guide.
  9. Hi everyone, we thought it was annoying too, and really miss the sharebuttons, so we programmed these for free, no ads, no sign up or anything just feel Sharing is Caring, guide on page: https://www.ikko-ikki.org/free-social-share-buttons-for-squarespace-7-1 Hope you can use it 🙂
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.