Switch Account Widget
Page 1 of 1
Switch Account Widget
I'd like to customize this widget. As you can see on my website, my Switch Account widget is kind of hard to see and read. I'd like to customize this widget, but I need to know how without messing it up.
Here's my code:
Here's my code:
- Code:
<div align="center">
<script type="text/javascript">
function switch_accounts() {
jQuery.get(document.getElementById('logout').href, function() {
jQuery.post('/login', 'login=1&username='+document.getElementById('switch_uname').value+'&password='+document.getElementById('switch_pass').value, function () {
window.location.reload();
});
});
}
</script>
<hr />
<input type="text" id="switch_uname" /><br /> <input type="password" id="switch_pass" /><br /> <input type="button" onclick="switch_accounts();" value="Switch Accounts" /><br />
</div>
Landshark- Forumember
- Posts : 59
Reputation : 2
Language : English, Spanish
Similar topics
» Log-In/ Account-Switch Widget
» Account Switch (Widget) Issue
» Account Switch
» Add a "switch account" function.
» Help Deleting Forumotion Account when Admin refuses to turn it into Guest Account
» Account Switch (Widget) Issue
» Account Switch
» Add a "switch account" function.
» Help Deleting Forumotion Account when Admin refuses to turn it into Guest Account
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum