Jump to content

Search the Community

Showing results for tags 'jscript'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Found 6 results

  1. Hello. I am using a bootstrap responsive ecommerce template. The filter buttons work great! BUT, if you click on a "card" or even on the background, the outline around the button disappears. This is a problem that the original W3 example doesn't have. Any ideas would be greatly appreciated. Here is the original: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_portfolio_gallery_filter Here is mine: Here is the page: http://help.cccis.com/static/ccc_one/ELCTraining/EstWorkRO.html Here is the filter buttons: <div id="myBtnContainer"> &l
  2. https://www.w3schools.com/js/js_break.asp below heading: JavaScript Labels "The continue statement (with or without a label reference) can only be used to skip one loop iteration." - this description is not correct "The continue statement (with or without a label reference) can only be used to skip all or the remainder of one loop iteration." - this description is more accurate
  3. Hi Is there a shorter way of writing the following code. (data === "item1" || data === "item2" || data === "item3" || data === "item4") like (data === "item1" to data === "item4") as my list will be over 100 items. Cheers Heres a jsfiddle with the code in it http://jsfiddle.net/8mw1s2zj/6/ Please note this only has to work on IE11 and be jscript. Here is the piece of code var list=document.querySelectorAll("#dragsource li"); for(i=0;i<list.length;i++){ list.draggable=true; list.ondragstart=function(event){ var event=event||w
  4. UPDATE - Drag & Drop is working But need dropped item to be invisable. Again this was working, code in css #fruit > * { display: none; } Code done for each box New jsfiddle -jsfiddle.net/eru2mc2k/1/ Hi My first post here so hope I've posted everything correct. My drag & drop was working fine until I added the following code in script. shuffleList(); function shuffleList(){ var origList = $("#dragsource li").detach(); var newList = origList.clone(); for(var i=0; i<newList.length; i++) { var randomIndex = randomInt(newList.length - i); newList[i] = origList.splice
  5. On my website the slider is not working as desired. The website is www.dancecityperformingarts.com When you click on the name of the dance class the slider moves, but does not move to the page that has the dance class description. It stays at the picture with the business description. When you click on the "details" portion, it takes you to the page that has the correct class description, but the slider does not move to the correct picture. Can anyone tell me if this can be corrected, and if yes, how to correct. I am very new to coding, and I apologize if this is phrased inco
  6. Please forgive me, I'm new at this and old, so the going is slow. 1. If you place multiple functions in .js file, can a functions overwrite or negate other functions? If so, is there special designation that need to be placed in .js file. I'm having trouble with functions not working on the webpage like buttons not working correctly after adding a another function. (I'm not on a live webpage - just learning) 2. Are js files exclusively for functions? Can other things be placed in a .js file besides code that start with function because I've tried other things like example below and co
  • Create New...