#Disclaimer Widget for CMV A simple yet configurable disclaimer widget for CMV
disclaimer: {
include: true,
id: 'disclaimer',
type: 'floating',
path: 'widgets/Disclaimer',
title: 'Disclaimer',
options: {
// pre-define the height so the dialog is centered properly
style: 'height:295px;width:375px;',
// or you can provide the url for another page that includes the content
href: './disclaimer.html'
}
}disclaimer: {
include: true,
id: 'disclaimer',
type: 'floating',
path: 'widgets/Disclaimer',
title: 'Beware!!!',
options: {
// you can customize the button text
i18n: {
accept: 'Arghhhh!',
decline: 'Run Away!'
},
// pre-define the height so the dialog is centered properly
style: 'height:295px;width:375px;',
// you can put your content right in the config
content: '<div align="center" style="background-color:black;color:white;font-size:18px;padding:25px;">Abandon all hope, ye who enter here...<br/><img src="http://fc06.deviantart.net/fs5/i/2004/313/2/5/Captain_Jolly_Roger_by_ramiusraven.jpg" style="width:160px;margin-top:25px;" /></div>'
// or you can provide the url for another page that includes the content
//href: './disclaimer.html',
// the url to go to if the user declines.
//declineHref: 'http://esri.com/'
}
}

