Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
you can use this function for ie javascript bug. İt is switchin display with javascript
0
910
posted 15 years ago by Thresh
Call AddKeepAlive() in Page_Load of the page that needs it. Change the path to the correct keep alive page.
Page should disable caching, like in second code snippet.
2
1134
posted 15 years ago by jink
A simple replacement for print_r or whatever you use to display debug info.
2
967
posted 15 years ago by PeteW
A lovely little one liner that strips out all non alphanumeric chars first, then replaces the spaces with hyphens, then converts all to lowercase :D
0
808
posted 15 years ago by xtheonex
I occasionally need a WinExec function the synchronously executes a command. cwdArg may be null.
This example, upon error, pops-up a dialog and exits the app. This is useful for small installation utilities.
non-dot.net, with or without MFC.
0
910
posted 15 years ago by jimfred
Determine directory where the .exe is running from. Usually it's CWD - but not always, such as MsiExec Custom Actions.
Windows. non-dot.net, with or without MFC.
0
955
posted 15 years ago by jimfred
Simple non-dot.net function to determine if a file exists. Uses the WinBase API. Can be used with or without mfc.
Windows, non-dot.net, with or without MFC.
0
1200
posted 15 years ago by jimfred
Magento Storeview über Flaggenbuttons steuern statt über Dropdown
0
699
posted 15 years ago by nico65
Hiermit lässt sich der RSS Link einfügen.
Bspw. in Datei
/app/design/frontend/default/xxx/template/catalog/category/view.phtml
0
944
posted 15 years ago by nico65
<p(.+)">
wählt alle p tags
<option>
dies entfernt alle
<option>
<option>
<option>
0
759
posted 15 years ago by nico65