Question

getting error 'document.getElementById(...)' is null or not an object

Asked by: NatashaMac

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;  Embedded Web Browser from: http://bsalsa.com/; InfoPath.1)
Timestamp: Wed, 19 Aug 2009 12:45:37 UTC

Hi
Does anyone know how i sort this out the full error is below

Thanks

Message: 'document.getElementById(...)' is null or not an object
Line: 83
Char: 3
Code: 0
URI: http://www.locumexpress.ie/formresults.html?County=Antrim&Country=Ireland&Additional%20Info=redirect%20test&Source=Irish%20Medical%20Times

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Locum Express The Agency Behind the Medical Professions</title>
<meta name="description" content="Locum Express was established in 2006 to provide a cost effective service for filling Medical Locums in Ireland. Locum Express is established as one of Irelands largest Medical Locum providers and is Irelands Premier Locum Agency. Locum Express has Clients throughout Ireland and the excellent service provided has resulted in a 98% repeat business rate.">
<meta name="keywords" content="Locum, Ireland, Doctor, Hospital, HSE, Registrar,SHO, Surgical, Medical, Anaesthetic">
<meta name="classification" content="Locum Express">
<meta name="robots" content="ALL">
<meta name="robots" content="index,follow">
<style type="text/css">
 
.suckerdiv ul{
margin: 0;
padding: 0;
list-style-type: none;
width: 80px; /* Width of Menu Items */
border-bottom: 0;
}
	
.suckerdiv ul li{
position: relative;
}
	
/*Sub level menu items */
.suckerdiv ul li ul{
position: absolute;
width: 120px; /*sub menu width was 170*/
top: 0;
visibility: hidden;
}
 
/* Sub level menu links style */
.suckerdiv ul li a{
display: block;
overflow: auto; /*force hasLayout in IE7 */
color: white;
text-decoration: none;
padding: 0;
border: 0;
border-bottom: 0;
}
 
.suckerdiv ul li a:visited{
color: 990000;
}
 
.suckerdiv ul li a:hover{
background-color: #cc0000;
}
 
.suckerdiv .subfolderstyle{
color: 990000 no-repeat center right;
}
 
	
/* Holly Hack for IE \*/
* html .suckerdiv ul li { float: left; height: 1%; }
* html .suckerdiv ul li a { height: 1%; }
/* End */
 
</style>
 
<script type="text/javascript">
 
//SuckerTree Vertical Menu 1.1 (Nov 8th, 06)
//By Dynamic Drive: http://www.dynamicdrive.com/style/
 
var menuids=["suckertree1"] //Enter id(s) of SuckerTree UL menus, separated by commas
 
function buildsubmenus(){
for (var i=0; i<menuids.length; i++){
  var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
    ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle"
		if (ultags[t].parentNode.parentNode.id==menuids[i]) //if this is a first level submenu
			ultags[t].style.left=ultags[t].parentNode.offsetWidth+"px" //dynamically position first level submenus to be width of main menu item
		else //else if this is a sub level submenu (ul)
		  ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
    ultags[t].parentNode.onmouseover=function(){
    this.getElementsByTagName("ul")[0].style.display="block"
    }
    ultags[t].parentNode.onmouseout=function(){
    this.getElementsByTagName("ul")[0].style.display="none"
    }
    }
		for (var t=ultags.length-1; t>-1; t--){ //loop through all sub menus again, and use "display:none" to hide menus (to prevent possible page scrollbars
		ultags[t].style.visibility="visible"
		ultags[t].style.display="none"
		}
  }
}
 
if (window.addEventListener)
window.addEventListener("load", buildsubmenus, false)
else if (window.attachEvent)
window.attachEvent("onload", buildsubmenus)
 
</script>

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-19 at 05:47:51ID24664524
Topic

JavaScript

Participating Experts
3
Points
500
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Help with 'New Date()' in Javascript - How to use UT…
    My database stores the "start date & time" of an event using the unix epoc format which is the number of milliseconds since midnight Jan 1, 1970 UTC. So, for an event scheduled on 11/26/08 @ 5pm UTC, it will be "1227718800". So, I have Javascript tha...
  2. shadowbox javascript error Message: 'img' is null or no…
    I have started playing with shadowbox and jquery for a day now and am encountering an error in ie 8 only: User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; Media Center PC 6.0; .NET CLR 3.5.21022; InfoPath.2; MDDC; Media C...
  3. Object Expected Error
    I'm getting an object expected error on our company's webpage. I'm terrible at troubleshooting website coding problems, but have been put in this situation due to lack of resources. If someone could help me out, I would greatly appreciate it. This website is running on an Apa...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: Tomarse111Posted on 2009-08-19 at 06:04:45ID: 25132103

This is your problem line

var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")

Its trying to reference a html element that does not exist. Could you post your HTML to see what does exist?

 

by: NatashaMacPosted on 2009-08-19 at 06:06:00ID: 25132114

ok the whole file is attached

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="Templates/Locum Express Template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Locum Express The Agency Behind the Medical Professions</title>
<meta name="description" content="Locum Express was established in 2006 to provide a cost effective service for filling Medical Locums in Ireland. Locum Express is established as one of Irelands largest Medical Locum providers and is Irelands Premier Locum Agency. Locum Express has Clients throughout Ireland and the excellent service provided has resulted in a 98% repeat business rate.">
<meta name="keywords" content="Locum, Ireland, Doctor, Hospital, HSE, Registrar,SHO, Surgical, Medical, Anaesthetic">
<meta name="classification" content="Locum Express">
<meta name="robots" content="ALL">
<meta name="robots" content="index,follow">
<meta name="copyright" content="copyright &copy; 2006 locumexpress.com  -  all rights reserved">
<meta name="rating" content="safe for kids">
<meta name="distrubition" content="global">
<meta name="author" content="www.acornsolutions.ie">
<meta name="revisit-after" content="7 Days">
<meta name="language" content="en-us">
<meta name="robots" content="index">
<style type="text/css">
 
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
 
.suckerdiv ul{
margin: 0;
padding: 0;
list-style-type: none;
width: 80px; /* Width of Menu Items */
border-bottom: 0;
}
	
.suckerdiv ul li{
position: relative;
}
	
/*Sub level menu items */
.suckerdiv ul li ul{
position: absolute;
width: 120px; /*sub menu width was 170*/
top: 0;
visibility: hidden;
}
 
/* Sub level menu links style */
.suckerdiv ul li a{
display: block;
overflow: auto; /*force hasLayout in IE7 */
color: white;
text-decoration: none;
padding: 0;
border: 0;
border-bottom: 0;
}
 
