Results 1 to 2 of 2

Thread: Navigating to website

  1. #1

    Thread Starter
    Hyperactive Member StreaksAthlete's Avatar
    Join Date
    Sep 2004
    Posts
    348

    Exclamation Navigating to website

    on my asp.net page, i have an inline frame and a commad button. When i press the command button, i want the inline frame to navigate to a website(http://www.gamespot.com)
    What is the code to do that? PLEASE & THANK YOU
    Unity Programs™ - Downloads To Make Your Computer Life Easier - UnityPrograms.com, check it out
    My small company, I need feedback.


    If someone's post was useful, don't forget to Rate It by clicking the Rate This Post link under the avatar.
    If this post has been resolved. Please mark it as Resolved by going through the Thread Tools above and clicking on the Mark Thread Resolved option.
    We ride together, We die together, .NET for life. - Working With Visual Studio.NET 2005

    Application Deployment, General Developer Forum, Visual Basic .NET

  2. #2
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345

    Re: Navigating to website

    If, for instance, the name of the frame was 'frmGameSpot' you could use this Javscript:
    Code:
    <input type=button value="Click me" onclick="document.getElementById('frmGameSpot').location = 'http://www.gamespot.com';" />

Posting Permissions

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



Click Here to Expand Forum to Full Width