Jump to content

useless line in PW bar


durangod

Recommended Posts

Guess ill just cover it with a fieldarea, prob not much i can do about it since its prob some conflict between image and text in js parsing..

 

<td width="260" class="fieldarea"><script language="JavaScript" type="text/javascript">showStrengthBar();</script></td>

Link to comment
Share on other sites

here is what i came up with, when i hide it in grey back you could still see it so i did it this way

 

 

portal/clientregister.tpl

 

<td width="260" class="fieldarea"><script language="JavaScript" type="text/javascript">showStrengthBar();</script></td>

 

includes/jscript/pwstrength.js

document.write('<table align="center"><tr><td style="background-color:#000000;color:#FFFFFF;"> '+langPasswordStrength+': </td>
<td width="102"><div id="pwstrengthpos" style="position:relative;float:left;width:0px;background-color:#33CC00;border:1px solid #000;border-right:0px;"> </div>
<div id="pwstrengthneg" style="position:relative;float:right;width:100px;background-color:#efefef;border:1px solid #000;border-left:0px;"> </div></td>
<td style="background-color:#000000;color:#bf9410;"><div id="pwstrength">'+langPasswordWeak+'</div></td></tr></table>'); 

 

here is what it looks like for registration (remember this code also affects your view cart so check that too)

 

pwssample.jpg

Link to comment
Share on other sites

actually i changed my mind, i want it a light blue to match my background of the member area. I just noticed that the line is not on my view cart page, just on the registration page, so that means its not comming from the js file at all because they both use the same js file.. It has to be the css only for the reg page that is causeing this.... i shall get my shovel and dig lol...

Link to comment
Share on other sites

i guess it was comming from the js afterall, had to adjust some widths and remove some code and add some other code but i finally got rid of the line..

 

document.write('<table align="center"><tr><td style="background-color:#4484e4;color:#FFFFFF;border:0px;">'+langPasswordStrength+':</td><td width="102"><div id="pwstrengthpos" style="position:relative;float:left;width:0px;background-color:#33CC00;border:0px;"> </div><div id="pwstrengthneg" style="position:relative;float:right;width:102px;background-color:#efefef;border:0px;"> </div></td><td style="background-color:#4484e4;color:#e3b938;border:0px;"><div id="pwstrength">'+langPasswordWeak+'</div></td></tr></table>'); 

 

see image

 

noline.jpg

Edited by durangod
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated