Reputation Activity
-
Hi,
Some new members are finding it difficult posting new topics/replies with the current "You need 25 posts/topics to create links" limit in please, the module we purchased to police this is very buggy e.g. members can't post smilies and even code snippets, which is just ridiculous, and clearly this needs to change...
So we're running a trial where we'll be removing this limit and test if it has any affects on spam here on the forum, I think many members here are vigilant when it comes to reporting spam and letting us know by using the "report post" button on anything dodgey, which we're all thankful for, plus with the addition to 3 new moderators, we're much better equipped at handling any suspicious/spammy content.
We've also created a new forum here on WDF tailored specifically for WordPress - http://wdf.co/wordpress
It seems to make sense as we're getting WordPress related posts frequently, but posted all over the forum, so hopefully this should provide a central location to discuss any WordPress related queries people may have.
Stay tuned for more updates coming soon.
-
jimmymustang got a reaction from Duan_D in Please help my to add a calculator to my website - pretty please!Here is a link to what helped me:
http://www.webdesignerforum.co.uk/topic/69247-i-need-help-i-need-a-simple-calculator-for-my-website/
-
jimmymustang got a reaction from Wynn in Thank You WDF members!Thanks to WDF members Lyndsey, CSN-UK and Wynn the page I was struggling with will be up and running in no time!
Deepest Gratitude!
-
jimmymustang got a reaction from Lyndsey in Thank You WDF members!I just want to say thanks to everybody on WDF!!!
Everyone here has been so nice and helpful with all of my newbie questions!
Jimmy
-
jimmymustang got a reaction from teodora in Thank You WDF members!I just want to say thanks to everybody on WDF!!!
Everyone here has been so nice and helpful with all of my newbie questions!
Jimmy
-
jimmymustang got a reaction from Jo 90 in Thank You WDF members!I just want to say thanks to everybody on WDF!!!
Everyone here has been so nice and helpful with all of my newbie questions!
Jimmy
-
Hi Jimmy,
Could you post your .html file code as you have it in Dreamweaver onto here for us to take a look at?, it will certainly help in getting you an answer both now and for future posts. Ensure you use the code option when posting (<> icon) though.
Also I've made some slight modifications to the code Lyndsey provided to ensure the code runs when your page loads, as it appears JSfiddle was providing this for Lyndsey, you also need to include the other line below as jQuery is required.
I've included a complete up-to-date example below that will work.
Tip - You will notice the JavaScript is at the bottom of the page as opposed to the top, this is the best place for your JavaScript as it will allow your page to load more rapidly before loading the JavaScript and is often advised.
Required to include jQuery in your file.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> Up-To-Date Version:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <select class="sel" id="sel1"> <option value=""> Select a Value... </option> <option value="10"> 10 </option> <option value="20"> 20 </option> </select> <select class="sel" id="sel2"> <option value=""> Select a Value... </option> <option value="70"> 70 </option> <option value="80"> 80 </option> </select> <input type="checkbox" value="50" name="myChk" id="myChk" /> Add Service (50) <br /> Total: <span id="total"> </span> </body> </html> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="application/javascript"> $(document).ready(function() { var totalElement = $('#total'); $('.sel').on('change', function() { totalElement.html( parseInt($('#sel1').val()) + parseInt($('#sel2').val()) ); }); $('#myChk').click(function() { if($(this).is(':checked')) { totalElement.html(parseInt(totalElement.html()) + parseInt($(this).val())); } else { totalElement.html(parseInt(totalElement.html()) - parseInt($(this).val())); }; }); }); </script> Hopefully that helps
-
jimmymustang reacted to Lyndsey in Please help my to add a calculator to my website - pretty please!How about something like this? http://jsfiddle.net/LyndseyB/GJLCF/.
Hope it's useful