Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  

Recommended Posts

milos95zr    0

Since I'm not a programmer, I would like to if someone could give me a script for the following application:

Colors:

black means label/text

red means textbox

blue means button

www.site.com/dir/client_ v3.0.swf Navigate.

so when i click "Navigate" button, it navigates me to the following url: www.site.com/dir/client_textboxversion.swf

Thanks!

Share this post


Link to post
Share on other sites

milos95zr    0

no, I meant php or html...

i need a simple form, like adress bar- with textbox and navigate button which can redirect me to client.swf(like a simple webpage)

Share this post


Link to post
Share on other sites
allen2    1

This html code should help you you just need to adapt to your needs.

<HTML>
<HEAD>

<script LANGUAGE="JavaScript">

function go() {
var url=document.Navigate.titi.value;
document.location.href="http://www.google.Fr/search?q=" + url ;
}


</SCRIPT>


</HEAD>
<BODY bgcolor="#FFFFFF">
<FORM name="Navigate">

Text: <input type=text name="titi" >

<INPUT type="button" name="Navigate" value="Navigate" onClick="go();">

</FORM>

</BODY>
</HTML>

Edited by allen2

Share this post


Link to post
Share on other sites
milos95zr    0

This html code should help you you just need to adapt to your needs.

<HTML>
<HEAD>

<script LANGUAGE="JavaScript">

function go() {
var url=document.Navigate.titi.value;
document.location.href="http://www.google.Fr/search?q=" + url ;
}


</SCRIPT>


</HEAD>
<BODY bgcolor="#FFFFFF">
<FORM name="Navigate">

Text: <input type=text name="titi" >

<INPUT type="button" name="Navigate" value="Navigate" onClick="go();">

</FORM>

</BODY>
</HTML>

Thanks! I've done it. It works. :thumbup

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×