PDA

View Full Version : Overriding alert



Tabo
06-11-2007, 06:06 PM
Hey, i am using this cut and paste to overide the alert function:


http://slayeroffice.com/code/custom_alert/

however i would like it to also overide the confirm function, and if it is the confirm function a button also appears next to ok (cancel)

Thank you for your help.

codeexploiter
06-12-2007, 04:00 AM
Plz have a look at this example (http://developer.yahoo.com/yui/examples/container/simpledialog/2.html)

The above example is developed using Yahoo UI framework (http://developer.yahoo.com/yui/) and the way you can setup a customized dialog box can be read here (http://developer.yahoo.com/yui/examples/container/simpledialog/1.html)