Results 1 to 2 of 2
Thread: One Script beating the other
- 02-20-2011, 11:24 PM #1
Member
- Join Date
- Feb 2011
- Posts
- 1
- Rep Power
- 0
One Script beating the other
Hello. my name is Bobby C. I am completely new to using Java. I have a page with working lightboxes. Last night I added a java drop down menu and the lightboxes stopped working. Cutting the menu java out lets the lightbox work. Without the lightbox the menu works. I am not sure if this is a z-index battle or the fact that I am trying to have two script functions on the same page. I have taken the code and moved it all around trying to get them both working with no luck. After looking around for a couple days with no idea what all the code means, I came here. There is a ton of information online, but you need to be able to read it. @#$%^&* means nothing to me. I am attaching my mess of a head tag in hopes that someone could give me a better chance of getting this to function. Java script is very interesting to me and I am picking up quite a bit just messing with this one project. Thanks in advance for any help received.
<head>
<script type="text/javascript">
$(document).ready(function() {
$("ul#jDropDown").jDropDown({
'effect' : '',
'notMenu' : '.home', // exclude menu (.home in examples)
'duration' : {
'fadeIn' : 300,
'fadeOut' : 60,
'slideIn' : 300,
'slideOut' : 60
}
});
});
</script>
<script type="text/javascript" src="../js/jquery-1.5.js"></script>
<script type="text/javascript" language="javascript" src="js/dropdown.class.js"></script>
<script type="text/javascript" language="javascript" src="js/layout.class.js"></script>
<!-- color piker -->
<link rel="stylesheet" media="screen" type="text/css" href="css/colorpicker.css" />
<script type="text/javascript" src="colorpiker/js/colorpicker.js"></script>
<title>Projects</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="projects_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen, projection"/>
<!-- menu -->
<link rel="stylesheet" href="css/menu.css" type="text/css"/>
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="css/ie.css" media="screen" />
<![endif]-->
<!-- Start pcsolutionz.org HEAD section -->
<link rel="stylesheet" href="engine/css/vlightbox1.css" type="text/css" />
<link rel="stylesheet" href="engine/css/vlightbox2.css" type="text/css" />
<link rel="stylesheet" href="engine/css/vlightbox3.css" type="text/css" />
<link rel="stylesheet" href="engine/css/vlightbox4.css" type="text/css" />
<link rel="stylesheet" href="engine/css/vlightbox5.css" type="text/css" />
<link rel="stylesheet" href="engine/css/visuallightbox.css" type="text/css" media="screen" />
<script src="../js/jquery-1.5.js" type="text/javascript"></script>
<script src="engine/js/visuallightbox.js" type="text/javascript"></script>
<script src="engine/js/vlbdata.js" type="text/javascript"></script>
<!-- End pcsolutionz.org HEAD section -->
</head>
-
This doesn't appear to have much to do with programming with Java but rather is JavaScript. Please correct me if I'm wrong, but if not, you'll want to google a JavaScript forum, not a Java forum.
Similar Threads
-
Java script
By kirtichopra2003 in forum Advanced JavaReplies: 1Last Post: 12-04-2009, 07:55 PM -
pasword script
By ExGM in forum Java AppletsReplies: 4Last Post: 11-13-2009, 03:50 PM -
java script
By satti in forum Web FrameworksReplies: 0Last Post: 06-09-2009, 08:53 AM -
Running a script within IE
By Java Tip in forum SWTReplies: 0Last Post: 07-25-2008, 02:33 PM -
JSP redirection script
By ravian in forum New To JavaReplies: 1Last Post: 01-07-2008, 10:33 AM


LinkBack URL
About LinkBacks

Bookmarks