.suckerdiv ul li a:visited{
color: 990000;
}
 
.suckerdiv ul li a:hover{
background-color: #cc0000;
}
 
.suckerdiv .subfolderstyle{
color: 990000 no-repeat center right;
}
 
	
/* Holly Hack for IE \*/
* html .suckerdiv ul li { float: left; height: 1%; }
* html .suckerdiv ul li a { height: 1%; }
/* End */
 
</style>
 
<script type="text/javascript">
 
//SuckerTree Vertical Menu 1.1 (Nov 8th, 06)
//By Dynamic Drive: http://www.dynamicdrive.com/style/
 
var menuids=["suckertree1"] //Enter id(s) of SuckerTree UL menus, separated by commas
 
function buildsubmenus(){
for (var i=0; i<menuids.length; i++){
  var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
    ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle"
		if (ultags[t].parentNode.parentNode.id==menuids[i]) //if this is a first level submenu
			ultags[t].style.left=ultags[t].parentNode.offsetWidth+"px" //dynamically position first level submenus to be width of main menu item
		else //else if this is a sub level submenu (ul)
		  ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
    ultags[t].parentNode.onmouseover=function(){
    this.getElementsByTagName("ul")[0].style.display="block"
    }
    ultags[t].parentNode.onmouseout=function(){
    this.getElementsByTagName("ul")[0].style.display="none"
    }
    }
		for (var t=ultags.length-1; t>-1; t--){ //loop through all sub menus again, and use "display:none" to hide menus (to prevent possible page scrollbars
		ultags[t].style.visibility="visible"
		ultags[t].style.display="none"
		}
  }
}
 
if (window.addEventListener)
window.addEventListener("load", buildsubmenus, false)
else if (window.attachEvent)
window.attachEvent("onload", buildsubmenus)
 
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Locum Express - The Agency behind the Medical Professions</title>
<!-- InstanceEndEditable -->
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<!--
 
