DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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.

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links