Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:27
Second menu in a list of menus not displaying
Poster: mvoelkening
Dated: Tuesday October 16 2007 - 3:48:29 BST
Hello,
I have a number of menus underneath each other but the second menu does not show up. It doesn't matter how many items I have in the list (2, 3, 4, 5, ...) the second is always missing (see screenshot).
Here is the HTML code:
Code:
...
</head>
<body>
<SCRIPT type="text/javascript" src="js/milonic_src.js"></SCRIPT>
<script type="text/javascript">
<!--
if(ns4)_d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=js/mmenuns4.js><\/SCR"+"IPT>");
else _d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=js/mmenudom.js><\/SCR"+"IPT>");
-->
</SCRIPT>
<SCRIPT type="text/javascript" src="js/menu_data.js"></SCRIPT>
<tr>
<td class=topnavSPACER></td>
</tr>
</table>
<table width="750" border="0" cellpadding="0" cellspacing="0" class="mainbodybg" >
<tr>
<td valign="top" class="mainContent"><p> </p>
<h1>Instructors</h1>
<table>
<tr>
<td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=New Instructor;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfbmV3");aI("text=Send a message;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfZW1haWw=");aI("text=Instructor Biographies;url=index.php?aku=YWN0aW9uPXdvcmtzaG9wc19iaW9z");}
drawMenus();
</SCRIPT>
</td>
</tr>
</table>
<hr>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 3")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NTA=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTUwJmNoZWNrPUQ=");aI("text=Add photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTUw");}
drawMenus();
</SCRIPT>
</td>
<td><b>Krause, Lucas</b></td></tr><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 4")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NDk=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ5JmNoZWNrPUQ=");aI("text=Change photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTQ5");aI("text=Delete photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ5JmNoZWNrPURM");}
drawMenus();
</SCRIPT>
</td>
<td><b>Millner, Matthew</b></td></tr><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 5")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NDc=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ3JmNoZWNrPUQ=");aI("text=Add photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTQ3");}
drawMenus();
</SCRIPT>
</td>
<td><b>Voelkening, Martin</b></td></tr></table><hr><table>
<tr>
<td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu Second")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=New Instructor;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfbmV3");aI("text=Send a message;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfZW1haWw=");aI("text=Instructor Biographies;url=index.php?aku=YWN0aW9uPXdvcmtzaG9wc19iaW9z");}
drawMenus();
</SCRIPT>
</td>
</tr>
</table>
</body>
</html>
</head>
<body>
<SCRIPT type="text/javascript" src="js/milonic_src.js"></SCRIPT>
<script type="text/javascript">
<!--
if(ns4)_d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=js/mmenuns4.js><\/SCR"+"IPT>");
else _d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=js/mmenudom.js><\/SCR"+"IPT>");
-->
</SCRIPT>
<SCRIPT type="text/javascript" src="js/menu_data.js"></SCRIPT>
<tr>
<td class=topnavSPACER></td>
</tr>
</table>
<table width="750" border="0" cellpadding="0" cellspacing="0" class="mainbodybg" >
<tr>
<td valign="top" class="mainContent"><p> </p>
<h1>Instructors</h1>
<table>
<tr>
<td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=New Instructor;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfbmV3");aI("text=Send a message;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfZW1haWw=");aI("text=Instructor Biographies;url=index.php?aku=YWN0aW9uPXdvcmtzaG9wc19iaW9z");}
drawMenus();
</SCRIPT>
</td>
</tr>
</table>
<hr>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 3")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NTA=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTUwJmNoZWNrPUQ=");aI("text=Add photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTUw");}
drawMenus();
</SCRIPT>
</td>
<td><b>Krause, Lucas</b></td></tr><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 4")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NDk=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ5JmNoZWNrPUQ=");aI("text=Change photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTQ5");aI("text=Delete photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ5JmNoZWNrPURM");}
drawMenus();
</SCRIPT>
</td>
<td><b>Millner, Matthew</b></td></tr><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 5")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NDc=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ3JmNoZWNrPUQ=");aI("text=Add photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTQ3");}
drawMenus();
</SCRIPT>
</td>
<td><b>Voelkening, Martin</b></td></tr></table><hr><table>
<tr>
<td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu Second")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=New Instructor;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfbmV3");aI("text=Send a message;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfZW1haWw=");aI("text=Instructor Biographies;url=index.php?aku=YWN0aW9uPXdvcmtzaG9wc19iaW9z");}
drawMenus();
</SCRIPT>
</td>
</tr>
</table>
</body>
</html>
The page is in a password protected area so I can't post a link. Here is the menu_data.js content:
Code:
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(XPMainStyle=new mm_style()){
bordercolor="#8A867A";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="90%";
fontstyle="normal";
fontweight="normal";
offbgcolor="#ECE9D8";
offcolor="#000000";
onbgcolor="#C1D2EE";
onborder="1px solid #316AC5";
oncolor="#000000";
padding=3;
rawcss="padding-left:5px;padding-right:5px";
}
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(XPMainStyle=new mm_style()){
bordercolor="#8A867A";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="90%";
fontstyle="normal";
fontweight="normal";
offbgcolor="#ECE9D8";
offcolor="#000000";
onbgcolor="#C1D2EE";
onborder="1px solid #316AC5";
oncolor="#000000";
padding=3;
rawcss="padding-left:5px;padding-right:5px";
}
I hope someone can help.
Thanks
Martin
Re: Second menu in a list of menus not displaying
Poster: Ruth
Dated: Tuesday October 16 2007 - 5:10:00 BST
Hi,
I just copied and pasted your page and your data file and I see all the menus just fine. Unless you can post a test page someplace where we can see what is happening, since I can't reproduce the problem, we are not going to be able to help you.
I don't have any head information, so unless there's something in that which might cause I problem, I don't know why you're not seeing all 5 of the menus.
Ruth
Re: Second menu in a list of menus not displaying
Poster: mvoelkening
Dated: Tuesday October 16 2007 - 5:33:14 BST
Here is the complete HTML code of the page:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xml:lang="en" lang="en">
<head>
<script type="text/javascript">
<!--
function changeDiv(the_div,the_change)
{
var the_style = getStyleObject(the_div);
if (the_style != false)
{
the_style.display = the_change;
}
}
function getStyleObject(objectId) {
if (document.getElementById && document.getElementById(objectId)) {
return document.getElementById(objectId).style;
} else if (document.all && document.all(objectId)) {
return document.all(objectId).style;
} else {
return false;
}
}
// -->
</script>
<link rel="StyleSheet" type="text/css" href="re/class/rich_files/rich.css">
<script language="JScript.Encode" src="re/class/rich_files/rich.js"></script>
<script language="JavaScript" src="re/class/rich_files/rich_xhtml.js"></script>
<script language="JavaScript" src="re/class/rich_files/spelling/spelling.js"></script>
<script language="JavaScript" src="re/class/rich_files/spelling/spellmessage.js"></script>
<!-- calendar stylesheet -->
<link rel="stylesheet" type="text/css" media="all" href="https://www.econferencemanager.ca/admin/css/calendar-win2k-cold-1.css" title="win2k-cold-1" />
<!-- main calendar program -->
<script type="text/javascript" src="https://www.econferencemanager.ca/admin/js/calendar.js"></script>
<!-- language for the calendar -->
<script type="text/javascript" src="https://www.econferencemanager.ca/admin/js/calendar-en.js"></script>
<!-- the following script defines the Calendar.setup helper function, which makes
adding a calendar a matter of 1 or 2 lines of code. -->
<script type="text/javascript" src="https://www.econferencemanager.ca/admin/js/calendar-setup.js"></script>
<style type="text/css">
.navtext {
width:235px;
font-size:8pt;
font-family:verdana;
border-width:2px;
border-style:outset;
border-color:#006BAE;
layer-background-color:#FFF6D9;
background-color:#FFF6D9;
color:black;
}
</style>
<!-- link here filter file for desired data format:
see comments in filter files for formats descriptions -->
<script language="JavaScript" src="cal_tpl.js"></script>
<script language="JavaScript" src="cal_strings.js"></script>
<title>Administration - </title>
<style type="text/css">
p,h1,h2,h3 {
font-family: Arial, Verdana;
}
p, td {
font-size: 10pt;
}
table#tabmenu {
margin-bottom: 1em;
}
td.tab, td.selectedtab, td.tabspacer, td#contentscell {
border: 1px solid black;
font-family: Arial, Verdana;
font-weight: bold;
}
td.tabspacer {
border-width: 0 0 1px;
}
td.tab, td.selectedtab {
width: 16.6%;
padding: 2px 5px;
}
td.tab {
background: #CCCCCC;
cursor: pointer;
}
td.selectedtab {
border-bottom: 0;
}
td.selectedtab, td#contentscell {
background: #EEEEEE;
}
td#contentscell {
border-width: 0 1px 1px;
padding: 5px;
}
div.contents {
display: none;
}
div.selectedcontents {
display: block;
}
form {
margin: 0 0 0 0;
}
table.EGbar {
background: #808080;
}
.white {
color: #FFFFFF;
font-weight: bold;
}
.ok {
color: white;
font-weight: bolder;
}
.error {
color: red;
font-weight: bolder;
}
</style>
<script type="text/javascript">
// <![CDATA[
// Tab menu functions by Jack Letourneau, February 2002
// http://eigengrau.com/
function switchOn(tab,contents) {
// Pass it a tab ID and a contents ID, single-quoted:
// switchOn('tab1','contents1')
// Sets all tabs and contents to inactive state, then
// activates the tab/contents passed as parameters
switchAllOff();
document.getElementById(tab).className = 'selectedtab';
document.getElementById(contents).className = 'selectedcontents';
}
function clearTop() {
// Sets all tabs to inactive state. Depends on the TR
// enclosing the tabs having ID "toprow"
topRow = document.getElementById('toprow');
tabArray = topRow.childNodes;
for (var i=0; i<tabArray.length; i++) {
if (tabArray[i].className != 'tabspacer') {
tabArray[i].className = 'tab';
}
}
}
function clearContents() {
// Hides all DIVs in TD ID="contentscell"
contentsCell = document.getElementById('contentscell');
contentsArray = contentsCell.childNodes;
for (var j=0; j<contentsArray.length; j++) {
contentsArray[j].className = 'contents';
}
}
function switchAllOff() {
// Trivial little wrapper function; sets all tabs and
// contents to inactive/invisible state
clearTop();
clearContents();
}
// ]]>
</script>
<script language="javascript">
function selectAll(FormName, SelectBox){
temp = "document.form.listTo";
Source = eval(temp);
for(x=0; x<(Source.length); x++){
Source.options[x].selected = "true";
}
}
function selectAllExport(FormName, SelectBox){
temp = "document.form.listTo";
Source = eval(temp);
for(x=0; x<(Source.length); x++){
Source.options[x].selected = "true";
}
}
function getSelectedValues (select) {
var r = new Array();
for (var i = 0; i < select.options.length; i++)
if (select.options[i].selected)
r[r.length] = select.options[i].value;
return r;
}
</script>
<script language="javascript">
function moveIt( index ) {
var select = document.form.listTo;
if( select.length >= 2 ) {
var item = select.selectedIndex;
var value = select[item+index].value;
var text = select[item+index].text;
select[item + index].value = select[item].value;
select[item + index].text = select[item].text;
select[item].value = value;
select[item].text = text;
select.selectedIndex += index;
} else {
alert( "You need at least two items, so you can change their order." );
}
}
function addIt( fieldTo ) {
var fieldFrom = document.form.listFrom;
if( fieldFrom.selectedIndex >= 0 ) {
for( var i = fieldFrom.selectedIndex; i < fieldFrom.length; i++ ) {
var skip = false;
if( fieldFrom[i].selected ) {
if( i == -1 || fieldFrom[i].value == '--' ) {
return;
}
for( var j = 0; j < fieldTo.options.length; j++ ) {
if( fieldFrom[i].text == fieldTo[j].text ) {
alert( "'" + fieldFrom[i].text + "' is already in your list." );
skip = true;
break;
}
}
if( skip ) {
continue;
}
var o = new Option( fieldFrom[i].text, fieldFrom[i].value );
fieldTo.options[fieldTo.options.length] = o;
}
}
} else {
alert ( "Please select item to be added." );
}
}
function removeIt( fieldFrom ) {
if( fieldFrom.selectedIndex >= 0 ) {
for( var i = fieldFrom.length-1, s = fieldFrom.selectedIndex; i >=s ; i-- ) {
if( fieldFrom.options[i].selected ) {
fieldFrom.options[i] = null;
}
}
} else {
alert( "Please select item to be removed." );
}
}
</script>
<script LANGUAGE="JavaScript">
<!--
// Nannette Thacker http://www.shiningstar.net
function confirmSubmit()
{
var agree=confirm("Do you really want to delete?");
if (agree)
return true ;
else
return false ;
}
// -->
</script>
<script language="javascript">
function selectAll(FormName, SelectBox){
temp = "document.form.email_to";
Source = eval(temp);
for(x=0; x<(Source.length); x++){
Source.options[x].selected = "true";
}
}
function getSelectedValues (select) {
var r = new Array();
for (var i = 0; i < select.options.length; i++)
if (select.options[i].selected)
r[r.length] = select.options[i].value;
return r;
}
</script>
<script>
//DHTML Window script- Copyright Dynamic Drive (http://www.dynamicdrive.com)
//For full source code, documentation, and terms of usage,
//Visit http://www.dynamicdrive.com/dynamicindex9/dhtmlwindow.htm
var dragapproved=false
var minrestore=0
var initialwidth,initialheight
var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all
function iecompattest(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function drag_drop(e){
if (ie5&&dragapproved&&event.button==1){
document.getElementById("dwindow").style.left=tempx+event.clientX-offsetx+"px"
document.getElementById("dwindow").style.top=tempy+event.clientY-offsety+"px"
}
else if (ns6&&dragapproved){
document.getElementById("dwindow").style.left=tempx+e.clientX-offsetx+"px"
document.getElementById("dwindow").style.top=tempy+e.clientY-offsety+"px"
}
}
function initializedrag(e){
offsetx=ie5? event.clientX : e.clientX
offsety=ie5? event.clientY : e.clientY
document.getElementById("dwindowcontent").style.display="none" //extra
tempx=parseInt(document.getElementById("dwindow").style.left)
tempy=parseInt(document.getElementById("dwindow").style.top)
dragapproved=true
document.getElementById("dwindow").onmousemove=drag_drop
}
function loadwindow(url,width,height){
if (!ie5&&!ns6)
window.open(url,"","width=width,height=height,scrollbars=1")
else{
document.getElementById("dwindow").style.display=''
document.getElementById("dwindow").style.width=initialwidth=width+"px"
document.getElementById("dwindow").style.height=initialheight=height+"px"
document.getElementById("dwindow").style.left="30px"
document.getElementById("dwindow").style.top=ns6? window.pageYOffset*1+30+"px" : iecompattest().scrollTop*1+30+"px"
document.getElementById("cframe").src=url
}
}
function maximize(){
if (minrestore==0){
minrestore=1 //maximize window
document.getElementById("maxname").setAttribute("src","restore.gif")
document.getElementById("dwindow").style.width=ns6? window.innerWidth-20+"px" : iecompattest().clientWidth+"px"
document.getElementById("dwindow").style.height=ns6? window.innerHeight-20+"px" : iecompattest().clientHeight+"px"
}
else{
minrestore=0 //restore window
document.getElementById("maxname").setAttribute("src","max.gif")
document.getElementById("dwindow").style.width=initialwidth
document.getElementById("dwindow").style.height=initialheight
}
document.getElementById("dwindow").style.left=ns6? window.pageXOffset+"px" : iecompattest().scrollLeft+"px"
document.getElementById("dwindow").style.top=ns6? window.pageYOffset+"px" : iecompattest().scrollTop+"px"
}
function closeit(){
document.getElementById("dwindow").style.display="none"
}
function stopdrag(){
dragapproved=false;
document.getElementById("dwindow").onmousemove=null;
document.getElementById("dwindowcontent").style.display="" //extra
}
</script>
<script>
var arrOldValues;
function SelectAllList(CONTROL){
for(var i = 0;i < CONTROL.length;i++){
CONTROL.options[i].selected = true;
}
}
function DeselectAllList(CONTROL){
for(var i = 0;i < CONTROL.length;i++){
CONTROL.options[i].selected = false;
}
}
function FillListValues(CONTROL){
var arrNewValues;
var intNewPos;
var strTemp = GetSelectValues(CONTROL);
arrNewValues = strTemp.split(",");
for(var i=0;i<arrNewValues.length-1;i++){
if(arrNewValues[i]==1){
intNewPos = i;
}
}
for(var i=0;i<arrOldValues.length-1;i++){
if(arrOldValues[i]==1 && i != intNewPos){
CONTROL.options[i].selected= true;
}
else if(arrOldValues[i]==0 && i != intNewPos){
CONTROL.options[i].selected= false;
}
if(arrOldValues[intNewPos]== 1){
CONTROL.options[intNewPos].selected = false;
}
else{
CONTROL.options[intNewPos].selected = true;
}
}
}
function GetSelectValues(CONTROL){
var strTemp = "";
for(var i = 0;i < CONTROL.length;i++){
if(CONTROL.options[i].selected == true){
strTemp += "1,";
}
else{
strTemp += "0,";
}
}
return strTemp;
}
function GetCurrentListValues(CONTROL){
var strValues = "";
strValues = GetSelectValues(CONTROL);
arrOldValues = strValues.split(",")
}
</script>
<link rel="stylesheet" href="https://www.econferencemanager.ca/admin/menu/menu.css">
<link rel=stylesheet href="https://www.econferencemanager.ca/admin/css/xc2_default.css" type="text/css">
<script language="javascript" src="https://www.econferencemanager.ca/admin/config/xc2_default.js"></script>
<script language="javascript" src="https://www.econferencemanager.ca/admin/js/xc2_inpage.js"></script>
</script>
<script type=text/javascript>
// Author: JS-Examples - http://www.js-examples.com
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
// _w : which ID (1) or (2)
// _h : (h)ide or (s)how
function toggleT(_w,_h) {
if (document.all) { // is IE
if (_h=='s') eval("document.all."+_w+".style.visibility='visible';");
if (_h=='h') eval("document.all."+_w+".style.visibility='hidden';");
} else { // is NS?
if (_h=='s') eval("document.layers['"+_w+"'].visibility='show';");
if (_h=='h') eval("document.layers['"+_w+"'].visibility='hide';");
}
}
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Ronnie T. Moore -->
<!-- Web Site: The JavaScript Source -->
<!-- Dynamic 'fix' by: Nannette Thacker -->
<!-- Web Site: http://www.shiningstar.net -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit) // if too long...trim it!
field.value = field.value.substring(0, maxlimit);
// otherwise, update 'characters left' counter
else
countfield.value = maxlimit - field.value.length;
}
// End -->
</script>
<style type="text/css">
/*Modify attributes of #contentwrapper below as desired*/
#contentwrapper{
width: 400px;
height: 20px;
border: none;
background-color: none;
padding-right: 5px;
text-align: center;
}
.billcontent{
width: 100%;
display:block;
}
</style>
<script type="text/javascript">
/***********************************************
* DHTML Billboard script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
//List of transitional effects to be randomly applied to billboard:
var billboardeffects=["GradientWipe(GradientSize=1.0 Duration=0.7)", "Inset", "Iris", "Pixelate(MaxSquare=5 enabled=false)", "RadialWipe", "RandomBars", "Slide(slideStyle='push')", "Spiral", "Stretch", "Strips", "Wheel", "ZigZag"]
//var billboardeffects=["Iris"] //Uncomment this line and input one of the effects above (ie: "Iris") for single effect.
var tickspeed=10000 //ticker speed in miliseconds (2000=2 seconds)
var effectduration=500 //Transitional effect duration in miliseconds
var hidecontent_from_legacy=1 //Should content be hidden in legacy browsers- IE4/NS4 (0=no, 1=yes).
var filterid=Math.floor(Math.random()*billboardeffects.length)
document.write('<style type="text/css">\n')
if (document.getElementById)
document.write('.billcontent{display:none;\n'+'filter:progid:DXImageTransform.Microsoft.'+billboardeffects[filterid]+'}\n')
else if (hidecontent_from_legacy)
document.write('#contentwrapper{display:none;}')
document.write('</style>\n')
var selectedDiv=0
var totalDivs=0
function contractboard(){
var inc=0
while (document.getElementById("billboard"+inc)){
document.getElementById("billboard"+inc).style.display="none"
inc++
}
}
function expandboard(){
var selectedDivObj=document.getElementById("billboard"+selectedDiv)
contractboard()
if (selectedDivObj.filters){
if (billboardeffects.length>1){
filterid=Math.floor(Math.random()*billboardeffects.length)
selectedDivObj.style.filter="progid:DXImageTransform.Microsoft."+billboardeffects[filterid]
}
selectedDivObj.filters[0].duration=effectduration/1000
selectedDivObj.filters[0].Apply()
}
selectedDivObj.style.display="block"
if (selectedDivObj.filters)
selectedDivObj.filters[0].Play()
selectedDiv=(selectedDiv<totalDivs-1)? selectedDiv+1 : 0
setTimeout("expandboard()",tickspeed)
}
function startbill(){
while (document.getElementById("billboard"+totalDivs)!=null)
totalDivs++
if (document.getElementById("billboard0").filters)
tickspeed+=effectduration
expandboard()
}
if (window.addEventListener)
window.addEventListener("load", startbill, false)
else if (window.attachEvent)
window.attachEvent("onload", startbill)
else if (document.getElementById)
window.onload=startbill
</script>
<script language=javascript>
<!--
function OnButton1()
{
document.form.action = "index.php?aku=YWN0aW9uPXdvcmtzaG9wc19lbWFpbCZjaGVjaz0xJklEPQ=="
document.form.target = ""; // Open in a new window
document.form.submit(); // Submit the page
return true;
}
function OnButton2()
{
document.form.action = "index.php?aku=YWN0aW9uPXdvcmtzaG9wc19lbWFpbCZjaGVjaz0zJklEPQ=="
document.form.target = ""; // Open in a new window
document.form.submit(); // Submit the page
return true;
}
function OnButton3()
{
document.form.action = "index.php?aku=YWN0aW9uPXJlZ2lzdHJhdGlvbnNfZW1haWwmY2hlY2s9MQ=="
document.form.target = ""; // Open in a new window
document.form.submit(); // Submit the page
return true;
}
function OnButton4()
{
document.form.action = "index.php?aku=YWN0aW9uPXJlZ2lzdHJhdGlvbnNfZW1haWwmY2hlY2s9Mw=="
document.form.target = ""; // Open in a new window
document.form.submit(); // Submit the page
return true;
}
-->
</script>
<script language="JavaScript" src="https://www.econferencemanager.ca/admin/js/sort.js"></script>
<link rel="stylesheet" href="econf.css">
<!-- ULTIMATE DROP DOWN MENU Version 4.42 by Brothercake -->
<!-- http://www.udm4.com/ -->
<!-- PHP generated stylesheet -->
<link rel="stylesheet" type="text/css" media="screen,projection" href="udm4/udm-style.php" />
</head>
<body>
<!-- PHP generated menu script [any modules or extensions must come AFTER this] -->
<script type="text/javascript" src="udm4/udm-dom.php"></script>
<SCRIPT type="text/javascript" src="js/milonic_src.js"></SCRIPT>
<script type="text/javascript">
<!--
if(ns4)_d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=js/mmenuns4.js><\/SCR"+"IPT>");
else _d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=js/mmenudom.js><\/SCR"+"IPT>");
-->
</SCRIPT>
<SCRIPT type="text/javascript" src="js/menu_data.js"></SCRIPT>
<center>
<table width="750" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="topnavHEADER" align="right">
<div id="contentwrapper">
<div id="billboard0" class="billcontent"><P>Do you miss something? Do you know a great feature that is missing? Please let us know! Click on <STRONG>Help & Logout >> Request a Feature</STRONG> to let us know.</P></div></div>
<div id="menu2">
<a href="info __at__ econferencemanager.ca" id="mail"></a>
</div>
</td>
</tr>
<tr>
<td class="topnavNAVAREA">
<div id="topnav">
<ul id="udm" class="udm"><li><a href="">Your Modules</a><ul>
<li><a href="">Program</a><ul>
<li><a href="index.php?aku=YWN0aW9uPXNjaGVkdWxl">Schedule</a></li>
<li><a href="index.php?aku=YWN0aW9uPWNhdGVnb3JpZXM=">Categories</a></li>
<li><a href="index.php?aku=YWN0aW9uPWluc3RydWN0b3Jz">Instructors</a></li>
<li><a href="index.php?aku=YWN0aW9uPXdvcmtzaG9wcw==">Workshops</a></li>
<li><a href="index.php?aku=YWN0aW9uPWtleW5vdGVz">Keynotes</a></li>
</ul></li>
<li><a href="index.php?aku=YWN0aW9uPXJlZ2lzdHJhdGlvbnM=">Registrations</a></li>
<li><a href="index.php?aku=YWN0aW9uPW1lcmNoYW50">Merchants</a></li>
<li><a href="index.php?aku=YWN0aW9uPXNwb25zb3I=">Sponsors</a></li>
<li><a href="index.php?aku=YWN0aW9uPXdlYnNpdGU=">Website</a></li>
<li><a href="">Administration</a><ul>
<li><a href="index.php?aku=YWN0aW9uPXRlYW0=">Team</a></li>
<li><a href="index.php?aku=YWN0aW9uPXVzZXJz">User</a></li>
<li><a href="index.php?aku=YWN0aW9uPXNldHRpbmdzX2xvZ28=">Logo</a></li>
<li><a href="index.php?aku=YWN0aW9uPXNldHRpbmdz">Event Information</a></li>
<li><a href="index.php?aku=YWN0aW9uPXNldHRpbmdzX2NvbnRhY3Rz">Contact Information</a></li>
</ul></li>
</ul></li>
<li><a href="">Administration</a><ul>
<li><a href="index.php?aku=YWN0aW9uPWFkbWluX2NybQ==">Potential Customers</a></li>
<li><a href="index.php?aku=YWN0aW9uPWFkbWluX2ZlYXR1cmVyZXF1ZXN0">Request a Feature</a></li>
<li><a href="index.php?aku=YWN0aW9uPWFkbWluX3Jlc2V0ZW1haWxz">Reset email addresses</a></li>
<li><a href="index.php?aku=YWN0aW9uPWFkbWluX25ld3N0aWNrZXI=">Newsticker</a></li>
<li><a href="index.php?aku=YWN0aW9uPWF1dGhfdXNlcnNfcmVzZXQ=">Copy tables</a></li>
<li><a href="index.php?aku=YWN0aW9uPWFkbWluX2NvcHl0YWJsZXM=">Copy tables</a></li>
<li><a href="index.php?aku=YWN0aW9uPWV4cG9ydF9jcmVkaXRjYXJk">MENU_EXPORTCREDITCARD</a></li>
</ul></li>
<li><a href="">Help & Logout</a><ul>
<li><a href="index.php?aku=YWN0aW9uPWhlbHA=">Help</a></li>
<li><a href="index.php?aku=YWN0aW9uPWNvbnRhY3Rfc3VwcG9ydA==">Contact Support</a></li>
<li><a href="index.php?aku=YWN0aW9uPWZlYXR1cmVyZXF1ZXN0">Request a Feature</a></li>
<li><a href="index.php?aku=YWN0aW9uPWF1dGhfdXNlcnNfcGFzc3dvcmRfY2hhbmdl">Change Password</a></li>
<li><a href="index.php?aku=YWN0aW9uPWNvcHlyaWdodA==">Copyright</a></li>
<li><a href="index.php?aku=YWN0aW9uPWxvZ291dA==">Logout</a></li>
</ul></li>
</ul> </div></td>
</tr>
<tr>
<td class=topnavSPACER></td>
</tr>
</table>
<table width="750" border="0" cellpadding="0" cellspacing="0" class="mainbodybg" >
<tr>
<td valign="top" class="mainContent"><p> </p>
<h1>Instructors</h1>
<table>
<tr>
<td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=New Instructor;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfbmV3");aI("text=Send a message;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfZW1haWw=");aI("text=Instructor Biographies;url=index.php?aku=YWN0aW9uPXdvcmtzaG9wc19iaW9z");}
drawMenus();
</SCRIPT>
</td>
</tr>
</table>
<hr>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 3")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NTA=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTUwJmNoZWNrPUQ=");aI("text=Add photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTUw");}
drawMenus();
</SCRIPT>
</td>
<td><b>Krause, Lucas</b></td></tr><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 4")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NDk=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ5JmNoZWNrPUQ=");aI("text=Change photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTQ5");aI("text=Delete photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ5JmNoZWNrPURM");}
drawMenus();
</SCRIPT>
</td>
<td><b>Millner, Matthew</b></td></tr><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 5")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NDc=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ3JmNoZWNrPUQ=");aI("text=Add photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTQ3");}
drawMenus();
</SCRIPT>
</td>
<td><b>Voelkening, Martin</b></td></tr></table><hr><table>
<tr>
<td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu Second")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=New Instructor;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfbmV3");aI("text=Send a message;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfZW1haWw=");aI("text=Instructor Biographies;url=index.php?aku=YWN0aW9uPXdvcmtzaG9wc19iaW9z");}
drawMenus();
</SCRIPT>
</td>
</tr>
</table>
<br>
<br> </td>
</tr>
<tr>
<td class="statusbar"> </td>
</tr>
<tr>
<td class="footertable">© eConferenceManager Internet Solutions Inc. 2005
</td>
</tr>
</table>
</center>
<div id="dwindow" style="position:absolute;background-color:#EBEBEB;cursor:hand;left:0px;top:0px;display:none" onMousedown="initializedrag(event)" onMouseup="stopdrag()" onSelectStart="return false">
<div align="right" style="background-color:navy"><img src="max.gif" id="maxname" onClick="maximize()"><img src="close.gif" onClick="closeit()"></div>
<div id="dwindowcontent" style="height:100%">
<iframe id="cframe" src="" width=100% height=100%></iframe>
</div>
</div>
<div id="navtxt" class="navtext" style="visibility:hidden; position:absolute; top:0px; left:-400px; z-index:10000; padding:10px"></div>
<script language="JavaScript" type="text/javascript" src="script/wz_tooltip.js"></script>
</body>
</html>
<html xml:lang="en" lang="en">
<head>
<script type="text/javascript">
<!--
function changeDiv(the_div,the_change)
{
var the_style = getStyleObject(the_div);
if (the_style != false)
{
the_style.display = the_change;
}
}
function getStyleObject(objectId) {
if (document.getElementById && document.getElementById(objectId)) {
return document.getElementById(objectId).style;
} else if (document.all && document.all(objectId)) {
return document.all(objectId).style;
} else {
return false;
}
}
// -->
</script>
<link rel="StyleSheet" type="text/css" href="re/class/rich_files/rich.css">
<script language="JScript.Encode" src="re/class/rich_files/rich.js"></script>
<script language="JavaScript" src="re/class/rich_files/rich_xhtml.js"></script>
<script language="JavaScript" src="re/class/rich_files/spelling/spelling.js"></script>
<script language="JavaScript" src="re/class/rich_files/spelling/spellmessage.js"></script>
<!-- calendar stylesheet -->
<link rel="stylesheet" type="text/css" media="all" href="https://www.econferencemanager.ca/admin/css/calendar-win2k-cold-1.css" title="win2k-cold-1" />
<!-- main calendar program -->
<script type="text/javascript" src="https://www.econferencemanager.ca/admin/js/calendar.js"></script>
<!-- language for the calendar -->
<script type="text/javascript" src="https://www.econferencemanager.ca/admin/js/calendar-en.js"></script>
<!-- the following script defines the Calendar.setup helper function, which makes
adding a calendar a matter of 1 or 2 lines of code. -->
<script type="text/javascript" src="https://www.econferencemanager.ca/admin/js/calendar-setup.js"></script>
<style type="text/css">
.navtext {
width:235px;
font-size:8pt;
font-family:verdana;
border-width:2px;
border-style:outset;
border-color:#006BAE;
layer-background-color:#FFF6D9;
background-color:#FFF6D9;
color:black;
}
</style>
<!-- link here filter file for desired data format:
see comments in filter files for formats descriptions -->
<script language="JavaScript" src="cal_tpl.js"></script>
<script language="JavaScript" src="cal_strings.js"></script>
<title>Administration - </title>
<style type="text/css">
p,h1,h2,h3 {
font-family: Arial, Verdana;
}
p, td {
font-size: 10pt;
}
table#tabmenu {
margin-bottom: 1em;
}
td.tab, td.selectedtab, td.tabspacer, td#contentscell {
border: 1px solid black;
font-family: Arial, Verdana;
font-weight: bold;
}
td.tabspacer {
border-width: 0 0 1px;
}
td.tab, td.selectedtab {
width: 16.6%;
padding: 2px 5px;
}
td.tab {
background: #CCCCCC;
cursor: pointer;
}
td.selectedtab {
border-bottom: 0;
}
td.selectedtab, td#contentscell {
background: #EEEEEE;
}
td#contentscell {
border-width: 0 1px 1px;
padding: 5px;
}
div.contents {
display: none;
}
div.selectedcontents {
display: block;
}
form {
margin: 0 0 0 0;
}
table.EGbar {
background: #808080;
}
.white {
color: #FFFFFF;
font-weight: bold;
}
.ok {
color: white;
font-weight: bolder;
}
.error {
color: red;
font-weight: bolder;
}
</style>
<script type="text/javascript">
// <![CDATA[
// Tab menu functions by Jack Letourneau, February 2002
// http://eigengrau.com/
function switchOn(tab,contents) {
// Pass it a tab ID and a contents ID, single-quoted:
// switchOn('tab1','contents1')
// Sets all tabs and contents to inactive state, then
// activates the tab/contents passed as parameters
switchAllOff();
document.getElementById(tab).className = 'selectedtab';
document.getElementById(contents).className = 'selectedcontents';
}
function clearTop() {
// Sets all tabs to inactive state. Depends on the TR
// enclosing the tabs having ID "toprow"
topRow = document.getElementById('toprow');
tabArray = topRow.childNodes;
for (var i=0; i<tabArray.length; i++) {
if (tabArray[i].className != 'tabspacer') {
tabArray[i].className = 'tab';
}
}
}
function clearContents() {
// Hides all DIVs in TD ID="contentscell"
contentsCell = document.getElementById('contentscell');
contentsArray = contentsCell.childNodes;
for (var j=0; j<contentsArray.length; j++) {
contentsArray[j].className = 'contents';
}
}
function switchAllOff() {
// Trivial little wrapper function; sets all tabs and
// contents to inactive/invisible state
clearTop();
clearContents();
}
// ]]>
</script>
<script language="javascript">
function selectAll(FormName, SelectBox){
temp = "document.form.listTo";
Source = eval(temp);
for(x=0; x<(Source.length); x++){
Source.options[x].selected = "true";
}
}
function selectAllExport(FormName, SelectBox){
temp = "document.form.listTo";
Source = eval(temp);
for(x=0; x<(Source.length); x++){
Source.options[x].selected = "true";
}
}
function getSelectedValues (select) {
var r = new Array();
for (var i = 0; i < select.options.length; i++)
if (select.options[i].selected)
r[r.length] = select.options[i].value;
return r;
}
</script>
<script language="javascript">
function moveIt( index ) {
var select = document.form.listTo;
if( select.length >= 2 ) {
var item = select.selectedIndex;
var value = select[item+index].value;
var text = select[item+index].text;
select[item + index].value = select[item].value;
select[item + index].text = select[item].text;
select[item].value = value;
select[item].text = text;
select.selectedIndex += index;
} else {
alert( "You need at least two items, so you can change their order." );
}
}
function addIt( fieldTo ) {
var fieldFrom = document.form.listFrom;
if( fieldFrom.selectedIndex >= 0 ) {
for( var i = fieldFrom.selectedIndex; i < fieldFrom.length; i++ ) {
var skip = false;
if( fieldFrom[i].selected ) {
if( i == -1 || fieldFrom[i].value == '--' ) {
return;
}
for( var j = 0; j < fieldTo.options.length; j++ ) {
if( fieldFrom[i].text == fieldTo[j].text ) {
alert( "'" + fieldFrom[i].text + "' is already in your list." );
skip = true;
break;
}
}
if( skip ) {
continue;
}
var o = new Option( fieldFrom[i].text, fieldFrom[i].value );
fieldTo.options[fieldTo.options.length] = o;
}
}
} else {
alert ( "Please select item to be added." );
}
}
function removeIt( fieldFrom ) {
if( fieldFrom.selectedIndex >= 0 ) {
for( var i = fieldFrom.length-1, s = fieldFrom.selectedIndex; i >=s ; i-- ) {
if( fieldFrom.options[i].selected ) {
fieldFrom.options[i] = null;
}
}
} else {
alert( "Please select item to be removed." );
}
}
</script>
<script LANGUAGE="JavaScript">
<!--
// Nannette Thacker http://www.shiningstar.net
function confirmSubmit()
{
var agree=confirm("Do you really want to delete?");
if (agree)
return true ;
else
return false ;
}
// -->
</script>
<script language="javascript">
function selectAll(FormName, SelectBox){
temp = "document.form.email_to";
Source = eval(temp);
for(x=0; x<(Source.length); x++){
Source.options[x].selected = "true";
}
}
function getSelectedValues (select) {
var r = new Array();
for (var i = 0; i < select.options.length; i++)
if (select.options[i].selected)
r[r.length] = select.options[i].value;
return r;
}
</script>
<script>
//DHTML Window script- Copyright Dynamic Drive (http://www.dynamicdrive.com)
//For full source code, documentation, and terms of usage,
//Visit http://www.dynamicdrive.com/dynamicindex9/dhtmlwindow.htm
var dragapproved=false
var minrestore=0
var initialwidth,initialheight
var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all
function iecompattest(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function drag_drop(e){
if (ie5&&dragapproved&&event.button==1){
document.getElementById("dwindow").style.left=tempx+event.clientX-offsetx+"px"
document.getElementById("dwindow").style.top=tempy+event.clientY-offsety+"px"
}
else if (ns6&&dragapproved){
document.getElementById("dwindow").style.left=tempx+e.clientX-offsetx+"px"
document.getElementById("dwindow").style.top=tempy+e.clientY-offsety+"px"
}
}
function initializedrag(e){
offsetx=ie5? event.clientX : e.clientX
offsety=ie5? event.clientY : e.clientY
document.getElementById("dwindowcontent").style.display="none" //extra
tempx=parseInt(document.getElementById("dwindow").style.left)
tempy=parseInt(document.getElementById("dwindow").style.top)
dragapproved=true
document.getElementById("dwindow").onmousemove=drag_drop
}
function loadwindow(url,width,height){
if (!ie5&&!ns6)
window.open(url,"","width=width,height=height,scrollbars=1")
else{
document.getElementById("dwindow").style.display=''
document.getElementById("dwindow").style.width=initialwidth=width+"px"
document.getElementById("dwindow").style.height=initialheight=height+"px"
document.getElementById("dwindow").style.left="30px"
document.getElementById("dwindow").style.top=ns6? window.pageYOffset*1+30+"px" : iecompattest().scrollTop*1+30+"px"
document.getElementById("cframe").src=url
}
}
function maximize(){
if (minrestore==0){
minrestore=1 //maximize window
document.getElementById("maxname").setAttribute("src","restore.gif")
document.getElementById("dwindow").style.width=ns6? window.innerWidth-20+"px" : iecompattest().clientWidth+"px"
document.getElementById("dwindow").style.height=ns6? window.innerHeight-20+"px" : iecompattest().clientHeight+"px"
}
else{
minrestore=0 //restore window
document.getElementById("maxname").setAttribute("src","max.gif")
document.getElementById("dwindow").style.width=initialwidth
document.getElementById("dwindow").style.height=initialheight
}
document.getElementById("dwindow").style.left=ns6? window.pageXOffset+"px" : iecompattest().scrollLeft+"px"
document.getElementById("dwindow").style.top=ns6? window.pageYOffset+"px" : iecompattest().scrollTop+"px"
}
function closeit(){
document.getElementById("dwindow").style.display="none"
}
function stopdrag(){
dragapproved=false;
document.getElementById("dwindow").onmousemove=null;
document.getElementById("dwindowcontent").style.display="" //extra
}
</script>
<script>
var arrOldValues;
function SelectAllList(CONTROL){
for(var i = 0;i < CONTROL.length;i++){
CONTROL.options[i].selected = true;
}
}
function DeselectAllList(CONTROL){
for(var i = 0;i < CONTROL.length;i++){
CONTROL.options[i].selected = false;
}
}
function FillListValues(CONTROL){
var arrNewValues;
var intNewPos;
var strTemp = GetSelectValues(CONTROL);
arrNewValues = strTemp.split(",");
for(var i=0;i<arrNewValues.length-1;i++){
if(arrNewValues[i]==1){
intNewPos = i;
}
}
for(var i=0;i<arrOldValues.length-1;i++){
if(arrOldValues[i]==1 && i != intNewPos){
CONTROL.options[i].selected= true;
}
else if(arrOldValues[i]==0 && i != intNewPos){
CONTROL.options[i].selected= false;
}
if(arrOldValues[intNewPos]== 1){
CONTROL.options[intNewPos].selected = false;
}
else{
CONTROL.options[intNewPos].selected = true;
}
}
}
function GetSelectValues(CONTROL){
var strTemp = "";
for(var i = 0;i < CONTROL.length;i++){
if(CONTROL.options[i].selected == true){
strTemp += "1,";
}
else{
strTemp += "0,";
}
}
return strTemp;
}
function GetCurrentListValues(CONTROL){
var strValues = "";
strValues = GetSelectValues(CONTROL);
arrOldValues = strValues.split(",")
}
</script>
<link rel="stylesheet" href="https://www.econferencemanager.ca/admin/menu/menu.css">
<link rel=stylesheet href="https://www.econferencemanager.ca/admin/css/xc2_default.css" type="text/css">
<script language="javascript" src="https://www.econferencemanager.ca/admin/config/xc2_default.js"></script>
<script language="javascript" src="https://www.econferencemanager.ca/admin/js/xc2_inpage.js"></script>
</script>
<script type=text/javascript>
// Author: JS-Examples - http://www.js-examples.com
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
// _w : which ID (1) or (2)
// _h : (h)ide or (s)how
function toggleT(_w,_h) {
if (document.all) { // is IE
if (_h=='s') eval("document.all."+_w+".style.visibility='visible';");
if (_h=='h') eval("document.all."+_w+".style.visibility='hidden';");
} else { // is NS?
if (_h=='s') eval("document.layers['"+_w+"'].visibility='show';");
if (_h=='h') eval("document.layers['"+_w+"'].visibility='hide';");
}
}
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Ronnie T. Moore -->
<!-- Web Site: The JavaScript Source -->
<!-- Dynamic 'fix' by: Nannette Thacker -->
<!-- Web Site: http://www.shiningstar.net -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit) // if too long...trim it!
field.value = field.value.substring(0, maxlimit);
// otherwise, update 'characters left' counter
else
countfield.value = maxlimit - field.value.length;
}
// End -->
</script>
<style type="text/css">
/*Modify attributes of #contentwrapper below as desired*/
#contentwrapper{
width: 400px;
height: 20px;
border: none;
background-color: none;
padding-right: 5px;
text-align: center;
}
.billcontent{
width: 100%;
display:block;
}
</style>
<script type="text/javascript">
/***********************************************
* DHTML Billboard script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
//List of transitional effects to be randomly applied to billboard:
var billboardeffects=["GradientWipe(GradientSize=1.0 Duration=0.7)", "Inset", "Iris", "Pixelate(MaxSquare=5 enabled=false)", "RadialWipe", "RandomBars", "Slide(slideStyle='push')", "Spiral", "Stretch", "Strips", "Wheel", "ZigZag"]
//var billboardeffects=["Iris"] //Uncomment this line and input one of the effects above (ie: "Iris") for single effect.
var tickspeed=10000 //ticker speed in miliseconds (2000=2 seconds)
var effectduration=500 //Transitional effect duration in miliseconds
var hidecontent_from_legacy=1 //Should content be hidden in legacy browsers- IE4/NS4 (0=no, 1=yes).
var filterid=Math.floor(Math.random()*billboardeffects.length)
document.write('<style type="text/css">\n')
if (document.getElementById)
document.write('.billcontent{display:none;\n'+'filter:progid:DXImageTransform.Microsoft.'+billboardeffects[filterid]+'}\n')
else if (hidecontent_from_legacy)
document.write('#contentwrapper{display:none;}')
document.write('</style>\n')
var selectedDiv=0
var totalDivs=0
function contractboard(){
var inc=0
while (document.getElementById("billboard"+inc)){
document.getElementById("billboard"+inc).style.display="none"
inc++
}
}
function expandboard(){
var selectedDivObj=document.getElementById("billboard"+selectedDiv)
contractboard()
if (selectedDivObj.filters){
if (billboardeffects.length>1){
filterid=Math.floor(Math.random()*billboardeffects.length)
selectedDivObj.style.filter="progid:DXImageTransform.Microsoft."+billboardeffects[filterid]
}
selectedDivObj.filters[0].duration=effectduration/1000
selectedDivObj.filters[0].Apply()
}
selectedDivObj.style.display="block"
if (selectedDivObj.filters)
selectedDivObj.filters[0].Play()
selectedDiv=(selectedDiv<totalDivs-1)? selectedDiv+1 : 0
setTimeout("expandboard()",tickspeed)
}
function startbill(){
while (document.getElementById("billboard"+totalDivs)!=null)
totalDivs++
if (document.getElementById("billboard0").filters)
tickspeed+=effectduration
expandboard()
}
if (window.addEventListener)
window.addEventListener("load", startbill, false)
else if (window.attachEvent)
window.attachEvent("onload", startbill)
else if (document.getElementById)
window.onload=startbill
</script>
<script language=javascript>
<!--
function OnButton1()
{
document.form.action = "index.php?aku=YWN0aW9uPXdvcmtzaG9wc19lbWFpbCZjaGVjaz0xJklEPQ=="
document.form.target = ""; // Open in a new window
document.form.submit(); // Submit the page
return true;
}
function OnButton2()
{
document.form.action = "index.php?aku=YWN0aW9uPXdvcmtzaG9wc19lbWFpbCZjaGVjaz0zJklEPQ=="
document.form.target = ""; // Open in a new window
document.form.submit(); // Submit the page
return true;
}
function OnButton3()
{
document.form.action = "index.php?aku=YWN0aW9uPXJlZ2lzdHJhdGlvbnNfZW1haWwmY2hlY2s9MQ=="
document.form.target = ""; // Open in a new window
document.form.submit(); // Submit the page
return true;
}
function OnButton4()
{
document.form.action = "index.php?aku=YWN0aW9uPXJlZ2lzdHJhdGlvbnNfZW1haWwmY2hlY2s9Mw=="
document.form.target = ""; // Open in a new window
document.form.submit(); // Submit the page
return true;
}
-->
</script>
<script language="JavaScript" src="https://www.econferencemanager.ca/admin/js/sort.js"></script>
<link rel="stylesheet" href="econf.css">
<!-- ULTIMATE DROP DOWN MENU Version 4.42 by Brothercake -->
<!-- http://www.udm4.com/ -->
<!-- PHP generated stylesheet -->
<link rel="stylesheet" type="text/css" media="screen,projection" href="udm4/udm-style.php" />
</head>
<body>
<!-- PHP generated menu script [any modules or extensions must come AFTER this] -->
<script type="text/javascript" src="udm4/udm-dom.php"></script>
<SCRIPT type="text/javascript" src="js/milonic_src.js"></SCRIPT>
<script type="text/javascript">
<!--
if(ns4)_d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=js/mmenuns4.js><\/SCR"+"IPT>");
else _d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=js/mmenudom.js><\/SCR"+"IPT>");
-->
</SCRIPT>
<SCRIPT type="text/javascript" src="js/menu_data.js"></SCRIPT>
<center>
<table width="750" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="topnavHEADER" align="right">
<div id="contentwrapper">
<div id="billboard0" class="billcontent"><P>Do you miss something? Do you know a great feature that is missing? Please let us know! Click on <STRONG>Help & Logout >> Request a Feature</STRONG> to let us know.</P></div></div>
<div id="menu2">
<a href="info __at__ econferencemanager.ca" id="mail"></a>
</div>
</td>
</tr>
<tr>
<td class="topnavNAVAREA">
<div id="topnav">
<ul id="udm" class="udm"><li><a href="">Your Modules</a><ul>
<li><a href="">Program</a><ul>
<li><a href="index.php?aku=YWN0aW9uPXNjaGVkdWxl">Schedule</a></li>
<li><a href="index.php?aku=YWN0aW9uPWNhdGVnb3JpZXM=">Categories</a></li>
<li><a href="index.php?aku=YWN0aW9uPWluc3RydWN0b3Jz">Instructors</a></li>
<li><a href="index.php?aku=YWN0aW9uPXdvcmtzaG9wcw==">Workshops</a></li>
<li><a href="index.php?aku=YWN0aW9uPWtleW5vdGVz">Keynotes</a></li>
</ul></li>
<li><a href="index.php?aku=YWN0aW9uPXJlZ2lzdHJhdGlvbnM=">Registrations</a></li>
<li><a href="index.php?aku=YWN0aW9uPW1lcmNoYW50">Merchants</a></li>
<li><a href="index.php?aku=YWN0aW9uPXNwb25zb3I=">Sponsors</a></li>
<li><a href="index.php?aku=YWN0aW9uPXdlYnNpdGU=">Website</a></li>
<li><a href="">Administration</a><ul>
<li><a href="index.php?aku=YWN0aW9uPXRlYW0=">Team</a></li>
<li><a href="index.php?aku=YWN0aW9uPXVzZXJz">User</a></li>
<li><a href="index.php?aku=YWN0aW9uPXNldHRpbmdzX2xvZ28=">Logo</a></li>
<li><a href="index.php?aku=YWN0aW9uPXNldHRpbmdz">Event Information</a></li>
<li><a href="index.php?aku=YWN0aW9uPXNldHRpbmdzX2NvbnRhY3Rz">Contact Information</a></li>
</ul></li>
</ul></li>
<li><a href="">Administration</a><ul>
<li><a href="index.php?aku=YWN0aW9uPWFkbWluX2NybQ==">Potential Customers</a></li>
<li><a href="index.php?aku=YWN0aW9uPWFkbWluX2ZlYXR1cmVyZXF1ZXN0">Request a Feature</a></li>
<li><a href="index.php?aku=YWN0aW9uPWFkbWluX3Jlc2V0ZW1haWxz">Reset email addresses</a></li>
<li><a href="index.php?aku=YWN0aW9uPWFkbWluX25ld3N0aWNrZXI=">Newsticker</a></li>
<li><a href="index.php?aku=YWN0aW9uPWF1dGhfdXNlcnNfcmVzZXQ=">Copy tables</a></li>
<li><a href="index.php?aku=YWN0aW9uPWFkbWluX2NvcHl0YWJsZXM=">Copy tables</a></li>
<li><a href="index.php?aku=YWN0aW9uPWV4cG9ydF9jcmVkaXRjYXJk">MENU_EXPORTCREDITCARD</a></li>
</ul></li>
<li><a href="">Help & Logout</a><ul>
<li><a href="index.php?aku=YWN0aW9uPWhlbHA=">Help</a></li>
<li><a href="index.php?aku=YWN0aW9uPWNvbnRhY3Rfc3VwcG9ydA==">Contact Support</a></li>
<li><a href="index.php?aku=YWN0aW9uPWZlYXR1cmVyZXF1ZXN0">Request a Feature</a></li>
<li><a href="index.php?aku=YWN0aW9uPWF1dGhfdXNlcnNfcGFzc3dvcmRfY2hhbmdl">Change Password</a></li>
<li><a href="index.php?aku=YWN0aW9uPWNvcHlyaWdodA==">Copyright</a></li>
<li><a href="index.php?aku=YWN0aW9uPWxvZ291dA==">Logout</a></li>
</ul></li>
</ul> </div></td>
</tr>
<tr>
<td class=topnavSPACER></td>
</tr>
</table>
<table width="750" border="0" cellpadding="0" cellspacing="0" class="mainbodybg" >
<tr>
<td valign="top" class="mainContent"><p> </p>
<h1>Instructors</h1>
<table>
<tr>
<td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=New Instructor;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfbmV3");aI("text=Send a message;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfZW1haWw=");aI("text=Instructor Biographies;url=index.php?aku=YWN0aW9uPXdvcmtzaG9wc19iaW9z");}
drawMenus();
</SCRIPT>
</td>
</tr>
</table>
<hr>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 3")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NTA=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTUwJmNoZWNrPUQ=");aI("text=Add photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTUw");}
drawMenus();
</SCRIPT>
</td>
<td><b>Krause, Lucas</b></td></tr><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 4")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NDk=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ5JmNoZWNrPUQ=");aI("text=Change photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTQ5");aI("text=Delete photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ5JmNoZWNrPURM");}
drawMenus();
</SCRIPT>
</td>
<td><b>Millner, Matthew</b></td></tr><tr height="36" onMouseover="this.style.backgroundColor='#fe9961'" onMouseout="this.style.backgroundColor=''"><td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu 5")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=Edit;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfY2hhbmdlX2Zvcm0mSUQ9NDc=");aI("text=Delete;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JzJklEPTQ3JmNoZWNrPUQ=");aI("text=Add photo;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfYWRkX3Bob3RvJklEPTQ3");}
drawMenus();
</SCRIPT>
</td>
<td><b>Voelkening, Martin</b></td></tr></table><hr><table>
<tr>
<td>
<SCRIPT TYPE="text/javascript">
with(new menuname("Main Menu Second")){
style=XPMainStyle;
alwaysvisible=1;
position="relative";
margin=2;
orientation="horizontal";
aI("text=New Instructor;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfbmV3");aI("text=Send a message;url=index.php?aku=YWN0aW9uPWluc3RydWN0b3JfZW1haWw=");aI("text=Instructor Biographies;url=index.php?aku=YWN0aW9uPXdvcmtzaG9wc19iaW9z");}
drawMenus();
</SCRIPT>
</td>
</tr>
</table>
<br>
<br> </td>
</tr>
<tr>
<td class="statusbar"> </td>
</tr>
<tr>
<td class="footertable">© eConferenceManager Internet Solutions Inc. 2005
</td>
</tr>
</table>
</center>
<div id="dwindow" style="position:absolute;background-color:#EBEBEB;cursor:hand;left:0px;top:0px;display:none" onMousedown="initializedrag(event)" onMouseup="stopdrag()" onSelectStart="return false">
<div align="right" style="background-color:navy"><img src="max.gif" id="maxname" onClick="maximize()"><img src="close.gif" onClick="closeit()"></div>
<div id="dwindowcontent" style="height:100%">
<iframe id="cframe" src="" width=100% height=100%></iframe>
</div>
</div>
<div id="navtxt" class="navtext" style="visibility:hidden; position:absolute; top:0px; left:-400px; z-index:10000; padding:10px"></div>
<script language="JavaScript" type="text/javascript" src="script/wz_tooltip.js"></script>
</body>
</html>
Thanks
Martin
Re: Second menu in a list of menus not displaying
Poster: mvoelkening
Dated: Tuesday October 16 2007 - 5:38:13 BST
Here is also a link to the page: http://develop.econferencemanager.ca/milonic.html
Thanks
Martin
Re: Second menu in a list of menus not displaying
Poster: Ruth
Dated: Tuesday October 16 2007 - 6:23:12 BST
Hi,
I am going to have to report this to Milonic for testing. I have no idea what is happening and with your page I don't get that menu either, even when I have it on desktop. Nothing I tried worked. Hopefully, I'll get a response pretty quick on this.
Just to let you know, I've been volunteering on this forum for years and I have never come across that. Not appearing yes, but usually because the link to the files was incorrect. This is a new one. I'll get back as quick as I can.
Ruth
Re: Second menu in a list of menus not displaying
Poster: Andy
Dated: Tuesday October 16 2007 - 11:10:21 BST
Looks like you've changed the doctype and got it to work.
If you need to use the menu on XML pages, you'll need to add the property _pageIsXML=true; to the top of your menu_data.js file.
The menu make use of the document.write() function which is not supported in XML pages.
-- Andy
Re: Second menu in a list of menus not displaying
Poster: mvoelkening
Dated: Tuesday October 16 2007 - 16:15:23 BST
Sorry, but it is not working yet. Even changing the doctype doesn't help. Please take another look.
Thanks
Martin
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