.style37 {font-size: 24px; color: #990000; font-family: "Gill Sans MT";}
a:link {
	color: #990000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #990000;
}
a:hover {
	text-decoration: none;
	color: #DF7000;
}
a:active {
	text-decoration: none;
	color: #990000;
}
.style41 {font-family: "Gill Sans MT"; font-size: 12px; color: #990000; }
 
.style42 {font-family: "Gill Sans MT"}
</style>
 
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style58 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #333333; }
.style60 {font-family: Arial, Helvetica, sans-serif; color: #333333; }
.style61 {color: #333333}
.style65 {
	font-size: 10px;
	font-weight: bold;
}
.style70 {
	font-size: 10px;
	color: #990000;
	font-family: Arial, Helvetica, sans-serif;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<!-- InstanceEndEditable -->
 
</head>
 
<body>
<table width="629" align="center" bgcolor="#FFFFFF">
  <tr>
    <td><table width="623" height="519">
      <tr>
        <td height="70" colspan="2" bgcolor="e6e6e6"><table width="897">
          <tr>
            <td width="270" rowspan="2"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','270','height','85','title','Locum Express','src','images/LE%20moving%20logo','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','images/LE%20moving%20logo' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="270" height="85" title="Locum Express">
              <param name="movie" value="images/LE%20moving%20logo.swf" />
              <param name="quality" value="high" />
              <embed src="images/LE%20moving%20logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="270" height="85"></embed>
            </object></noscript></td>
            <td width="615" align="right"><span class="style41"><a href="index.html">Home</a>&brvbar; <a href="aboutus.html">About Us</a> &brvbar;<a href="doctors.html"> Doctors</a> &brvbar; <a href="hospitals.html">Hospital</a> &brvbar; <a href="links.html">Links</a> &brvbar; <a href="contactus.html">Contact Us</a> </span></td>
          </tr>
          <tr>
            <td align="right" valign="bottom"><span class="style37">The Agency behind the Medical Professionals</span></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="201" height="356" valign="top" bgcolor="#990000"><table width="128" height="408">
          <tr>
            <td width="120" height="185" bgcolor="#990000">&nbsp;</td>
          </tr>
          <tr>
            <td bgcolor="#990000"><div class="suckerdiv">
              <ul id="suckertree1">
                <li><a href="index.html" class="style42">Home</a></li>
                <li><a href="aboutus.html" class="style42">About Us </a></li>
                <li><a href="doctors.html" class="style42">Doctors</a>
                    <ul>
                      <li><a href="Doctor Registration (2).pdf" class="style42">Application Forms</a></li>
                      <li><a href="Locum Express Timesheet (2).pdf" class="style42">Timesheets</a></li>
                    </ul>
                </li>
                <li><a href="hospitals.html" class="style42">Hospitals</a></li>
                <li><a href="links.html" class="style42">Links</a> </li>
                <li><a href="contactus.html" class="style42">Contact Us</a></li>
                </li>
              </ul>
            </div></td>
          </tr>
        </table></td>
        <td width="692" valign="top" bgcolor="#E6E6E6"><table width="689" height="239">
          <tr>
            <td width="615" height="233"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','684','height','205','src','../images/LE banner draft1','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','../images/LE banner draft1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="684" height="205">
              <param name="movie" value="images/LE%20banner%20draft1.swf" />
              <param name="quality" value="high" />
              <embed src="images/LE%20banner%20draft1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="684" height="205"></embed>
            </object></noscript></td>
          </tr>
        </table>
          <table width="691" height="274">
            <tr>
              <td width="683" align="left" valign="top">
                
               <!-- InstanceBeginEditable name="EditRegion1" -->
                <p class="style37">Online Registration Form </p>
                <table width="664">
                  <tr>
                    <td width="656"><form action="onlinereg.ftg" method="post" enctype="multipart/form-data" name="onlinereg" id="onlinereg">
                      <table width="656">
                        <tr>
                          <td><span class="style58">Title  </span></td>
                          <td><span class="style58">
                            <label>
                            <input type="text" name="title" />
                            </label>
                          </span></td>
                          <td><span class="style58">Forename </span></td>
                          <td colspan="2"><span class="style60">
                            <label>
                              <input type="text" name="Forename" />
                              </label>
                          </span></td>
                        </tr>
                        <tr>
                          <td><span class="style58">Middle Name </span></td>
                          <td><input name="Middle name" type="text" />                          </td>
                          <td><span class="style58">Surname  </span></td>
                          <td colspan="2"><span class="style60">
                            <label>
                              <input type="text" name="Surname" />
                              </label>
                          </span></td>
                        </tr>
                        <tr>
                          <td><span class="style58">Name known as </span></td>
                          <td><span class="style58">
                            <label>
                            <input type="text" name="Known as" />
                            </label>
                          </span></td>
                          <td><span class="style58">Address 1 </span></td>
                          <td colspan="2"><span class="style60">
                            <label>
                              <input type="text" name="Address1" />
                              </label>
                          </span></td>
                        </tr>
                        <tr>
                          <td><span class="style58">Address 2 </span></td>
                          <td><span class="style58">
                            <label>
                            <input type="text" name="Address2" />
                            </label>
                          </span></td>
                          <td><span class="style58">Address 3 </span></td>
                          <td colspan="2"><span class="style60">
                            <label>
                              <input type="text" name="Address3" />
                              </label>
                          </span></td>
                        </tr>
                        <tr>
                          <td><span class="style58">Town</span></td>
                          <td><span class="style58">
                            <label>
                            <input type="text" name="Town" />
                            </label>
                          </span></td>
                          <td><span class="style58">County</span></td>
                          <td colspan="2"><span class="style60">
                            <select name="county" onchange="">
                              <option>Antrim</option>
                              <option>Armagh</option>
                              <option>carlow</option>
                              <option >Cavan</option>
                              <option >Clare</option>
                              <option >Cork</option>
                              <option >Derry</option>
                              <option >Donegal</option>
                              <option >Down</option>
                              <option >Dublin</option>
                              <option >Fermanagh</option>
                              <option >Galway</option>
                              <option >Kerry</option>
                              <option >Kildare</option>
                              <option >Kilkenny</option>
                              <option >Laois</option>
                              <option >Leitrim</option>
                              <option >Limerick</option>
                              <option >Longford</option>
                              <option >Louth</option>
                              <option >Mayo</option>
                              <option >Meath</option>
                              <option >Monaghan</option>
                              <option >Offaly</option>
                              <option >Roscommon</option>
                              <option >Sligo</option>
                              <option >Tipperary</option>
                              <option >Tyrone</option>
                              <option >Waterford</option>
                              <option >Westmeath</option>
                              <option >Wexford</option>
                              <option >Wicklow</option>
                            </select>
                          </span></td>
                        </tr>
                        <tr>
                          <td><span class="style58">Postcode</span></td>
                          <td><span class="style60">
                            <label>
                            <input type="text" name="Postcode" />
                            </label>
                          </span></td>
                          <td><span class="style58">Country</span></td>
                          <td colspan="2"><span class="style60">
                            <label></label>
                            <select name="Country" onchange="">
                              <option selected="selected">Ireland</option>
                              <option value="Afganistan">Afghanistan</option>
                              <option value="Albania">Albania</option>
                              <option value="Algeria">Algeria</option>
                              <option value="American Samoa">American Samoa</option>
                              <option value="Andorra">Andorra</option>
                              <option value="Angola">Angola</option>
                              <option value="Anguilla">Anguilla</option>
                              <option value="Antigua &amp; Barbuda">Antigua &amp; Barbuda</option>
                              <option value="Argentina">Argentina</option>
                              <option value="Armenia">Armenia</option>
                              <option value="Aruba">Aruba</option>
                              <option value="Australia">Australia</option>
                              <option value="Austria">Austria</option>
                              <option value="Azerbaijan">Azerbaijan</option>
                              <option value="Bahamas">Bahamas</option>
                              <option value="Bahrain">Bahrain</option>
                              <option value="Bangladesh">Bangladesh</option>
                              <option value="Barbados">Barbados</option>
                              <option value="Belarus">Belarus</option>
                              <option value="Belgium">Belgium</option>
                              <option value="Belize">Belize</option>
                              <option value="Benin">Benin</option>
                              <option value="Bermuda">Bermuda</option>
                              <option value="Bhutan">Bhutan</option>
                              <option value="Bolivia">Bolivia</option>
                              <option value="Bonaire">Bonaire</option>
                              <option value="Bosnia &amp; Herzegovina">Bosnia &amp; Herzegovina</option>
                              <option value="Botswana">Botswana</option>
                              <option value="Brazil">Brazil</option>
                              <option value="British Indian Ocean Ter">British Indian Ocean Ter</option>
                              <option value="Brunei">Brunei</option>
                              <option value="Bulgaria">Bulgaria</option>
                              <option value="Burkina Faso">Burkina Faso</option>
                              <option value="Burundi">Burundi</option>
                              <option value="Cambodia">Cambodia</option>
                              <option value="Cameroon">Cameroon</option>
                              <option value="Canada">Canada</option>
                              <option value="Canary Islands">Canary Islands</option>
                              <option value="Cape Verde">Cape Verde</option>
                              <option value="Cayman Islands">Cayman Islands</option>
                              <option value="Central African Republic">Central African Republic</option>
                              <option value="Chad">Chad</option>
                              <option value="Channel Islands">Channel Islands</option>
                              <option value="Chile">Chile</option>
                              <option value="China">China</option>
                              <option value="Christmas Island">Christmas Island</option>
                              <option value="Cocos Island">Cocos Island</option>
                              <option value="Colombia">Colombia</option>
                              <option value="Comoros">Comoros</option>
                              <option value="Congo">Congo</option>
                              <option value="Cook Islands">Cook Islands</option>
                              <option value="Costa Rica">Costa Rica</option>
                              <option value="Cote DIvoire">Cote D'Ivoire</option>
                              <option value="Croatia">Croatia</option>
                              <option value="Cuba">Cuba</option>
                              <option value="Curaco">Curacao</option>
                              <option value="Cyprus">Cyprus</option>
                              <option value="Czech Republic">Czech Republic</option>
                              <option value="Denmark">Denmark</option>
                              <option value="Djibouti">Djibouti</option>
                              <option value="Dominica">Dominica</option>
                              <option value="Dominican Republic">Dominican Republic</option>
                              <option value="East Timor">East Timor</option>
                              <option value="Ecuador">Ecuador</option>
                              <option value="Egypt">Egypt</option>
                              <option value="El Salvador">El Salvador</option>
                              <option value="Equatorial Guinea">Equatorial Guinea</option>
                              <option value="Eritrea">Eritrea</option>
                              <option value="Estonia">Estonia</option>
                              <option value="Ethiopia">Ethiopia</option>
                              <option value="Falkland Islands">Falkland Islands</option>
                              <option value="Faroe Islands">Faroe Islands</option>
                              <option value="Fiji">Fiji</option>
                              <option value="Finland">Finland</option>
                              <option value="France">France</option>
                              <option value="French Guiana">French Guiana</option>
                              <option value="French Polynesia">French Polynesia</option>
                              <option value="French Southern Ter">French Southern Ter</option>
                              <option value="Gabon">Gabon</option>
                              <option value="Gambia">Gambia</option>
                              <option value="Georgia">Georgia</option>
                              <option value="Germany">Germany</option>
                              <option value="Ghana">Ghana</option>
                              <option value="Gibraltar">Gibraltar</option>
                              <option value="Great Britain">Great Britain</option>
                              <option value="Greece">Greece</option>
                              <option value="Greenland">Greenland</option>
                              <option value="Grenada">Grenada</option>
                              <option value="Guadeloupe">Guadeloupe</option>
                              <option value="Guam">Guam</option>
                              <option value="Guatemala">Guatemala</option>
                              <option value="Guinea">Guinea</option>
                              <option value="Guyana">Guyana</option>
                              <option value="Haiti">Haiti</option>
                              <option value="Hawaii">Hawaii</option>
                              <option value="Honduras">Honduras</option>
                              <option value="Hong Kong">Hong Kong</option>
                              <option value="Hungary">Hungary</option>
                              <option value="Iceland">Iceland</option>
                              <option value="India">India</option>
                              <option value="Indonesia">Indonesia</option>
                              <option value="Iran">Iran</option>
                              <option value="Iraq">Iraq</option>
                              <option value="Ireland">Ireland</option>
                              <option value="Isle of Man">Isle of Man</option>
                              <option value="Israel">Israel</option>
                              <option value="Italy">Italy</option>
                              <option value="Jamaica">Jamaica</option>
                              <option value="Japan">Japan</option>
                              <option value="Jordan">Jordan</option>
                              <option value="Kazakhstan">Kazakhstan</option>
                              <option value="Kenya">Kenya</option>
                              <option value="Kiribati">Kiribati</option>
                              <option value="Korea North">Korea North</option>
                              <option value="Korea Sout">Korea South</option>
                              <option value="Kuwait">Kuwait</option>
                              <option value="Kyrgyzstan">Kyrgyzstan</option>
                              <option value="Laos">Laos</option>
                              <option value="Latvia">Latvia</option>
                              <option value="Lebanon">Lebanon</option>
                              <option value="Lesotho">Lesotho</option>
                              <option value="Liberia">Liberia</option>
                              <option value="Libya">Libya</option>
                              <option value="Liechtenstein">Liechtenstein</option>
                              <option value="Lithuania">Lithuania</option>
                              <option value="Luxembourg">Luxembourg</option>
                              <option value="Macau">Macau</option>
                              <option value="Macedonia">Macedonia</option>
                              <option value="Madagascar">Madagascar</option>
                              <option value="Malaysia">Malaysia</option>
                              <option value="Malawi">Malawi</option>
                              <option value="Maldives">Maldives</option>
                              <option value="Mali">Mali</option>
                              <option value="Malta">Malta</option>
                              <option value="Marshall Islands">Marshall Islands</option>
                              <option value="Martinique">Martinique</option>
                              <option value="Mauritania">Mauritania</option>
                              <option value="Mauritius">Mauritius</option>
                              <option value="Mayotte">Mayotte</option>
                              <option value="Mexico">Mexico</option>
                              <option value="Midway Islands">Midway Islands</option>
                              <option value="Moldova">Moldova</option>
                              <option value="Monaco">Monaco</option>
                              <option value="Mongolia">Mongolia</option>
                              <option value="Montserrat">Montserrat</option>
                              <option value="Morocco">Morocco</option>
                              <option value="Mozambique">Mozambique</option>
                              <option value="Myanmar">Myanmar</option>
                              <option value="Nambia">Nambia</option>
                              <option value="Nauru">Nauru</option>
                              <option value="Nepal">Nepal</option>
                              <option value="Netherland Antilles">Netherland Antilles</option>
                              <option value="Netherlands">Netherlands (Holland, Europe)</option>
                              <option value="Nevis">Nevis</option>
                              <option value="New Caledonia">New Caledonia</option>
                              <option value="New Zealand">New Zealand</option>
                              <option value="Nicaragua">Nicaragua</option>
                              <option value="Niger">Niger</option>
                              <option value="Nigeria">Nigeria</option>
                              <option value="Niue">Niue</option>
                              <option value="Norfolk Island">Norfolk Island</option>
                              <option value="Norway">Norway</option>
                              <option value="Oman">Oman</option>
                              <option value="Pakistan">Pakistan</option>
                              <option value="Palau Island">Palau Island</option>
                              <option value="Palestine">Palestine</option>
                              <option value="Panama">Panama</option>
                              <option value="Papua New Guinea">Papua New Guinea</option>
                              <option value="Paraguay">Paraguay</option>
                              <option value="Peru">Peru</option>
                              <option value="Phillipines">Philippines</option>
                              <option value="Pitcairn Island">Pitcairn Island</option>
                              <option value="Poland">Poland</option>
                              <option value="Portugal">Portugal</option>
                              <option value="Puerto Rico">Puerto Rico</option>
                              <option value="Qatar">Qatar</option>
                              <option value="Republic of Montenegro">Republic of Montenegro</option>
                              <option value="Republic of Serbia">Republic of Serbia</option>
                              <option value="Reunion">Reunion</option>
                              <option value="Romania">Romania</option>
                              <option value="Russia">Russia</option>
                              <option value="Rwanda">Rwanda</option>
                              <option value="St Barthelemy">St Barthelemy</option>
                              <option value="St Eustatius">St Eustatius</option>
                              <option value="St Helena">St Helena</option>
                              <option value="St Kitts-Nevis">St Kitts-Nevis</option>
                              <option value="St Lucia">St Lucia</option>
                              <option value="St Maarten">St Maarten</option>
                              <option value="St Pierre &amp; Miquelon">St Pierre &amp; Miquelon</option>
                              <option value="St Vincent &amp; Grenadines">St Vincent &amp; Grenadines</option>
                              <option value="Saipan">Saipan</option>
                              <option value="Samoa">Samoa</option>
                              <option value="Samoa American">Samoa American</option>
                              <option value="San Marino">San Marino</option>
                              <option value="Sao Tome &amp; Principe">Sao Tome &amp; Principe</option>
                              <option value="Saudi Arabia">Saudi Arabia</option>
                              <option value="Senegal">Senegal</option>
                              <option value="Seychelles">Seychelles</option>
                              <option value="Sierra Leone">Sierra Leone</option>
                              <option value="Singapore">Singapore</option>
                              <option value="Slovakia">Slovakia</option>
                              <option value="Slovenia">Slovenia</option>
                              <option value="Solomon Islands">Solomon Islands</option>
                              <option value="Somalia">Somalia</option>
                              <option value="South Africa">South Africa</option>
                              <option value="Spain">Spain</option>
                              <option value="Sri Lanka">Sri Lanka</option>
                              <option value="Sudan">Sudan</option>
                              <option value="Suriname">Suriname</option>
                              <option value="Swaziland">Swaziland</option>
                              <option value="Sweden">Sweden</option>
                              <option value="Switzerland">Switzerland</option>
                              <option value="Syria">Syria</option>
                              <option value="Tahiti">Tahiti</option>
                              <option value="Taiwan">Taiwan</option>
                              <option value="Tajikistan">Tajikistan</option>
                              <option value="Tanzania">Tanzania</option>
                              <option value="Thailand">Thailand</option>
                              <option value="Togo">Togo</option>
                              <option value="Tokelau">Tokelau</option>
                              <option value="Tonga">Tonga</option>
                              <option value="Trinidad &amp; Tobago">Trinidad &amp; Tobago</option>
                              <option value="Tunisia">Tunisia</option>
                              <option value="Turkey">Turkey</option>
                              <option value="Turkmenistan">Turkmenistan</option>
                              <option value="Turks &amp; Caicos Is">Turks &amp; Caicos Is</option>
                              <option value="Tuvalu">Tuvalu</option>
                              <option value="Uganda">Uganda</option>
                              <option value="Ukraine">Ukraine</option>
                              <option value="United Arab Erimates">United Arab Emirates</option>
                              <option value="United Kingdom">United Kingdom</option>
                              <option value="United States of America">United States of America</option>
                              <option value="Uraguay">Uruguay</option>
                              <option value="Uzbekistan">Uzbekistan</option>
                              <option value="Vanuatu">Vanuatu</option>
                              <option value="Vatican City State">Vatican City State</option>
                              <option value="Venezuela">Venezuela</option>
                              <option value="Vietnam">Vietnam</option>
                              <option value="Virgin Islands (Brit)">Virgin Islands (Brit)</option>
                              <option value="Virgin Islands (USA)">Virgin Islands (USA)</option>
                              <option value="Wake Island">Wake Island</option>
                              <option value="Wallis &amp; Futana Is">Wallis &amp; Futana Is</option>
                              <option value="Yemen">Yemen</option>
                              <option value="Zaire">Zaire</option>
                              <option value="Zambia">Zambia</option>
                              <option value="Zimbabwe">Zimbabwe</option>
                            </select>
                          </span></td>
                        </tr>
                        <tr>
                          <td><span class="style58">Email</span></td>
                          <td><span class="style58">
                            <label>
                            <input type="text" name="Email" />
                            </label>
                          </span></td>
                          <td><span class="style58">Telephone  </span></td>
                          <td colspan="2"><span class="style58">
                            <label>
                            <input type="text" name="Telephone" />
                            </label>
                          </span></td>
                        </tr>
                        <tr>
                          <td width="100"><span class="style58">I.M.C. Number </span></td>
                          <td width="146"><span class="style58">
                            <label>
                            <input type="text" name="IMCNumber" />
                            </label>
                          </span></td>
                          <td width="79"><span class="style58">Reg Type </span></td>
                          <td colspan="2"><span class="style60">
                            <label>
                              <input type="text" name="Reg Type" />
                              </label>
                          </span></td>
                        </tr>
                        <tr>
                          <td class="style58">G.M.C</td>
                          <td><span class="style58">
                            <label></label>
                            <label>
                            <input type="text" name="GMC" />
                            </label>
                          </span></td>
                          <td><span class="style58">Reg Type </span></td>
                          <td colspan="2"><span class="style60">
                            <label>
                              <input type="text" name="Reg Type" />
                              </label>
                          </span></td>
                        </tr>
                        <tr>
                          <td height="74" valign="top"><p class="style58">Grade of Interest <br />
            
                            <span class="style70">Press ctl &amp; click to select multiple options </span><br /> 
                            </p>                            </td>
                          <td valign="top"><span class="style58">
                            
							<select name="Grade_of_Interest[]"  size="4" multiple="multiple" onchange=")">
							if (isset($_POST['Grade_of_interest'])) {
  							$_POST['Grade_of_interest'] = implode(', ', $_POST['Grade_of_interest'])
							}
                              <option>SHO</option>
                              <option>Registrar</option>
                              <option>Specialist Registrar</option>
                              <option>Consultant</option>
                            </select>
                          </span></td>
                          <td valign="top"><span class="style58">Specialities<br /><span class="style70">Press ctl &amp; click to select multiple options </span><br /></span><span class="style65">
                          </span></td>
                          <td colspan="2" valign="top"><span class="style60">
                            <select name="Specialities[]" size="4" multiple="multiple" onchange="">
							if (isset($_POST['Specialities'])) {
  							$_POST['Specialities'] = implode(', ', $_POST['Specialities'])
							}
                              <option>Accident &amp; Emergency</option>
                              <option>Accident &amp; Emergency-Paeds</option>
                              <option>Accident &amp; Emergency-Medical</option>
                              <option>Anaesthetics</option>
                              <option>Ears, Nose &amp; Throat</option>
                              <option>General Medicine</option>
                              <option>Medicine - Rheumatology</option>
                              <option>Medicine - Cardiology</option>
                              <option>Medicine - Renal</option>
                              <option>Medicine - Endocrinology</option>
                              <option>Medicine - Respiratory</option>
                              <option>Medicine - Geriatrics</option>
                              <option>Medicine - Infectious Diseases</option>
                              <option>Medicine - Oncology</option>
                              <option>Medicine - Haematology</option>
                              <option>Medicine - Gastroenterology</option>
                              <option>Medicine - Cardiology</option>
                              <option>Medicine - Neurology</option>
                              <option>Medicine - Nephrology</option>
                              <option>Paediatrics</option>
                              <option>Neonatology</option>
                              <option>Obstetrics &amp; Gynaecology</option>
                              <option>Orthopaedics</option>
                              <option>Urology</option>
                              <option>General Surgery</option>
                              <option>Cardiothoracic Surgery</option>
                              <option>Brest Surgery</option>
                              <option>Colorectal Surgery</option>
                              <option>Paediatric Surgery</option>
                              <option>Plastic Surgery</option>
                              <option>Psychiatry</option>
                              <option>Radiology</option>
                            </select>
                          </span></td>
                        </tr>
                        <tr>
                          <td><span class="style58">Submit CV </span></td>
                          <td colspan="2"><input name="Submit CV" type="file" /></td>
                          <td width="87"><span class="style58">Submit other Documents </span></td>
                          <td width="220" align="center"><label>
                            <div align="center">
                              <input type="file" name="Submit other Documents " />
                            </div>
                          </label></td>
                        </tr>
                        <tr>
                          <td colspan="2"><span class="style58">Additional Information </span></td>
                          <td><span class="style61"></span></td>
                          <td colspan="2" class="style58">&nbsp;</td>
                        </tr>
                        <tr>
                          <td colspan="5"><span class="style60">
                            <label></label>
                            <label></label>
                            <label></label>
                          </span>                            <table width="200">
                            <tr>
                              <td><textarea name="Additional info" cols="75" rows="10"></textarea></td>
                            </tr>
                          </table>
                          <label></label></td>
                          </tr>
                        <tr>
                          <td colspan="2"><label><span class="style58">How did you hear about Locum Expess? </span></label></td>
                          <td colspan="3"><select name="Source">
                            <option>Irish Medical Times</option>
                            <option>Irish Medical News</option>
                            <option>Friend</option>
                            <option>Web</option>
                            <option>Other</option>
                          </select></td>
                          </tr>
                        <tr>
                          <td colspan="5"><label>
                          <input type="submit" name="Submit" value="Submit" />
                          </label></td>
                        </tr>
                      </table>
                    </form></td>
                  </tr>
                </table>
                <p class="style37">&nbsp;</p>
                <!-- InstanceEndEditable --></td>
            </tr>
          </table></td>
      </tr>
    </table>
      <table width="907">
        <tr>
          <td align="right" bgcolor="#E6E6E6"><span class="style41"><a href="sitemap.html">Site Map</a> | &copy; Locum Express 2009</span></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
531:
532:
533:
534:
535:
536:
537:
538:
539:
540:
541:
542:
543:
544:
545:
546:
547:
548:
549:
550:
551:
552:
553:
554:
555:
556:
557:
558:
559:
560:
561:
562:
563:
564:
565:
566:
567:
568:
569:
570:
571:
572:
573:
574:
575:
576:
577:
578:
579:
580:
581:
582:
583:
584:
585:
586:
587:
588:
589:
590:
591:
592:
593:
594:
595:
596:
597:
598:
599:
600:
601:
602:
603:
604:
605:
606:
607:
608:
609:
610:
611:
612:
613:
614:
615:
616:
617:
618:
619:
620:
621:
622:
623:
624:
625:
626:
627:
628:
629:
630:
631:
632:
633:
634:
635:
636:
637:
638:
639:
640:
641:
642:
643:
644:
645:
646:
647:
648:
649:
650:
651:
652:
653:
654:
655:
656:
657:
658:
659:
660:
661:
662:
663:
664:
665:
666:
667:
668:
669:
670:
671:
672:
673:
674:
675:
676:
677:
678:
679:
680:
681:
682:
683:
684:
685:
686:
687:
688:
689:
690:
691:
692:
693:
694:
695:
696:
697:
698:
699:
700:
701:
702:
703:
704:
705:
706:
707:
708:
709:
710:
711:
712:
713:
714:
715:
716:
717:
718:
719:
720:
721:
722:
723:
724:
725:
726:
727:
728:
729:
730:
731:
732:
733:
734:
735:
736:
737:
738:
739:
740:
741:
742:
743:
744:
745:
746:
747:
748:
749:
750:
751:
752:
753:
754:
755:

Select allOpen in new window

 

by: fsze88Posted on 2009-08-19 at 06:06:02ID: 25132116

<pre id="codeSnippet391738" class="prettyprint">how about
document.getElementsByTagName("ul")[0].style.display="none" instead of this.getElementsByTagName("ul")[0].style.display="none"?

</pre>

 

by: Tomarse111Posted on 2009-08-19 at 06:09:04ID: 25132141

Within that HTML there is no UL elements to use against your menu? You menu is expecting there to be an UL with the ID suckertree1 ... derived from

var menuids=["suckertree1"]

 

by: Tomarse111Posted on 2009-08-19 at 06:09:57ID: 25132149

You have it commented out is what I mean, or at least that is what it looks like.

 

by: NatashaMacPosted on 2009-08-19 at 06:14:38ID: 25132197

I got this script from a website showing how to do this menu and i edited everything i thought i should but i don't know what to do with this can you show me please

 

by: strickddPosted on 2009-08-19 at 06:20:35ID: 25132251

I would recommend doing an alert for all your "document.getElementById()" calls. For example:

alert("[ID_Of_Object]: " + document.getElementById('ID_Of_Object'));
alert("[ID_Of_Object2]: " + document.getElementById('ID_Of_Object2'));
.
.
.
alert("[ID_Of_ObjectN]: " + document.getElementById('ID_Of_ObjectN'));

When you get an alert with "null" as the value, that will tell you that object doesn't exist in the context. Then you need to make sure the you typed all your IDs correctly. Misspellings are common issues here.

 

by: Tomarse111Posted on 2009-08-19 at 06:22:19ID: 25132263

Edited your code (See below) and it seems to work fine for me now:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Locum Express The Agency Behind the Medical Professions</title>
<meta name="description" content="Locum Express was established in 2006 to provide a cost effective service for filling Medical Locums in Ireland. Locum Express is established as one of Irelands largest Medical Locum providers and is Irelands Premier Locum Agency. Locum Express has Clients throughout Ireland and the excellent service provided has resulted in a 98% repeat business rate.">
<meta name="keywords" content="Locum, Ireland, Doctor, Hospital, HSE, Registrar,SHO, Surgical, Medical, Anaesthetic">
<meta name="classification" content="Locum Express">
<meta name="robots" content="ALL">
<meta name="robots" content="index,follow">
<meta name="copyright" content="copyright &copy; 2006 locumexpress.com  -  all rights reserved">
<meta name="rating" content="safe for kids">
<meta name="distrubition" content="global">
<meta name="author" content="www.acornsolutions.ie">
<meta name="revisit-after" content="7 Days">
<meta name="language" content="en-us">
<meta name="robots" content="index">
<style type="text/css">
 
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
 
.suckerdiv ul{
margin: 0;
padding: 0;
list-style-type: none;
width: 80px; /* Width of Menu Items */
border-bottom: 0;
}
	
.suckerdiv ul li{
position: relative;
}
	
/*Sub level menu items */
.suckerdiv ul li ul{
position: absolute;
width: 120px; /*sub menu width was 170*/
top: 0;
visibility: hidden;
}
 
/* Sub level menu links style */
.suckerdiv ul li a{
display: block;
overflow: auto; /*force hasLayout in IE7 */
color: white;
text-decoration: none;
padding: 0;
border: 0;
border-bottom: 0;
}
 
.suckerdiv ul li a:visited{
color: 990000;
}
 
.suckerdiv ul li a:hover{
background-color: #cc0000;
}
 
.suckerdiv .subfolderstyle{
color: 990000 no-repeat center right;
}
 
	
/* Holly Hack for IE \*/
* html .suckerdiv ul li { float: left; height: 1%; }
* html .suckerdiv ul li a { height: 1%; }
/* End */
 
</style>
 
<script type="text/javascript">
 
//SuckerTree Vertical Menu 1.1 (Nov 8th, 06)
//By Dynamic Drive: http://www.dynamicdrive.com/style/
 
var menuids=["suckertree1"] //Enter id(s) of SuckerTree UL menus, separated by commas
 
function buildsubmenus(){
for (var i=0; i<menuids.length; i++){
  var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
    ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle"
		if (ultags[t].parentNode.parentNode.id==menuids[i]) //if this is a first level submenu
			ultags[t].style.left=ultags[t].parentNode.offsetWidth+"px" //dynamically position first level submenus to be width of main menu item
		else //else if this is a sub level submenu (ul)
		  ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
    ultags[t].parentNode.onmouseover=function(){
    this.getElementsByTagName("ul")[0].style.display="block"
    }
    ultags[t].parentNode.onmouseout=function(){
    this.getElementsByTagName("ul")[0].style.display="none"
    }
    }
		for (var t=ultags.length-1; t>-1; t--){ //loop through all sub menus again, and use "display:none" to hide menus (to prevent possible page scrollbars
		ultags[t].style.visibility="visible"
		ultags[t].style.display="none"
		}
  }
}
 
if (window.addEventListener)
window.addEventListener("load", buildsubmenus, false)
else if (window.attachEvent)
window.attachEvent("onload", buildsubmenus)
 
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 
<title>Locum Express - The Agency behind the Medical Professions</title>
 
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<!--
 
.style37 {font-size: 24px; color: #990000; font-family: "Gill Sans MT";}
a:link {
	color: #990000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #990000;
}
a:hover {
	text-decoration: none;
	color: #DF7000;
}
a:active {
	text-decoration: none;
	color: #990000;
}
.style41 {font-family: "Gill Sans MT"; font-size: 12px; color: #990000; }
 
.style42 {font-family: "Gill Sans MT"}
</style>
 
<style type="text/css">
<!--
.style58 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #333333; }
.style60 {font-family: Arial, Helvetica, sans-serif; color: #333333; }
.style61 {color: #333333}
.style65 {
	font-size: 10px;
	font-weight: bold;
}
.style70 {
	font-size: 10px;
	color: #990000;
	font-family: Arial, Helvetica, sans-serif;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
 
</head>
 
<body>
<table width="629" align="center" bgcolor="#FFFFFF">
  <tr>
    <td><table width="623" height="519">
      <tr>
        <td height="70" colspan="2" bgcolor="e6e6e6"><table width="897">
          <tr>
            <td width="270" rowspan="2"></td>
            <td width="615" align="right"><span class="style41"><a href="index.html">Home</a>&brvbar; <a href="aboutus.html">About Us</a> &brvbar;<a href="doctors.html"> Doctors</a> &brvbar; <a href="hospitals.html">Hospital</a> &brvbar; <a href="links.html">Links</a> &brvbar; <a href="contactus.html">Contact Us</a> </span></td>
          </tr>
          <tr>
            <td align="right" valign="bottom"><span class="style37">The Agency behind the Medical Professionals</span></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="201" height="356" valign="top" bgcolor="#990000"><table width="128" height="408">
          <tr>
            <td width="120" height="185" bgcolor="#990000">&nbsp;</td>
          </tr>
          <tr>
            <td bgcolor="#990000"><div class="suckerdiv">
              <ul id="suckertree1">
                <li><a href="index.html" class="style42">Home</a></li>
                <li><a href="aboutus.html" class="style42">About Us </a></li>
                <li><a href="doctors.html" class="style42">Doctors</a>
                    <ul>
                      <li><a href="Doctor Registration (2).pdf" class="style42">Application Forms</a></li>
                      <li><a href="Locum Express Timesheet (2).pdf" class="style42">Timesheets</a></li>
                    </ul>
                </li>
                <li><a href="hospitals.html" class="style42">Hospitals</a></li>
                <li><a href="links.html" class="style42">Links</a> </li>
                <li><a href="contactus.html" class="style42">Contact Us</a></li>
                </li>
              </ul>
            </div></td>
          </tr>
        </table></td>
        <td width="692" valign="top" bgcolor="#E6E6E6"><table width="689" height="239">
          <tr>
            <td width="615" height="233"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','684','height','205','src','../images/LE banner draft1','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','../images/LE banner draft1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="684" height="205">
              <param name="movie" value="images/LE%20banner%20draft1.swf" />
              <param name="quality" value="high" />
              <embed src="images/LE%20banner%20draft1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="684" height="205"></embed>
            </object></noscript></td>
          </tr>
        </table>
</table>
</body>
</html>

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:

Select allOpen in new window

 

by: NatashaMacPosted on 2009-08-19 at 06:47:30ID: 25132526

Great

Thanks  can you tell me what lines you edited i can see it

 

by: Tomarse111Posted on 2009-08-19 at 06:57:55ID: 25132655

I ripped out the the <!-- --> which were referencing some sort of Dreamweaver template stuff. The physical code, I didn't need to touch just the wrappers. Seems to have done the trick for me at least though. Is it working for you now?

 

by: NatashaMacPosted on 2009-08-19 at 07:11:43ID: 25132818

Nop still not working look at http://www.locumexpress.ie/formresults.html and i was using a template thats why they were there so if i have to get rid of them then i can use my template  i add some text to your edited code to see what happens and the like above is the result

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Locum Express - The Agency Behind the Medical Professions</title>
<meta name="description" content="Locum Express was established in 2006 to provide a cost effective service for filling Medical Locums in Ireland. Locum Express is established as one of Irelands largest Medical Locum providers and is Irelands Premier Locum Agency. Locum Express has Clients throughout Ireland and the excellent service provided has resulted in a 98% repeat business rate.">
<meta name="keywords" content="Locum, Ireland, Doctor, Hospital, HSE, Registrar,SHO, Surgical, Medical, Anaesthetic">
<meta name="classification" content="Locum Express">
<meta name="robots" content="ALL">
<meta name="robots" content="index,follow">
<meta name="copyright" content="copyright &copy; 2006 locumexpress.com  -  all rights reserved">
<meta name="rating" content="safe for kids">
<meta name="distrubition" content="global">
<meta name="author" content="www.acornsolutions.ie">
<meta name="revisit-after" content="7 Days">
<meta name="language" content="en-us">
<meta name="robots" content="index">
<style type="text/css">
 
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
 
.suckerdiv ul{
margin: 0;
padding: 0;
list-style-type: none;
width: 80px; /* Width of Menu Items */
border-bottom: 0;
}
	
.suckerdiv ul li{
position: relative;
}
	
/*Sub level menu items */
.suckerdiv ul li ul{
position: absolute;
width: 120px; /*sub menu width was 170*/
top: 0;
visibility: hidden;
}
 
/* Sub level menu links style */
.suckerdiv ul li a{
display: block;
overflow: auto; /*force hasLayout in IE7 */
color: white;
text-decoration: none;
padding: 0;
border: 0;
border-bottom: 0;
}
 
.suckerdiv ul li a:visited{
color: 990000;
}
 
.suckerdiv ul li a:hover{
background-color: #cc0000;
}
 
.suckerdiv .subfolderstyle{
color: 990000 no-repeat center right;
}
 
	
/* Holly Hack for IE \*/
* html .suckerdiv ul li { float: left; height: 1%; }
* html .suckerdiv ul li a { height: 1%; }
/* End */
 
</style>
 
<script type="text/javascript">
 
//SuckerTree Vertical Menu 1.1 (Nov 8th, 06)
//By Dynamic Drive: http://www.dynamicdrive.com/style/
 
var menuids=["suckertree1"] //Enter id(s) of SuckerTree UL menus, separated by commas
 
function buildsubmenus(){
for (var i=0; i<menuids.length; i++){
  var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
    ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle"
		if (ultags[t].parentNode.parentNode.id==menuids[i]) //if this is a first level submenu
			ultags[t].style.left=ultags[t].parentNode.offsetWidth+"px" //dynamically position first level submenus to be width of main menu item
		else //else if this is a sub level submenu (ul)
		  ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
    ultags[t].parentNode.onmouseover=function(){
    this.getElementsByTagName("ul")[0].style.display="block"
    }
    ultags[t].parentNode.onmouseout=function(){
    this.getElementsByTagName("ul")[0].style.display="none"
    }
    }
		for (var t=ultags.length-1; t>-1; t--){ //loop through all sub menus again, and use "display:none" to hide menus (to prevent possible page scrollbars
		ultags[t].style.visibility="visible"
		ultags[t].style.display="none"
		}
  }
}
 
if (window.addEventListener)
window.addEventListener("load", buildsubmenus, false)
else if (window.attachEvent)
window.attachEvent("onload", buildsubmenus)
 
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 
<title>Locum Express - The Agency behind the Medical Professions</title>
 
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<!--
 
.style37 {font-size: 24px; color: #990000; font-family: "Gill Sans MT";}
a:link {
	color: #990000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #990000;
}
a:hover {
	text-decoration: none;
	color: #DF7000;
}
a:active {
	text-decoration: none;
	color: #990000;
}
.style41 {font-family: "Gill Sans MT"; font-size: 12px; color: #990000; }
 
.style42 {font-family: "Gill Sans MT"}
</style>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
 
</head>
 
<body>
<table width="629" align="center" bgcolor="#FFFFFF">
  <tr>
    <td><table width="623" height="519">
      <tr>
        <td height="70" colspan="2" bgcolor="e6e6e6"><table width="897">
          <tr>
            <td width="270" rowspan="2"></td>
            <td width="615" align="right"><span class="style41"><a href="index.html">Home</a>&brvbar; <a href="aboutus.html">About Us</a> &brvbar;<a href="doctors.html"> Doctors</a> &brvbar; <a href="hospitals.html">Hospital</a> &brvbar; <a href="links.html">Links</a> &brvbar; <a href="contactus.html">Contact Us</a> </span></td>
          </tr>
          <tr>
            <td align="right" valign="bottom"><span class="style37">The Agency behind the Medical Professionals</span></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="201" height="356" valign="top" bgcolor="#990000"><table width="128" height="408">
          <tr>
            <td width="120" height="185" bgcolor="#990000">&nbsp;</td>
          </tr>
          <tr>
            <td bgcolor="#990000"><div class="suckerdiv">
              <ul id="suckertree1">
                <li><a href="index.html" class="style42">Home</a></li>
                <li><a href="aboutus.html" class="style42">About Us </a></li>
                <li><a href="doctors.html" class="style42">Doctors</a>
                    <ul>
                      <li><a href="Doctor Registration (2).pdf" class="style42">Application Forms</a></li>
                      <li><a href="Locum Express Timesheet (2).pdf" class="style42">Timesheets</a></li>
                    </ul>
                </li>
                <li><a href="hospitals.html" class="style42">Hospitals</a></li>
                <li><a href="links.html" class="style42">Links</a> </li>
                <li><a href="contactus.html" class="style42">Contact Us</a></li>
                </li>
              </ul>
            </div></td>
          </tr>
        </table></td>
        <td width="692" valign="top" bgcolor="#E6E6E6"><table width="689" height="239">
          <tr>
            <td width="615" height="233"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','684','height','205','src','../images/LE banner draft1','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','../images/LE banner draft1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="684" height="205">
              <param name="movie" value="images/LE%20banner%20draft1.swf" />
              <param name="quality" value="high" />
              <embed src="images/LE%20banner%20draft1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="684" height="205"></embed>
            </object></noscript></td>
          </tr>
        </table>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p align="center" class="style37"><strong>Thank You your submittion has been successful</strong></p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
        </table>
</body>
</html>
 

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:

Select allOpen in new window

 

by: Tomarse111Posted on 2009-08-19 at 07:22:56ID: 25132975

Found it! :)

There is a rogue <!-- within your style sheet that is canceling out certain elements (this is in the your link at http://www.locumexpress.ie/formresults.html)

Remove the <!-- that is on line 116 on your code you posted above.

N.B firefox rendered it fine, its only a IE bug

 

by: NatashaMacPosted on 2009-08-19 at 08:00:20ID: 25133471

Great it works now thatks

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...