Jump to content

dsonesuk

Members
  • Content Count

    10,323
  • Joined

  • Last visited

  • Days Won

    58

dsonesuk last won the day on August 14

dsonesuk had the most liked content!

Community Reputation

866 Excellent

About dsonesuk

  • Rank
    w3schools Guru
  • Birthday July 15

Recent Profile Visitors

98,422 profile views
  1. setcookie expires = "; Remove semicolon Should be expires = "expires="+ d.toUTCString();
  2. Could you please stick with single SQL statement to get that to work, instead of introducing every sql statement you find on the internet, you'll never reach your goal if you continuously move the goal posts.
  3. And STILL! You have a id with a space between between the whole value, this is invalid it can be misread as referencing a child element after first part value separateed by space, as well as an element with this id never being accessible.
  4. Just one question, where's getcookie() function?
  5. dsonesuk

    Table Sort

    Depends? if looping through rows then columns, and retrieving value from that specific row and column.
  6. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Pull quotes 1</title> <style> body { font: 13px/1.5 arial, helvetica, sans-serif; } article { /*width: 500px*/; padding-left: 83px; border: 1px solid red; } article div{ } .pquote { float: left; width: 150px; background: #fff; font-weight: bold; padding: 0 13px; margin: 0 13px 13px -83px; color: red; text-align: center; } .pquote hr { color: red; height: 3px; background: red; margin: 0 33%;} blockquote { margin: 0; } </style> </head> <article><div> <p>If ever there was evidence of God, the humble pea is it.</p> <p>Mother Nature has never created something of such perfection, something that takes Darwin's theory of evolution to the extent that a natural element can, over millions of years, evolve into something so flawless.</p> <aside class="pquote"> <hr> <blockquote> <p>It is not an exaggeration to say that peas can be described as nothing less than perfect spheres of joy.</p> </blockquote> <hr> </aside> <p>The green seed of the white-flowering climbing leguminous papilionaceous plant, pisum sativum, has become a dining-table favourite for good reason.</p> <p>The perfect accompaniment to any meal, the diminutive spherical vegetable brings joy to billions worldwide, be they fresh, frozen, canned or dried.</p> <p>Even leaving aside the astounding nutritional package, the taste explosion and texture of a well cooked pea is undeniably enough to award this deceptively simple seed the gold-medal of the foodstuff Olympics.</p> <p>There is debate surrounding the tampering of the form of the original spherical vegetable. The question as to whether the 'mushy' pea is sacrilege or an innovative approach to re-package the perfect product is a sensitive issue. A similar argument arises when approaching the relatively new craze of mangetout. In-depth study is required, but for now it is too early to assess the true importance of this baby pea pod.</p> <p>In its original form, the pea is a giant amongst food products and a deity of the vegetable world. It is not an exaggeration to say that peas can be described as nothing less than perfect spheres of joy.</p> </div> </article> <!-- Link back to HTML Dog: --> <p><a href="http://www.htmldog.com/examples/"><img src="http://www.htmldog.com/badge1.gif" alt="HTML Dog"></a></p> </body> </html>
  7. <form role="search" id="searchform siq_searchForm" action="/search" method="get" class="radius-xl"> ??????? The console shows 4 errors and 1 warning, 1 error with undefined '$' and possible misplaced '}', unless you fix these it's unlikely any corrected code will work as it should.
  8. Its the wrong way round, img selector top that becomes default (without !important), .logo below will make it have precedence over just img selector.
  9. <form role="search" id="searchform siq_searchForm" action="/search" method="get" class="radius-xl"><div class="input-group"> <input id="searchbar" value="" name="s" type="search" placeholder="Type to search" autofocus="autofocus" /> <span class="input-group-btn"><button type="button" class="search-btn"><i class="fa fa-search"></i></button></span></div> </form> jQuery('#search > form > input[type="search"]').focus(); }); input with type="search" does not directly follow form elelment , a div with "input-group" class is before it, so it is first direct child it is not input type search so focus is not applied. '>' is first direct child, not including any children of that child.
  10. dsonesuk

    Accordion Issue

    Type attribute is no longer required.
  11. dsonesuk

    Accordion Issue

    Within html you have to identify what sort of code you are using with html script and css tags, while external files don't require such tags as they are not html. You can't have script tag within another script.
  12. You are passing the identity of the specific elements to process along with the function called to do the processing. The for loop curly braces start and finish after the first if conditioning and any code with [ i ] should be within those braces.
  13. Like funce said get the nodelist to work, then loop through them with for loop applying an event to each. The event function will use 'this' keyword to identify the current element that triggered the event.
  14. Probably not, but since "URLs can only be sent over the Internet using the ASCII character-set. Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format." You ideally should be filtering a url that gives you the same result, not sometimes one or the other.
×
×
  • Create New...