Showing posts with label displayed. Show all posts
Showing posts with label displayed. Show all posts

Monday, March 26, 2012

set default login name

i want to set the default login name for user, i.e. each time the user use
the application, the login name would be displayed in advance and user only
need to input the password. how to do that'
million thanks..That depends, is this user creating an account.
Does the username exists already.
Is the username the same for all users or different for each user.
I'm assuming that the user has already got an account, and returning to the
site.
The way you can make the site remember a user is with cookies.
You set the cookie when the user logs in. Then whenever the page loads, it
looks of that cookie exists and if so, sets the users username in the
username textbox
"Grey" <erickwyum@.i-cable.com> wrote in message
news:%234sQC77nEHA.2808@.TK2MSFTNGP10.phx.gbl...
>i want to set the default login name for user, i.e. each time the user use
> the application, the login name would be displayed in advance and user
> only
> need to input the password. how to do that'
> million thanks..
>

Tuesday, March 13, 2012

Set page scroll position to top of page?

How can I specify the scroll position of a web page?
When my web page is reloaded I change what is being displayed in aframe on the page -- it is a long frame -- I would like to set thescroll position to be at the top of the page so that a web form isvisible.
anyone know how this can be done?
THX,
Usually when a web page is reloaded, the default behavior is that the scroll bars get reset to the top position. I would check if SmartNavigation is on. This may be causing the problem.
hope this helps,
sivilian

Hi sivilian, my requirement is to set the sidebar horizontally above the wizard instead of displaying vertically left side of the wizard.

Its possibe? if possible hiow?

thanks in advance.


use javascript

function ResetScroll()

{

window.scrollTo(0,0);

}

on the body tag add onload="ResetScroll()"

Happy Coding