Profile
Achievement
1man's Recent SnippetsTagged html
- All /
« Prev 1 Next »
Adds a class of hasJS to the html element, can be used for CSS styling.
1
762
posted 14 years ago by 1man
Simply replaces the div's innerHTML with the response text received from the file.
3
1291
posted 17 years ago by 1man
I have also posted the Javascript that makes this markup show and hide.
0
746
posted 17 years ago by 1man
Insert these 2 lines into the to have your local pages refresh while coding. Make sure you use inline style sheets to stop caching problems. Remove once you make the site live.
3
882
posted 17 years ago by 1man