Tom Muck's Blog: New and updated free extensions
News and Views
New and updated free extensions
Monday, October 31, 2005 4:37:48 AM
I put three new free extensions up at http://www.tom-muck.com/extensions/.
- Confirm Link allows you to set a confirmation box on a specific link, with a user-defined message to display.
- Confirm All Links allows you to make all links on a given web page confirmable -- a confirm box with a user-defined message will pop up for every link in the page. Alternatively, set a specific CSS class of link that requires confirmation before proceeding, or a specific CSS class of link that does not.
I use the first on specific links that you want the end user to confirm before moving on, such as deleting a database record.
I use the second on pages where there is text being entered, such as creating a document or filling in a form. A new onclick event is assigned to all links so that a user will get a confirmation box before moving off the page. Using it without the optional parameters will assign the confirm box to ALL links. Using specific CSS classes allow you to fine-tune and add confirm boxes to only specific links. You can see a modified version of the behavior in action at http://www.ezgram.com/compose.cfm. If the user has modified the letter or created a new one, any link on the page that takes the user off the page pops up a confirmation box.
I have tested on the major browsers (IE, Firefox, Safari) but it should work in others. If you find any problems, let me know. It should work in all recent versions of Dreamweaver and UltraDev. Available at http://www.tom-muck.com/extensions/help/ConfirmLinks
The second extension is an old one from Basic-Ultradev updated for Dreamweaver MX, MX 2004, and DW 8. New GUID is a server behavior that creates a globally unique identifier and puts it into a session variable. The session variable is also added automatically to the Bindings panel. The server behavior works in ASP and ColdFusion. Available at http://www.tom-muck.com/extensions/help/NewGUID/
This is also an old extension dusted off and updated for Dreamweaver MX, MX 2004, and DW 8. The extension assumes you have username and password fields on a page, along with a checkbox to "remember me." If the user checks the box, the username/password are stored in a cookie on the user's machine. When the user returns to the page, the boxes are automatically filled in. This extension works in ASP/VBScript only. If there is any interest, I may create versions for other server models. Available at http://www.tom-muck.com/extensions/help/RememberMe/
Category tags: Dreamweaver, ColdFusion
Posted by Tom Muck
Add comment | View comments (1) | Permalink | Trackbacks (0) | Digg This
Before posting comments or trackbacks, please read the posting policy.