Results 1 to 2 of 2
  1. #1
    pcsolutionz is offline Member
    Join Date
    Feb 2011
    Posts
    1
    Rep Power
    0

    Default 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>

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    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

  1. Java script
    By kirtichopra2003 in forum Advanced Java
    Replies: 1
    Last Post: 12-04-2009, 07:55 PM
  2. pasword script
    By ExGM in forum Java Applets
    Replies: 4
    Last Post: 11-13-2009, 03:50 PM
  3. java script
    By satti in forum Web Frameworks
    Replies: 0
    Last Post: 06-09-2009, 08:53 AM
  4. Running a script within IE
    By Java Tip in forum SWT
    Replies: 0
    Last Post: 07-25-2008, 02:33 PM
  5. JSP redirection script
    By ravian in forum New To Java
    Replies: 1
    Last Post: 01-07-2008, 10:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •