Got Snippets? Share your Snippets! -...

User 38401 Photo


Senior Advisor
10,951 posts

We had a thread a while ago for sharing HTML Editor Snippets, but the only ones I found were from a contest so I guess we'll start a new one.

Here's a Snippet with instructions inside on setting up a very simple Lightbox setup. This one is all code and no visual elements for creating it so delve right in there with the HTML Editor to use it. This one is not to be confused with the Visual Light Box setup, that's a different animal all together.

Attached are the Snippet file, the JS and CSS folders (with the files inside of course) and the images which are inside a folder. Take the images OUT of the folder and put them into your images folder for your site.

Enjoy!
Attachments:
User 122279 Photo


Senior Advisor
14,624 posts
Online Now

Wasn't that one of those things that initially engaged a lot of people, but in the end it was forgotten, and noone won that competition, not to mention got the prize. That has happened before... :rolleyes:
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 38401 Photo


Senior Advisor
10,951 posts

hmm not sure Inger, could be right there, I didn't read the whole thread to see if it was or not lol, just enough to determine it was that contest thread.
User 629005 Photo


Ambassador
2,174 posts

I vaguely remember that thread, but since I didn't have a horse in that race, I didn't spend much time following up on it. Don't remember ever hearing any big announcements about a winner though.
Living the dream, stocking the cream :D
User 464893 Photo


Ambassador
1,611 posts

There are are a billion websites all have interesting ideas. Just do a bit of shopping. Copying is the best form of flattery. Is not that why we can view source and inspect the elements. :D
Remember I tried to get people to share their VNU files. That went over like a dud balloon.

The Guy from OZ


User 2073552 Photo


Registered User
1,625 posts

Here is a snippet for everyone...

What it Does...

Since HTML5 is getting more attention by way of marking up our new pages, and the only way to get IE to acknowledge the new elements, such as <article> <footer> <header> and so on, is to use the HTML5 shiv. This mini script enables all the new elements in IE 7,8 and 9. IE 9 supports almost all of the HTML5 elements yet it is still missing a few...

Where it Goes...

This snippet must be inserted in the head element (this is because IE needs to know about the element before it comes to render them - so it can't sit in the footer of the page, i.e. below the elements in question).
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.