FREE CODE Wednesday, 11.22.2017, 7:24 PM
Main | Registration | Login Welcome Guest | RSS
[ New messages · Members · Forum rules · Search · RSS ]
۞Forum Statistics۞
NEW TOPPIV
HOT TOPPIC
TOP MEMBERS
NEW MEMBERS
  • check code here Have(0) reviews faxuhi
  • Keywords meta Tags Have(0) reviews faxuhi
  • text box Have(0) reviews faxuhi
  • Page description Have(0) reviews faxuhi
  • marquee Have(0) reviews faxuhi
  • print your page Have(0) reviews faxuhi
  • choose your country Have(0) reviews faxuhi
  • check all - unchek all Have(0) reviews faxuhi
  • shadow text Have(0) reviews faxuhi
  • Beautiful text two Have(0) reviews faxuhi
  • Nice menu with java script <p1> Have(2) reviews faxuhi
  • Mouse Clock Have(1) reviews faxuhi
  • HTML table placeholder Have(0) reviews faxuhi
  • Html graphic bullets Have(0) reviews faxuhi
  • Different times of the world by the users choice from a list Have(0) reviews faxuhi
  • Mouseover Alert HTML Script Have(0) reviews faxuhi
  • Redirect to another page and link automatically to other pg Have(0) reviews faxuhi
  • Combo box link box to browse your website easily Have(0) reviews faxuhi
  • Message to user by clicking a button Have(0) reviews faxuhi
  • Background changing color effect Have(0) reviews faxuhi
  • faxuhi[189]Bài
  • mcsnagger0022[0]Bài
  • thinknoodles[0]Bài
  • karaganis888[0]Bài
  • faxuhi [189]Bài
  • mcsnagger0022 [0]Bài
  • thinknoodles [0]Bài
  • karaganis888 [0]Bài
  • Page 1 of 11
    Forum » Web Javascript » How to make menus in Java » How to make menus in Java
    How to make menus in Java
    faxuhiDate: Monday, 07.25.2011, 2:22 PM | Message # 1
    Colonel
    Group: Administrators
    Messages: 189
    Reputation: 0
    Status: Offline
    <!-- START OF Drop Down DHTML -->

    <!-- SUMMARY BRIEFS
    This DHTML script will create a drop down link box out of
    an ordinary link. VERY COOL!!!!

    The top portion of this script goes above the <BODY> tag.
    The second portion goes where you want the drop down link
    box to be.
    -->

    Code
    </style></HEAD>

    <BODY>

    <ilayer id="coffeemenu01" height=35px>
    <layer id="coffeemenu02" visibility=show>
    <span id="wrapper">
    <span id="wrapper2" onClick="dropit2();event.cancelBubble=true;return false">
    <font face="Verdana"><b><a href="notthisbrowser.html">Click Here To Navigate</a></b></font>
    </span>
    </span>
    </layer>
    </ilayer>

    <script language="JavaScript1.2">

    var enableeffect=true

    var selection=new Array()
    selection[0]='<font face="ARIAL BLACK"><a href="http://www.javascriptfreecode.com">Order Our Stuff</a><br>'
    selection[1]='<a href="http://www.javascriptfreecode.com">Contact Us via E-mail</a><br>'
    selection[2]='<a href="http://www.javascriptfreecode.com">Help With Our Items</a><br>'
    selection[3]='<a href="http://www.javascriptfreecode.comm">Products We Have</a><br>'
    selection[4]='<a href="www.javascriptfreecode.com">Services We Offer</a><br></font>'

    if (document.layers)
    document.coffeemenu01.document.coffeemenu02.visibility='show'

    function dropit2(){
    if (document.all){
    coffeemenu03.style.left=document.body.scrollLeft+event.clientX-event.offsetX
    coffeemenu03.style.top=document.body.scrollTop+event.clientY-event.offsetY+18
    if (coffeemenu03.style.visibility=="hidden"){
    if (enableeffect)
    coffeemenu03.filters.revealTrans.apply()
    coffeemenu03.style.visibility="visible"
    if (enableeffect)
    coffeemenu03.filters.revealTrans.play()
    }
    else{
    hidemenu()
    }
    }
    }

    function dropit(e){
    if (document.coffeemenu03.visibility=="hide")
    document.coffeemenu03.visibility="show"
    else
    document.coffeemenu03.visibility="hide"
    document.coffeemenu03.left=e.pageX-e.layerX
    document.coffeemenu03.top=e.pageY-e.layerY+19
    return false
    }

    function hidemenu(){
    if (enableeffect)
    coffeemenu03.filters.revealTrans.stop()
    coffeemenu03.style.visibility="hidden"
    }

    function hidemenu2(){
    document.coffeemenu03.visibility="hide"
    }

    if (document.layers){
    document.coffeemenu01.document.coffeemenu02.captureEvents(Event.CLICK)
    document.coffeemenu01.document.coffeemenu02.onclick=dropit
    }
    else if (document.all)
    document.body.onclick=hidemenu

    </script>

    <div id="coffeemenu03" style="position:absolute;left:0;top:0;layer-background-color:#C0C0C0;background-color:#C0C0C0;width:200;visibility:hidden;border:2px solid black;padding:0px">
    <script language="JavaScript1.2">
    if (document.all)
    coffeemenu03.style.padding='4px'
    for (i=0;i<selection.length;i++)
    document.write(selection[i])
    </script>
    </div>
    <br />
    <br />
    <br />
    <br />

    <font face="Tahoma"><a target="_blank" href="http://www.javascriptfreecode.com/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font>
    <script language="JavaScript1.2">
    if (document.layers){
    document.coffeemenu03.captureEvents(Event.CLICK)
    document.coffeemenu03.onclick=hidemenu2
    }
    </script>


    <!-- END OF Drop Down DHTML -->
     
    Forum » Web Javascript » How to make menus in Java » How to make menus in Java
    Page 1 of 11
    Search:

    Copyright MyCorp © 2017 Website builderuCoz