By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,867 Members | 1,981 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,867 IT Pros & Developers. It's quick & easy.

Multi language web site with ASP 3.0

P: 1
What I am trying to achieve is as follow:
I have an entry page on my web site that select the language;
That leads to a welcome page where I have some text and images that change based on the language selection. (No problem here)
I also have a log in form (email, password) with plenty of CSS in it that should change as well. (BIG problem here!!)
I tried this lines of code but as expected did not work and returned error.
Expand|Select|Wrap|Line Numbers
  1. <DIV class="LOGIN">
  2. <%
  3. language=Request.form("language")
  4. languageWhere=""
  5.  
  6. if language="ITA" then
  7. Response.Write "<FORM ACTION='login_action.asp' METHOD='post'>
  8. <DIV class='textboxid'>
  9. <input type='email' id='email' class='large' required='required' placeholder='Enter your email' style='width:300px;'>
  10. </DIV>
  11. <DIV class='textboxid'>
  12. <input type='password' id='textboxid' class='large' required='required' placeholder='Enter your password' style='width:300px;'>
  13. </DIV>
  14.  <DIV class='cb'>
  15.             <input type='checkbox' id='remember' name='remember'>
  16.             <label for='remember'>remember my email in this computer</label>
  17.         </div>
  18. <a href='send_password.asp' class='testo'>Ho dimenticato la password</a>
  19. <DIV>
  20. <input type='submit' value='ENTER' class='button'> 
  21. </DIV>
  22. </FORM>"
  23. end if
  24. %>
  25. </DIV>
  26.  
Any suggestion or advice (beside giving up programming...)?
Thank you in advance for the patience, understanding and kindness!
Cheers
Valter
Mar 9 '15 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.