Jump to content

dsonesuk

Members
  • Content count

    9,408
  • Joined

  • Last visited

  • Days Won

    7

dsonesuk last won the day on April 6

dsonesuk had the most liked content!

Community Reputation

774 Excellent

7 Followers

About dsonesuk

  • Rank
    w3schools Guru
  • Birthday July 15

Recent Profile Visitors

91,200 profile views
  1. Get Checkbox Data error

    <?php $stove=""; if(isset($_POST['stove'])){ $stove=$_POST['stove']; }
  2. Matomo: async, defer, and insertBefore()

    They may be read and executed, but a executed code may not completely finish before other code is executed. Unless you specifically create the code to run after the previous is completed. The jQuery ready( ) function acts as a onload event itself and is mainly used for presetting, manipulation of elements, and adding events to specific elements after the pages html has been fully rendered.
  3. Modals with combo boxes

    You have missed closing div's for second modal, the btn1 still refers to first class 'close' found using index of 0, the 'bin' variable which has onclick event in second modal code, should be 'bin1'. You also need to reduce number of window.onclick events to 1, and add 'else if' condition to check for modal1 target event.
  4. CSS Required Field X Not Displaying Properly

    Try given it overflow: visible; or increase padding so is shows completely within the container.
  5. As far as the parent knows it has no content, because using position: absolute for child element takes it out of the flow from other elements. They will collapse, or attempt to fill the space left by these elements. The parent has no height and now no width because you are using float, which causes the element to shrink to content which as stated above does not exist. So all child element are moved now to the right, moving content from just inside the parent right edge outwards beyond the right edge. The child elements will overlap each other as well. ARE you sure you don't have an option? you see what you have to consider and issue you have to endure using position: absolute.
  6. Populating link with combo box values

    Depends when you want it to change? On selection of 'calendar' Or on button click. On selection, requires you add onchange event to mySelect2 element, then check value, if true go to mySelect3 value/text directly using index for option element OR a 'for' loop, looping through each option then change when value/text matches. This option means the user will see the text/value of 'docx' for selection. On button click, the text/value of mySelect2 element is checked, if equals 'calendar', the value/text of mySelect3 is changed, the user will not see change take place. Note: You should avoid spaces in file names, as this can be problematic, I suggest you use hyphens '-', this is still readable by SEO. So not a case of simply saying it!
  7. Php.ini file?

    There are three main types of SSL and depending on type of website site you plan on having, determines the type of SSL you should use. See the bottom of this host certificate page on types and what they are used for. https://www.1and1.co.uk/ssl-certificate
  8. How to overwrite list style

    You can't then, unless you lose the option to create bootstrap menu with current used classes.
  9. list-style-image

    Create a element to apply background-image, with height and width. The two option would be to use a span or content: textual element, and use position: absolute; left, top properties within a position: relative list item.
  10. How to overwrite list style

    Remove those classes, that would remove the bullets or add your custom class so it has higher precedence over the current classes <ul class="show_bullets menu nav"> <li class="first leaf active-trail visited active"><a href="">nnnn</a></li> <li class="leaf"><a href="">xxxxxx</a></li> </ul> .show_bullets.nav { list-style: initial; padding-left: 40px; } ul.show_bullets li.collapsed, ul.show_bullets li.expanded, ul.show_bullets li.leaf { display: list-item; list-style: initial; }
  11. list-style-image

    It would be better to use a background image, if you what to change the size.
  12. Language Problem

    if the content is from database that hold French content. It just needs an identifier to switch to French content and could use the same php file. Some CMS systems have language files for commonly used words, like 'Name' and 'Address' for example, these would have there French equivalent words, so when 'French' website is selected it would use 'Name' as a key to show 'Nom' and 'Address' key to show 'Adresse'.
  13. Language Problem

    You can use google translate or similar, but! the downside is its not perfect. The other option is to use maybe a sub-domain such as fr.yoursitename.com, this will be manually edited to reflect a totally French language site, then by clicking a language link on both, you will taken to one or the other.
  14. Language Problem

    MS Notepad: click 'Save As...' from File tab, the 'Save As' window will open, at the bottom you should see Encoding: and by default will show 'ANSI', click dropdown arrow and select 'UTF-8', then save. Note: Using Notepad++, would do this automatically, and is much better than MS Notepad.
  15. Language Problem

    (1) Make sure you save files using UTF-8 encoding. (2) Make sure the meta tag charset is set to use UTF-8. https://www.w3schools.com/tags/att_meta_charset.asp (3) Make sure, if content from database, that the fields are set to use UTF-8.
×