|
-
Apr 23rd, 2001, 01:29 PM
#1
Thread Starter
Addicted Member
OK, hang on, do you mean for you to click a button, and Internet Explorer suddenly pops up?
-
Apr 23rd, 2001, 03:17 PM
#2
Hyperactive Member
no, I just wanted a button on a web page that the user can use to return to the main page. I could always use a link, but I use buttons for a ton of other stuff and just wanted to have a consistent feel
-
Apr 23rd, 2001, 03:22 PM
#3
add this attribute to you button tag:
onclick="return go()"
and now this javascript
function go()
{
location.href "http://blah/link.html"
}
Oh and..
Roll Tide
-
Apr 23rd, 2001, 03:27 PM
#4
add this attribute to you button tag:
onclick="return go()"
and now this javascript
function go()
{
location.href "http://blah/link.html";
return true;
}
Oh and..
Roll Tide
-
Apr 23rd, 2001, 03:36 PM
#5
add this attribute to you button tag:
onclick="return go()"
and now this javascript
function go()
{
location.href "http://blah/link.html";
return true;
}
Oh and..
Roll Tide
-
Apr 24th, 2001, 06:37 AM
#6
Hyperactive Member
this also works:
Code:
<FORM METHOD="LINK" ACTION="mainpage.html">
<INPUT TYPE="submit" VALUE="click">
</FORM>
VB6.0 SP4
Windows 2000
I'm thinking of a number between
-
Apr 24th, 2001, 01:15 PM
#7
Hyperactive Member
thanks guys, I will try these
and Cander -
ROOOOOOOOOOOOOOOOOOLLLLLLL TIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDE!
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
|