I am trying to active my lightbox from a second rollover link and do not know how to do it. I been looking for hours to find the right answer and the closest thing that made any sense was someone saying to do this..
This is commonly caused by a conflict between scripts. Check your body tag and look for an onload attribute. Example:
<body onload="MM_preloadImages(‘/images/menu_on.gif’)…;">
A quick fix to this problem is to append the initLightbox() to the onload attribute as so:
<body onload="MM_preloadImages(‘/images/menu_on.gif’)…;initLightbox()">
Sounds simple enough but the problem is my 'body onload' attitubute in my HTML seems to be uneditable for some reason so I am unable to test if this works or not. Can someone please help me as I am new to dreamweaver and this is my first website. Here is where is sits in my code - not sure if that will help.
thanks
</script>
<!-- InstanceEndEditable -->
<!-- InstanceParam name="Home" type="text" value="nostyle" -->
<!-- InstanceParam name="About Us" type="text" value="nostyle" -->
</head>
<body onload="MM_preloadImages('_images/bit_nav1grey.png','_images/bit_nav2 grey.png','_images/bit_nav3grey.png','_images/bit_nav4grey.png','_imag es/bit_nav5grey.png')">
<div id="container">
<div id="logo">
</div><!--end logo -->
<div id="header">
<div id="banner">
</div><!--end banner -->
<div id="navbar">
<ul>
<li><a href="home.html" title="Home" target="_self">Home</a></li>
<li><a href="about.html" title="About Us" target="_self">About Us</a></li>
<li><a href="products.html" title="Products" target="_self">Products</a></li>
<li><a href="news.html" title="News" target="_self">News</a></li>
<li><a href="contact.html" title="Contact Us" target="_self">Contact Us</a></li>
</ul>
</div><!--end navbar -->
</div><!--end header --><!-- InstanceBeginEditable name="main" -->
<div id="main">
<div id="drill_text">
<h2 class="drill_heading">Hardcore Drill Bits</h2>