Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 360voice.com
 XML/APIs
 Need help with something

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Insert Smilie
   
Message:

* HTML is OFF
* Forum Code is ON

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AngryFacing Posted - May 11 2008 : 09:18:31 AM
Ok i am the maker of the 360 tool bar, now i want to know one thing.
How do i make a text bar that when i enter my gamertag in there and press submit, it brings me to http://www.360voice.com/tag/(TAG HERE)

Thanks.
1   L A T E S T    R E P L I E S    (Newest First)
TX Eegras Posted - May 11 2008 : 09:24:36 AM
Well, there are many ways to do this. If you want a text field (like the search bar above) then I would try Javascript.


<script type="text/javascript">
function go_to_voice (tag)
{
document.location='http://www.360voice.com/tag/'+tag;
}
</script>
<input type="text" id="gamertag" />
<input type="button" value="Go!" onclick="go_to_voice(document.getElementById('gamertag').value)" />


That should work. Might even be able to simplify it to 2 lines:



<input type="text" id="gamertag" />
<input type="button" value="Go!" 
onclick="document.location='http://www.360voice.com/tag/'+document.getElementById('gamertag').value" />


I don't know if the latter will work.

360voice Community © 2006 360voice.com Go To Top Of Page
Snitz Forums 2000