Scam Ads Online: Why They Keep Appearing
Why scam adverts continue to appear online, how they work and what UK users can do to protect themselves from fraudulent ads.
Read Article →|
How do I create a read more box to show additional content on my Weebly website?
How do I create an accordion style text box in Weebly? How do I create collapsible and expandable content on my Weebly website? How do I create a read more link in Weebly that does not open to a new page? Can I create an accordion text box in my Weebly website without using an app? Can I create read more text boxes to display more content in Weebly? Answer: To create expandable, collapsible, accordian style, "read more" text boxes follow the simple instructions below. Difficulty: Easy - So this is relatively easy to do within Weebly and requires no coding skills at all. Skills: None - Just the ability to click, copy and paste into the correct sections and files. Time to complete: Quick <5 mins (less than 5 minutes) NOTES: For this example I have included a clean code, with black text on a white background but you can change these colours quite simply. And you can change the Read More text to any text you want i.e. expand content, read more, something about add topic, a question, etc. FINAL NOTE: When you have installed the CSS and Javascript (Just the once), all you need to do is add the html and your text to any page on your website. |
HERES THE SIMPLE OPTIONJust drag and drop </> Embed Code tile on to your page and add the following code:
<p><a href="#" onclick="toggleContent(); return false;">CLICK TO SHOW CONTENT</a></p> <div style="display: none;" id="content"> <p>This is the content to reveal, show and hide, expand and collapse or simply open up to read more.</p> </div> <script> function toggleContent() { var content = document.getElementById("content"); if (content.style.display === "none") { content.style.display = "block"; // Show content } else { content.style.display = "none"; // Hide content } } </script> NOTE: ONLY ONE COLLAPSIBLE BOX PER PAGE WITH THIS OPTION
THE CODE IN ACTIONThis is the content to reveal, show and hide, expand and collapse or simply open up to read more. |
STEP ONE
STEP TWO
STEP THREE
Here you can create really simple expandable, accordian style text boxs with images and links.And use copy and paste to create multiple.
Seriously you can just keep going and create mutliple expandable boxes. These are perfect for creating FAQ Frequently asked questions within your Weebly Blog or website.
Stay up to date with the latest SEO news, website optimisation tips, digital marketing advice and practical guides from SEOLIT. Discover useful ideas to help improve your website, attract more visitors and generate more enquiries.
Why scam adverts continue to appear online, how they work and what UK users can do to protect themselves from fraudulent ads.
Read Article →Practical website optimisation advice and simple improvements that can help your website perform better in search engines.
Read Article →What makes a good domain name and why choosing the right domain can be an important part of your online strategy.
Read Article →Explore SEOLIT's collection of SEO news, search optimisation advice, website tips and digital marketing ideas.
Explore Articles →Discover practical ways to optimise a Weebly website and improve its visibility, performance and search presence.
Read Article →Learn more about links, SEO and the factors that can influence your website's visibility in search engine results.
Read Articles →