sn07
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Main menu is vertical in IE8Unfortunately I cannot as the site is local..is there any more info I can supply that would help?
Forum: Fixing WordPress
In reply to: How do I activate a button when click on a checkbox?Thanks very much. It helped put me in the right direction. I had to make a few changes as it did not find the function at first. However I found that I need to use the id everywhere and not the name. So the final code is
form-topic.php
<div class="bbp-submit-wrapper"> <form id="frm" name="frm"> <input type="checkbox" id="chk" name="chk" onClick="apply_submit()">Tick to accept <button type="submit" disabled="disabled" tabindex="<?php bbp_tab_index(); ?>" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button> </form>functions.php
<script type="text/javascript"> function apply_submit() { if(document.getElementById("chk").checked==true) { document.getElementById("bbp_topic_submit").removeAttribute("disabled"); } if(document.getElementById("chk").checked==false) { document.getElementById("bbp_topic_submit").setAttribute("disabled", "disabled"); } } </script>Forum: Fixing WordPress
In reply to: Switch from localhost to domain and then to another serverThanks yes. If I want to move from localhost to use the actual domain name of the server do I need to create a sub-directory within www and move the files into there?
In ‘If You Want Your Old Blog To Still Work’, it implies that you just need to change the WordPress and Site URL. However when moving from localhost to the domain name url on the same server I had to manually update links as well. Therefore will this also have to be done if moving to a different server?
Thanks