Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 3rd, 2005, 11:17 AM   #1
arod199113
Programmer
 
arod199113's Avatar
 
Join Date: Feb 2005
Posts: 86
Rep Power: 0 arod199113 is an unknown quantity at this point
an address bar(sort of)

if you go to http://www.w3schools.com/html/tryit....=tryhtml_basic in another tab or window it will be easier to understand what im trying to ask

<html>
<body>
<b>Address:</b>
<input type="text" name="URL">
<input type="button" value="Enter">
</form>
</body>
</html>
thats the code i have for what i want, its very simple.
if you go to the link and paste the code in the box, it will show you what it looks like
i want someone to be able to enter in the address of a website in there and when they hit "enter" it goes
if u dont understand what im asking then say that im not specific enough, but i think its self explanitory
arod199113 is offline   Reply With Quote
Old Sep 3rd, 2005, 11:29 AM   #2
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
please do not double post.
Polyphemus_ is offline   Reply With Quote
Old Sep 3rd, 2005, 11:43 PM   #3
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
You need a javascript jump menu. Google for that, and there's one built into dreamweaver if you have that
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Old Sep 4th, 2005, 12:33 AM   #4
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
You mean a page within a page? Try an IFRAME
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Sep 8th, 2005, 4:25 AM   #5
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Not sure if this is what you're looking for, but this code uses javascript to achieve what I think you're describing. Basically, the person enters a URL into the text box, clicks on Enter, and then the window travels to that particular URL.

<html>
	<body>
		<b>Address:</b>
		<input type="text" name="address">
		<input type="button" value="Enter" onClick="location.href=address.value">
	</body>
</html>

Hope this helps.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old Sep 8th, 2005, 4:49 AM   #6
ViOLATiON
Programmer
 
Join Date: Sep 2005
Posts: 58
Rep Power: 3 ViOLATiON is on a distinguished road
Quote:
Originally Posted by grimpirate
Not sure if this is what you're looking for, but this code uses javascript to achieve what I think you're describing. Basically, the person enters a URL into the text box, clicks on Enter, and then the window travels to that particular URL.

<html>
	<body>
		<b>Address:</b>
		<input type="text" name="address">
		<input type="button" value="Enter" onClick="location.href=address.value">
	</body>
</html>

Hope this helps.
That's the exact same thing I got out of it, but I have a question. Why would you want to do this?
ViOLATiON is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:24 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC