Blog

JavaScript – Create Stylesheet

At times you may need to add a dynamically created stylesheet to a page via JavaScript. You can do just that with the following function: It is important to note that the above function simply create the STYLE tag with the specified stylesheet content. It does not add it to Read more…

By Chris West, ago
Blog

CSS – Change Content On Hover

Today I saw a question about changing content without necessarily using JavaScript to do so. Recently I have had to do a little bit more with CSS and think of more solutions with JS. Thusly I came up with a somewhat elegant solution to replacing content on hover without JS: Read more…

By Chris West, ago