|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Reach for those stars!
Industry Role:
Join Date: Apr 2003
Location: Vancouver, BC
Posts: 17,991
|
Hey script kiddies, I need a little assistance here. I am having a complete brain fart on getting this button done. It is a simple username entry field and a submit button, and then the onClick passes the entered text to the end of the url string for the new window the button opens.
Any help would be much appreciated.
__________________
email: [email protected] |
|
|
|
|
|
#2 |
|
Reach for those stars!
Industry Role:
Join Date: Apr 2003
Location: Vancouver, BC
Posts: 17,991
|
no takers?
__________________
email: [email protected] |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Jul 2004
Location: Ontario, Canada
Posts: 946
|
using a method="GET" on the form will pass the form fields in the query string
does that deserve a " I <3 Amateur Series! " fansign? ![]() |
|
|
|
|
|
#4 | |
|
Reach for those stars!
Industry Role:
Join Date: Apr 2003
Location: Vancouver, BC
Posts: 17,991
|
Quote:
__________________
email: [email protected] |
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Jul 2004
Location: Ontario, Canada
Posts: 946
|
no onClick handling needed if i'm understanding what you want correctly
|
|
|
|
|
|
#6 |
|
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
|
here you go
HEAD: <script language="JavaScript"> function openwin() { var arg = document.thisform.username.value; var url = 'http://www.yourdomain.com/'+ arg; window.open(url, 'mywindow', 'width=400,height=200,toolbar=yes,location=yes,dir ectories=yes,status=yes,menubar=yes,scrollbars=yes ,copyhistory=yes,resizable=yes'); } </script> ---- BODY: <form name=thisform> <input id=text type=text name=username value=""> <input type="Button" name=submit value=enter onclick="openwin();"> </form>
__________________
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Jul 2004
Location: Ontario, Canada
Posts: 946
|
not sure what you want then
|
|
|
|
|
|
#8 | |
|
Reach for those stars!
Industry Role:
Join Date: Apr 2003
Location: Vancouver, BC
Posts: 17,991
|
Quote:
__________________
email: [email protected] |
|
|
|
|
|
|
#9 |
|
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
|
PS in the input tag no need for id argument ;)
__________________
|
|
|
|
|
|
#10 | |
|
Confirmed User
Join Date: Apr 2002
Location: Houston
Posts: 5,651
|
Quote:
|
|
|
|
|
|
|
#11 | |
|
Reach for those stars!
Industry Role:
Join Date: Apr 2003
Location: Vancouver, BC
Posts: 17,991
|
Quote:
8chars
__________________
email: [email protected] |
|
|
|
|
|
|
#12 | |
|
Confirmed User
Join Date: Jul 2004
Location: Ontario, Canada
Posts: 946
|
Quote:
|
|
|
|
|
|
|
#13 | |
|
Reach for those stars!
Industry Role:
Join Date: Apr 2003
Location: Vancouver, BC
Posts: 17,991
|
Quote:
I'm not. ;)
__________________
email: [email protected] |
|
|
|
|
|
|
#14 | |
|
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
|
Quote:
Hit me up if you need anything else, i'm not a pro but i know few things here and there
__________________
|
|
|
|
|
|
|
#15 | |
|
Confirmed User
Join Date: Jul 2004
Location: Ontario, Canada
Posts: 946
|
Quote:
What can I say... I wanted to be your "HERO" ![]() |
|
|
|
|
|
|
#16 | |
|
Reach for those stars!
Industry Role:
Join Date: Apr 2003
Location: Vancouver, BC
Posts: 17,991
|
Quote:
__________________
email: [email protected] |
|
|
|
|
|
|
#17 | |
|
Reach for those stars!
Industry Role:
Join Date: Apr 2003
Location: Vancouver, BC
Posts: 17,991
|
Quote:
Is that a six digit ICQ number? Dude.
__________________
email: [email protected] |
|
|
|
|
|
|
#18 | |
|
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
|
Quote:
__________________
|
|
|
|
|