Jump to content

shaili_shah

Members
  • Content Count

    64
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About shaili_shah

  • Rank
    Newbie

Contact Methods

  • Website URL
    https://www.ifourtechnolab.com

Profile Information

  • Location
    Ahmedabad

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. First of all there is a css style given to <button class="dropbtn">meny</button>. In which there is the text color is white and back color is black. And given the padding. There is also css style is given to dropdown and dropdown-content. Now this class .dropdown-content a { is given for the anchor tag style. .dropdown-content a:hover {background-color: white;} when you take your cursor over the anchor tag it's back color will be white. .dropdown:hover .dropdown-content {display: block;} same as here, when hover over the dropdown it'll display in the block. .dropdown:hover .dropbtn {background-color: grey;} and when you hover over the dropdown button it's back color will be grey. I hope you'll understand it.😅 If there is any question to ask then free to ask me. Thanks!
  2. Hii, There is just writing problem. You just use " href " instead of " ref ". <li class="itemnav"><a href="index.html">inicio</a></li> Now it'll work 🙂. Thanks!
  3. Use Outline-offset property of css. hope it helps you. Thanks!
  4. I think that you want to open it by default ? So for that use this class="collapse show" , it'll by default open collapsible group. I hope this'll help you. Thanks!
  5. So you can use this css : position: relative; left: 100%; top: 0; Hope it'll help. Thanks!
  6. Sorry , I didn't understand your question. But I say as much as I understand. You should link your css in html document using <Link> tag. Or put your css under the <head> tag in <Style> tag. I think that's the problem. Thanks!
  7. You can use '' mouseover '' event of jquery. $('.dropdown-submenu a.test').mouseover(function(e){ I hope this will help you. Thanks!
  8. <body> <form id="form1"> <select onchange="location = this.value;"> <option value="Home.html" >Home</option> <option value="About.html" >About</option> </select> </form> </body> I hope you'll get this. Thanks !
  9. You can use " position: fixed; " of css property. It will fix your navbar. I hope this will help you.
  10. shaili_shah

    Darkmode

    I am unclear about your question. But the more I understood, the more I would explain. Here is my code for darkmode option. Example : <style> body { padding: 25px; background-color: white; color: black; font-size: 25px; } .dark-mode { background-color: black; color: white; } </style> <body> <h2>Dark mode</h2> <p>tap the button.</p> <button onclick="myFunction()">dark mode</button> <script> function myFunction() { var element = document.body; element.classList.toggle("dark-mode"); } </script> </body> I hope you'll understand. If you have any doubt then you can freely ask. Thank You.
  11. Hii Matija. okay, so you meant that you just want to copy cell value when button is clilcked. I have written the code on jsfiddle. refere this : https://jsfiddle.net/p9j623ob/8/ I hope now you will understand the code. If you do so let me know. Thank you.
  12. As you said i have written some code here it is. function copy() { var copyText = document.getElementById("myInput"); copyText.select(); document.execCommand("copy"); alert("Copied the text: " + copyText.value); } <form action="https://www.w3docs.com/" method="get" target="_blank"> <input type="text" value="Hello World" id="myInput"> <button onclick="copy()">Copy text</button> </form> I hope it'll be helpful to you.
  13. function myFunction() { var hostip = location.host; document.getElementById("videohls").innerHTML = hostip ; var url = " http:// "+ hostip + /"1.m3u8 "; $("#id-of-video-tag> source").attr("src", url);} I think this will work. Hope this will help you.
  14. Yes you can use onclick event as <asp:RadioButton ID="chkNo" Text="No" runat="server" onclick="fn()" /> you can add your own function. After this you can use the JavaScript to define function. <script type="text/javascript"> function fn() { alert("I have clicked no button"); } </script> i hope you will understand.
  15. You can include file as : <!-- #include file="somefilename" --> you have to place include directive inside the comment tags. Hope this'll help you.
×
×
  • Create New...