Conflicting scripts ?

I was using Lytebox on another site and it worked fine, but not on this site:
http://real20cardkeno.com/test.asp, some times it works and sometimes not. The close button
never shows.
the page without the include file:
http://real20cardkeno.com/test2.asp this works as it should, but i have no footer.
The include clause:
<!-- #include file ="Includes_ASP/footer.asp" -->

The footer file contents:
<a href="../default.asp">Home</a>&nbsp;
|&nbsp; <a href="../about.asp">About Us</a>&nbsp;&nbsp;
|&nbsp; <a href="../support.asp">Contact
      Us</a>&nbsp; | <a href="../links.asp">Links </a>
| <a href="../Privacy.asp"> Your Privacy</a> |&nbsp; <a href="../SiteMap.asp">Site map</a> &nbsp;|
<script type=text/javascript>
var _u   = "service";
var _d = "real20cardkeno.com";
var _l   = _u + "@" + _d;
var _m = "E-mail Us";
document.write("<a href='mailto:"+_l+"'>"+_m+"</a>");
</script><p>
Copyright &#169; 2013 Real20CardKeno All rights reserved.<br />
This page last updated: 09-04-2013
</div><!--center-->

Open in new window

How to fix this?
isnoend2001Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RobOwner (Aidellio)Commented:
I'm not sure exactly what your question is?  What do you want to happen when you include your footer?
0
isnoend2001Author Commented:
I want to show the footer like in test.asp and include the lytebox
But now it seems that http://real20cardkeno.com/test2.asp without the footer no longer works correctly. They both work locally but fail when  published online. I do not know why the lytebox works perfectly locally, but fails online
0
RobOwner (Aidellio)Commented:
You need to set the class of the <a> to lytebox not the rel

http://lytebox.com/howTo.php
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

RobOwner (Aidellio)Commented:
 <a href="images/8_7_spots.jpg" rel="lytebox" title="8 7 spots">
 <img class="boxed" src="images/8_7_spotsSmall.jpg" alt="Description" width="156" height="120" align="right"></a>

 <div style="clear: both;"></div> 
 Click for larger
  <a href="images/10_5_spots.jpg" rel="lytebox" title="10 5 spots">

Open in new window


becomes
 <a href="images/8_7_spots.jpg" class="lytebox" title="8 7 spots">
 <img class="boxed" src="images/8_7_spotsSmall.jpg" alt="Description" width="156" height="120" align="right"></a>

 <div style="clear: both;"></div> 
 Click for larger
  <a href="images/10_5_spots.jpg" class="lytebox" title="10 5 spots">

Open in new window

0
RobOwner (Aidellio)Commented:
works:
works for me
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
isnoend2001Author Commented:
Thanks
Funny thing it now does not work locally, but online it works

class added does this work for you ?
http://real20cardkeno.com/test.asp
0
RobOwner (Aidellio)Commented:
Sure does. If its not working locally but it's online then it will be the Relative locationOf your scripts
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.