Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
![popular snippet:having a snipplet with 20 favorites popular snippet:having a snipplet with 20 favorites](/img/badge/badge_3.png?v3)
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
930
posted 15 years ago by 1man
Simply replaces the div's innerHTML with the response text received from the file.
3
1420
posted 17 years ago by 1man
I have also posted the Javascript that makes this markup show and hide.
0
845
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
983
posted 18 years ago by 1man