How to Make JS Code Execute After the Page has Finished Rendering (Website Optimization)
Last Updated on Wednesday, 9 January 2013 12:00 Written by Richi González Wednesday, 9 January 2013 12:00
Hello,
When I’m creating a website, I try to make it load as fast as possible. I have read lots of techniques on how to achieve this, and the one that is effortless and free to make it, is having JS code run after the DOM is ready.
1. Open the file where your JS code resides. For this article, I will have the following code between my <head> tags:
Learn MoreBeginners Guide to Creating a Website
Last Updated on Saturday, 5 January 2013 07:27 Written by Sefket Nouri Thursday, 3 January 2013 12:00
This guide will help you start on your feet on creating a website.
What is a Web Host?
A web host is a company that sells you web space for you to host your website. Without web space, you can’t have a website up.
1) First, you would need a server to put your website online. A server is what holds your website up.
Learn MoreHow to Make the Blog Title Accept More than 32 Characters in SocialEngine 4
Last Updated on Friday, 14 December 2012 12:00 Written by Andrew Cross Friday, 14 December 2012 12:00
Here’s a little tutorial on how to change from the default 32 characters in blog title to a larger value , say 64.
By default , in SE 4.1.4 a blog title can have a maximum of 32 characters , and if a title with more than 32 characters is entered , it will be accepted , but when viewing the blog , the title will be truncated to 32 characters.
To fix this (and also for the forum ) do the following :
Edit this —-
Learn MoremojoPortal Tips: Making a Form Pop Up a Lightbox with Form Wizard Pro
Last Updated on Thursday, 13 December 2012 12:00 Written by Carole Bennett Thursday, 13 December 2012 12:00
Recently, I worked on a project for a client who had a special request for custom functionality on their site. Instead of using the standard newsletter e-mail capture, they wanted an additional form that would present in a lightbox after the user entered their e-mail and clicked “submit” for the first form. I did it, using a custom form handler and some jQuery – this is how.
I started by creating the first custom form that mimic’d the standard newsletter e-mail capture format, then implemented a custom submission handler, as described here: “Implementing A Custom Form Submission Handler”. Fairly straightforward, up to the point where I had to sort out how to enable the second form to pop up in the lightbox. It’s easy enough when you’re calling a link from a page: just add the “cblink” class to your link. It’s a bit trickier when you’re leveraging a form submission, so I got a bit more creative.
Learn MoreHow To Make A Post On WordPress
Last Updated on Sunday, 2 December 2012 10:34 Written by TJ Marsh Tuesday, 4 December 2012 12:00
Enter the WordPress Admin Panel and Click the Post tab. This will open up a list of option within the Post section. To write a new blog post click on the Add New link. If you wish to write a page instead of a post you would select the Page tab. For information on writing pages click here. Before publishing your posts be sure to read about how to write for the web.
Writing Your Post
Learn More
Recent Comments