- multiformity_data.zip
- RASP.LDF
- RASP.MDF
- multiformity_images.zip
- images
- 1.gif
- 10.gif
- 10sm.gif
- 1sm.gif
- 2.gif
- 2sm.gif
- 3.gif
- 3sm.gif
- 4.gif
- 4sm.gif
- 5.gif
- 5sm.gif
- 6.gif
- 6sm.gif
- 7.gif
- 7sm.gif
- 8.gif
- 8sm.gif
- 9.gif
- 9sm.gif
- address.gif
- ascending.gif
- calendar.gif
- cancel.gif
- cb_checked.gif
- cb_other.gif
- cb_unchecked.gif
- delete.gif
- descending.gif
- edit.gif
- elipse.gif
- filter.gif
- google.gif
- help.gif
- junk.PSD
- loggedin.gif
- loggedout.gif
- maintab.gif
- minus.gif
- new.gif
- notes.gif
- options.gif
- plus.gif
- rib.gif
- save.gif
- saveandadd.gif
- SupportNet.gif
- tools.gif
- treeview.gif
- users.gif
- multiformity_src.zip
- rasp
- RaspDocs
- intro.doc
- Multiformity.chm
- Process Automation.rtf
- processOverview.bmp
- processOverviewjpg.jpg
- Rasp Overview.rtf
- Rasp todos.doc
|
//******************************************************
//Calendar Popup
//******************************************************
function calendarPopup(ctl,w,h) {
var PopupWindow=null;
settings='width='+ w + ',height='+ h + ',location=no,directories=no,' +
'menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no,' +
'dependent=no';
PopupWindow=window.open('CalendarPopup.aspx?Ctl=' + ctl , 'DatePicker', settings);
PopupWindow.focus();
}
//******************************************************
//GridShowHideFilter
//******************************************************
function hideSpan() {
for(var i=0;i<20;++i) {
if (document.all["FilterSpan" + i].style != 'undefined'){
theStyle = document.all["FilterSpan" + i].style;
if( theStyle.display == 'none') {
theStyle.display="";
}
else {
theStyle.display = 'none';
}
} else {
i=20;
}
}
}
//******************************************************
//FormTabShower
//******************************************************
function ShowTab(Number) {
for(var i=1;i<=20;++i) {
if (document.all["TabSpan" + i].style != 'undefined'){
theStyle = document.all["TabSpan" + i].style;
if( Number == i) {
theStyle.display="";
}
else {
theStyle.display = 'none';
}
theStyle = document.all["Tab" + i].style;
if( Number == i) {
theStyle.background = "gainsboro";
}
else {
theStyle.background = "white";
}
} else {
i=20;
}
}
}
//******************************************************
//RaspCheckBox
//******************************************************
function CheckBoxClick(checkbox, image) {
if(image.src.indexOf('_unchecked.gif') != -1) {
image.src = '/images/cb_checked.gif';
checkbox.value = '1';
} else if(image.src.indexOf('_checked.gif') != -1) {
image.src = '/images/cb_other.gif';
checkbox.value = '-1';
} else {
image.src = '/images/cb_unchecked.gif';
checkbox.value = '0';
}
}
//******************************************************
//RaspLinkEditor
//******************************************************
function SetValue(field) {
document.getElementById(field).value = document.getElementById(field + '_url').value + '^' + document.getElementById(field + '_alt').value + '^' + document.getElementById(field + '_src').value + '^' + document.getElementById(field + '_target').value;
}
//******************************************************
// Grid CheckboxColumn check all
//******************************************************
function CheckAll() {
for(var i = 1; i < 20; ++i) {
if(document.all["Checkbox_" + i] != null) {
document.all["Checkbox_" + i].checked = document.all["MasterCheckbox"].checked;
}
}
}
//******************************************************
//TreeView
//******************************************************
function HideChapter(ID) {
if (document.all["Chapter_" + ID].style != "undefined"){
theStyle = document.all["Chapter_" + ID].style;
if( theStyle.display == "none") {
theStyle.display="";
if (document.images["Image_" + ID] == "[object]") {
document.images["Image_" + ID].src = "/images/minus.gif";
}
}
else {
theStyle.display = "none";
if (document.images["Image_" + ID] == "[object]") {
document.images["Image_" + ID].src = "/images/plus.gif";
}
}
}
}
//******************************************************
//TwinSelect
//******************************************************
function delAttribute(list){
availableList = document.getElementById(list + "_List");
selectedList = document.getElementById(list);
var selIndex = 0;
var selLength = selectedList.length;
for(selIndex=selLength-1; selIndex >= 0 ; --selIndex) {
var selOption = selectedList[selIndex];
if (selOption.selected) {
availableList.appendChild(selectedList.options.item(selIndex))
}
}
}
function addAttribute(list){
availableList = document.getElementById(list + "_List");
selectedList = document.getElementById(list);
var addIndex = 0;
var addLength = availableList.length;
for(addIndex = addLength-1 ; addIndex >= 0 ; --addIndex) {
var addOption = availableList[addIndex];
if (addOption.selected) {
selectedList.appendChild(availableList.options.item(addIndex++));
}
}
}
function setTop(top){
document.getElementById('someLayer').style.top = top;
}
function setLayerTop(lyr,top){
lyr.style.top = top;
}
function reset(list){
list.options.sort();
}
function selectNone(list1,list2){
//list1.selectedIndex = -1;
//list2.selectedIndex = -1;
//list2.options.items.sort();
//addIndex = -1;
//selIndex = -1;
}
function delAll(list){
availableList = document.getElementById(list + "_List");
selectedList = document.getElementById(list);
var len = selectedList.length -1;
for(i=len; i>=0; i--){
availableList.appendChild(selectedList.item(i));
}
selectNone(selectedList,availableList);
}
function addAll(list){
availableList = document.getElementById(list + "_List");
selectedList = document.getElementById(list);
var len = availableList.length -1;
for(i=len; i>=0; i--){
selectedList.appendChild(availableList.item(i));
}
selectNone(selectedList,availableList);
}
function getSize(list){
var len = list.childNodes.length;
var nsLen = 0;
for(i=0; i<len; i++){
if(list.childNodes.item(i).nodeType==1)
nsLen++;
}
if(nsLen<2) {
return 2;
} else {
return nsLen;
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.