We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7084
    • 17 Posts
    I have a few questions in regards to the "WebLogin 1.0" snippet.

    All questions relate to our website:
    http://www.sentai.com

    #1 - SOLVED (Upgraded to version 1.3.0)

    I placed the Weblogin code on the front page and as soon as the page loads, the text field becomes active (onfocus?) and scrolls the page down to the text field in the login form. I need this to be "unactive" so that the page does not scroll. How do I make the change??? I tried for almost a week now to resolve this but to no success.

    You can test this out by reducing your screen (800x600 will do) and you will notice that as soon as the page loads, it scrolls down to the first form field being active

    #2

    How do I make changes to the style (CSS) for all Weblogin Forms create on our website?
    I looked at the code but nothing refers to CSS. I tried to include a CSS path but still no success ...

    I appreciate your help!
    Thank you.
      • 7084
      • 17 Posts
      I solved #1 by upgrading to version 1.3.0 which fixed the issue.

      Still wondering how I can fix the CSS issue.
      Thanks!
        • 7231
        • 4,205 Posts
        I am not familiar with WebloginPE specifically, but by looking at the code you should be able to style the form as you would any other. Since all elements have an ID you could style them individually but I would go for something like:
        #wlpeLoginForm {put style here;}
        #wlpeLoginForm fieldset {put style here;}
        #wlpeLoginForm legend {put style here;}
        #wlpeLoginForm select {put style here;}
        #wlpeLoginForm button {put style here;}


        Here is a nice tutorial for styling forms:
        http://www.webcredible.co.uk/user-friendly-resources/css/css-forms.shtml

        and another:
        http://www.sitepoint.com/article/fancy-form-design-css

        And here are some examples:
        http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/

        BTW - that is a nice looking site you are working on. Very nice laugh
          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]
          • 4310
          • 2,310 Posts
          Mesmerizing flash menu on the home page.