shaili_shah
Members-
Posts
111 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Everything posted by shaili_shah
-
How to make the first collapse group fold in?
shaili_shah replied to Joris Van Bossche's topic in HTML/XHTML
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! -
So you can use this css : position: relative; left: 100%; top: 0; Hope it'll help. Thanks!
-
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!
-
You can use '' mouseover '' event of jquery. $('.dropdown-submenu a.test').mouseover(function(e){ I hope this will help you. Thanks!
-
<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 !
-
You can use " position: fixed; " of css property. It will fix your navbar. I hope this will help you.
-
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.
-
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.
-
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.
-
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.
-
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.
-
You can include file as : <!-- #include file="somefilename" --> you have to place include directive inside the comment tags. Hope this'll help you.
-
I have tried with this code : First of all you have to add this reference in link tag : <link rel="stylesheet" href="http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> Now our script is : <script> $( function() { $( "#accordion" ).accordion(); }); </script> And finally out html page is : <body> <div id="accordion"> <h3>Section 1</h3> <div> <p> This is section 1. </p> </div> <h3>Section 2</h3> <div> <p> This is section 2. </p> </div> </div> </body> I hope this will help you.😊
-
<label for="option">Choose 2:</label> <select id="cars" onchange="select()"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> <select id="cars1"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> <script> function select() { var sel = document.getElementById("cars").value; var x = document.getElementById("cars1").options[sel-1].disabled = true; } </script> Here I have take [sel-1] because it's starting index is 0. I hope this will help you.
-
There is Animation, Transition and Transform property of CSS. I have used transition and transform property on image like : <style> img { width: 100px; height: 100px; transition: width 2s, height 2s, transform 2s; } img : hover { width: 300px; height: 300px; transform: rotate(360deg); } </style> And Html tag : <body> <img src="~/img.png"/> </body> I hope you'll meet your desired output..!
-
I think there is one more function for doing that : SELECT STUFF('ALJ Diane Davis - WCF', 17, 21, 'WCF -') Let me know if you are doing as above😊.
-
If you want to show null value then you have to try this query : select t1.table1id, t1.table2id, t2.table2name from table1 t1 left join table2 t2 on t1.table2id = t2.table2id ; If you do not want to show that null values then use this query : select t1.table1id, t1.table2id, t2.table2name from table1 t1 inner join table2 t2 on t1.table2id = t2.table2id ; I hope this will show you your desired answer. let me know if you do this.
-
I think this query will give you the desired result : select cno , MAX(pno) as pno from ono group by cno;
-
I've learnt HTML and CSS from https://www.w3schools.com/ . This is best site for beginners. another references given below: 1) https://www.javatpoint.com/ 2) https://stackoverflow.com/ 3) https://www.tutorialspoint.com/index.htm I hope this will help you.
-
Tooltips can be attached to any active element (icons, text links, buttons, etc.) on a page.it include both text and image
-
you can use <br> tag for break headings and apply style for display heading in center <html> <body> <h1 style="text-align:center"> We buy cars <br/>city </h1> </body> </html>
-
#tuscaloosa-river-market-vendors{ color:white; background-color:black; }
-
dir attribute sets the direction of the text within an element in HTML document,it is not complusory, the value of the dir attribute is either ltr (i.e. left to right) or rtl (i.e. right to left).
-
refer this: <iframe width=”560″ height=”315″ src=” https://www.youtube.com/embed/[Video ID]I?&autoplay=1″ frameborder=”0″ allowfullscreen></iframe> https://www.4kdownload.com/howto/how-to-autoplay-embedded-youtube-videos
-
you can use css float property to achieve image side by side refer this: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_images_side_by_side