DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: Link Advice

  1. #1
    Join Date
    Feb 2003
    Posts
    1

    Link Advice

    Could some kind soul help a complete Java newbie ?

    I am trying to modify the following line generated by the Xara Webstyle:
    writeButton(loc+"","afv_gmn.htm","g_topb1",158,19,"GERMAN AFRICA KORPS","_main",0);

    If I have got this right the above line links the button `GERMAN AFRIFCA KORPS` to the page `afv_gmn.htm` in a frame called `_main`

    What Iwant to do is to go to a
    specific target/bookmark within
    `afv_gmn.htm`

    How do I need to modify the line?

    Sorry for being longwinded but I am new to this posting
    lark.

    Steveb

  2. #2
    Join Date
    Mar 2003
    Posts
    32
    What you do is where the link is, after that you put a number sign and then the name of the bookmark. For example, if the bookmark was named TOC, this is what the code should look like:

    writeButton(loc+"","afv_gmn.htm#TOC","g_topb1",158,19,"GERMAN AFRICA KORPS","_main",0);
    - Master Of Souls
    "Weeks of coding can save hours of planning."


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