Version: 1.01, by yinyang
Developer Last Online: Jun 2009
Version: 3.5.0 Beta 3
Rating:
Released: 07-06-2005
Last Update: 07-10-2005
Installs: 22
Template Edits
No support by the author.
This is a Panic Button (Should work in IE and FF) in case a member is worried about being on your site at a particular time, for example, at work. The button is defaulted to stay glued to the lower right hand corner, but this can be changed in the CSS settings stated below.
Inspired by dsboyce8624's Boss Button problems he was having, I tried to first use a simple "floating menu" script. However, all the scripts i could find were only written for dhtml. That just doesn't work in vB (i tried many versions)... I'm not sure why, but i think it is because vB is XHTML.
I am NOT a coder. I am more of a reverse engineer when it comes to this stuff.
Anyhow, I came across the website of Dean Edwards: http://dean.edwards.name/. In his welcoming paragraph he writes, "This site exists so that I can perform tests on web tools that I?m currently building. This work is open source and is available for download. In other words, I?m always messing about with this site but you can rip-off any code you want. You can alleviate any associated guilt by making a donation."
Well, he has a pretty interesting script called "IE7" that I have no idea how it works. However, it can be found here (and a portion is renamed and included in the zip file): http://dean.edwards.name/IE7/
The rest is history. This works on my test site and I attach it herewith. Oh, since I only tinkered with this thing, I'd like to share the credit and copyright with dsboyce8624, whoever he shares his credit with, and especially Dean Edwards.
The image I use is can obviously be substituted with anything else you like. Just be sure to name your image "panicbutton.gif".
This may be copied, reproduced or published anywhere without my permission. I'll do my best to support this.
Details
-------
2 Files to upload (1 Javascript File and 1 Panic Button image)
2 New Profile Field entries (Remember the Field ID# !!)
1 New CSS definition
1 Template Edit
Thanks for reading,
YinYang
BTW, you can move the placement of the image anywhere on the screen by editing the .panicbutton CSS .
v1.01 - Update 070805
----------
1. Panic Button may not work if you have Custom Error Pages hack installed. No clue why.
v1.01 - Update 070505
----------
1. changed out the original button with dsboyce8624's cooler button.
2. changed the placement of the script from Footer to Header
3. added a user choice "On/Off" conditional which is a template conditional and controlled via another Profile Field.
Yup! I figure since i didn't actually create any real coding here (all the heavy lifting was done by Dean Edwards), I shouldn't be possessive about it. :classic:
Besides, if Dean made it free-for-all, then it only makes sense I should.
oh yeah, this is my first hack, albeit mini. woot!