durangod Posted June 11, 2014 Share Posted June 11, 2014 now if i can just get rid of this useless line in the PW strength bar i might just be able to get some rest.. 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted June 11, 2014 Author Share Posted June 11, 2014 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> 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted June 11, 2014 Author Share Posted June 11, 2014 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) 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted June 11, 2014 Share Posted June 11, 2014 why don't you use CSS to remove this border instead of editing your template files, adding background to it? 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted June 11, 2014 Author Share Posted June 11, 2014 i did, i first tried the same color, but it looked funky, i tried several things, but finally ended up with that. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted June 11, 2014 Share Posted June 11, 2014 PM me with your website let me check if you want 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted June 12, 2014 Author Share Posted June 12, 2014 well im content for the time being with the way it looks, i might change color but atleast the line is not seen now. But i will pm me with another question i have css wize regarding a line seperator issue. Thanks.. 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted June 12, 2014 Author Share Posted June 12, 2014 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... 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted June 12, 2014 Author Share Posted June 12, 2014 (edited) 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 Edited June 12, 2014 by durangod 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.