|
-
Jun 15th, 2005, 01:13 PM
#1
Thread Starter
Hyperactive Member
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
-
Jun 15th, 2005, 01:28 PM
#2
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|