Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Basically, this is the XHTML web standards template you see on the front page. I usually end up removing a few things, so this is just that template... but with the junk removed.
1
1644
posted 17 years ago by Jacolyte
First noscript tag redirects the user to the page telling them to allow scripts. Second section is an example page of one which will go to the default page if scripts are allowed, or to give them a message otherwise.
1
1440
posted 17 years ago by Anthony
Post a stripped down version of the page if you can. One that shows exactly how the iframe fits into the structure of the page.
The solution I settled on works like this:
The parent page has a javascript function like this:
function insertIt()...
0
1937
posted 17 years ago by jamesming
Gets a ClientScriptManager reference from the Page class. If the client script is not already registered on the page, builds and registers a script. Useful for building a script dynamically and ensuring that it gets registered during the correct s...
1
1489
posted 17 years ago by Anthony
To remove the annoying beeping of linux (so far tested in ubuntu and slackware)
the module pcspkr needs to be removed. this code would help to remove it.
0
1346
posted 17 years ago by iTony
CSS 3 media queries test for html, table columns disappear when browser window width is changed; Fx 3.1
2
1727
posted 17 years ago by sullei
The following code lets us designate "menu links" that will not actually link anywhere.
0
1453
posted 17 years ago by aleprieto
If you want to use a specific node.tpl.php for a node, paste or merge this code into your template.php
1
1598
posted 17 years ago by aleprieto
For use with the Firefox Stylish add-on. I put this up on userstyles.org as well - http://userstyles.org/styles/9213.
When you edit a snippet, especially with the comment box, the font is large and fancy. This style changes them to a normal, *rea...
0
1331
posted 17 years ago by wizard04