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
1053
posted 15 years ago by 1man
Simply replaces the div's innerHTML with the response text received from the file.
3
1533
posted 17 years ago by 1man
I have also posted the Javascript that makes this markup show and hide.
0
934
posted 18 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
1090
posted 18 years ago by 1man