Cant make a button to work (PLZ HLP!)


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Cant make a button to work (PLZ HLP!)

  1. #1
    Join Date
    Nov 2004
    Posts
    1

    Cant make a button to work (PLZ HLP!)

    The idea was to make 2 other buttons appear, when i press the 'home' button, however for some weird reason it doesnt happen. Plz HELP!

    Heres the code

    <TR>
    <TD>
    <DIV id = "menu1" style = "position:relative; z-index:5;">
    <A href = "#" onMouseOver = "changeStatusBar('about'); return true;" onClick = "changeState('menu1')">
    <IMG src = "http://ish.xs4all.nl/~2100/Assmeble your own computer/images/menu/ButtonForMenuHome.jpg" border = 0>
    </A>
    </DIV>
    <DIV id = "submenu1" style = "position:relative; left:5; z-index:10; display:none;">
    <A href ="#" onMouseOver = "changeStatusBar('main'); return true;" onClick = "parent.main.location.href = 'http://ish.xs4all.nl/~2100/main.html';">
    <IMG src = "http://ish.xs4all.nl/~2100/Assmeble your own computer/images/menu/ButtonForMenuFirstPage.jpg" border = 0>
    </A>
    <A href ="#" onMouseOver = "changeStatusBar('sitemap'); return true;" onClick = "parent.main.location.href = 'http://www.google.com';">
    <IMG src = "http://ish.xs4all.nl/~2100/Assmeble your own computer/images/menu/buttonForSubmenuSitemap.jpg" border = 0>
    </A>
    </DIV>
    </TD>
    </TR>

    Thanx!

    U can see this if u go to my website and press either of the buttons there.

  2. #2
    Join Date
    Sep 2004
    Posts
    150
    This looks like HTML and Javascript. This has nothing to do with Java the programming language.

    I'd recommend looking at a javascript forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center