6,568 Topics
![]() | |
Hi, I have a simple problem here but i have no idea how i can do it with javascript. I have a php script which will grab data from database from time to time (Server Sent Events) and i use ajax to display those data without refreshing the page. I … | |
Boo! Yeah sorry it's me again... I'm launching a modal with: <a data-toggle="modal" data-target="#loginModal" href="javascript:;">Register</a> The modal has 3 tabs. It should usually open on tab one (it does), but in this instance I would like it to automatically open on tab 2 when a particular link is followed... so … | |
Hi, I have a already designed web page with tables and stuff, but there are challenges for me to insert or include php and inserting the data that is from mysql to the tables in the webpage. I do not know how to do it to maintain the integrity of … | |
I have a simlpe excel sheet with table data and also I have web page with SpryTabbedPanels . so i want to show this my excel sheet in one Sprytab in the web page. So anyone explain me how to show excel sheet in DVI tan | |
Hello, I am trying to get HTML source of my vendor website's URL using cURL but I am not getting correct result, the output is coming only Header Template and Footer Template. I have given code below which I m using. Please help me out to get correct result. Thanks … | |
I am breaking my head for last 2 weeks trying to create an app that will be iOS and Android using HTML5 and jQuery Mobile. I need my app to contact a server to get data. I was trying Ajax but it can not be done because of cross domain … | |
How to get iframe inner content responsive. Or by reducing iframe size ie. width or height it should adjust the inner content as well. Any Idea ! Thanks in advacne | |
Hi :-) Smiley - face at the start there, but this is really irritating for me. As you see from the title, THE POSITIONING OF THE ELEMENTS IN IE 6,7 AND 8(At least) is off. I'm including the direct url : http://evolvedtools.com/Genr8Mobi.html. Now this page is normally a redirect from … | |
I have a website called ClippingPathAsia.com. There are 33 errors is showing. I have tried but its tough for me. If you have any tutorial or solution please help me. ![]() | |
Hi guys, I have an HTML page that I built and at the moment the content on it gets changed via javascript. What I would like to achieve is to change the content permanently on this page (which will be uploaded to the server). Now, I must admit that I … | |
How do I start with the drop down list disabled? <head> <script type="text/javascript"> function makeDisable() { var x=document.getElementById("mySelect") x.disabled=true } function makeEnable() { var x=document.getElementById("mySelect") x.disabled=false } </script> </head> <body> <select id="mySelect"> <option>Apple</option> <option>Banana</option> <option>Orange</option> </select> <br /> <input type='radio' name='campustype' value='in' onclick="makeDisable()" checked='1' /><label for='incampus'>In-campus</label><br /> <input type='radio' name='campustype' … | |
A modal dialog is a window that you must respond to. The MessageBox for example is such a window. It is a handy tool for displaying a warning or other kind of message to the user. But, you can configure it only in a limited way. Xcelled194 did a good … | |
hello, i have to download this slider link given below www.ekle.it can any body help me to downlaod this slider??? | |
We are having a problem where some pages that do not have much content have a lot of blank space above the footer. What is a way this can be removed on pages without messing up other pages that actually have a lot of content? It can be seen here: … | |
I want to add the page view gadget to my website as available in the Blogger. but I am not using the Blogger so what will be the code to check the Page View of my website... I like to add this gadget in the Homepage at the bottom... So … | |
Hi I need better way to my checkboxes in form.php here is code <h3>Which programming languages should you learn first?</h3> HTML <input type="checkbox" name="cb_html" value="HTML"><br> PHP <input type="checkbox" name="cb_php" value="PHP"><br> Perl <input type="checkbox" name="cb_perl" value="Perl"><br> Python <input type="checkbox" name="cb_python" value="Python"><br> And my form.php code is #checkboxes if (isset($_POST["cb_html"])) { echo … | |
Hi How can I pass value of my radio buttons to my form.php code? I will be very thankfull for your answer. <form action="form1.php" method="post"> First name: <input type="text" name="fname"><br><br> Last name: <input type="text" name="lname"><br><br> <h3>What is the best programming language to learn for hacking</h3> Python <input type="radio" name="rb_python" value="Python"><br> … | |
I have a searchable database.. I would like to change the style of how the table is displayed... I have a css file of how I would like the table displayed.. Can that be done? If so..How? | |
hey guys! when i discovered googles Dart, I decided to get back into web design, but im a little rusty on my css. on my index page i want to make a news section for updates to the site, but i cant find any styles for the <article> tag on … ![]() | |
Working on a website which is meant to be responsive and getting a few errors which seem out of the norm. The way I would like it is to shrink the site and line everything up in single file. **Url**: http://profiledt.co.uk/SetTraining/ Index.php: <div id="frontpage-Button-Cont"> <div id="Align-content"> <div class="button-cont"> <div class="thumbnail"><div … | |
I have this css code and it mucks up from the services section and shows the mobile view on the desktop. Any help? Many thanks. @import url(http://fonts.googleapis.com/css?family=Open+Sans); *{ margin: 0px; padding: 0px; } body{ margin: 0px; padding: 0px; background-color: #333333; margin-left: auto; margin-right: auto; } #content{ margin-left: auto; margin-right: auto; … | |
Basically I am creating a web page that is going to eventually load content dynamically using PHP. Right now I am constructing the HTML/CSS for the page so that the design is complete. My problem is that when I add x amount of content to my page, the content simply … | |
im trying to get a data from database into a text field: $fothersq=("SELECT others FROM january"); $fothers=mysql_query($fothersq); <input type="text" placeholder="0" name="febothers" size="11" value="<?php if(@$fothers){echo htmlentities(@$fothers);} ?>"> but i got this error in the text field instead. <br /><b>Warning</b>: htmlentities() expects parameter 1 to be string, resource given in <b>C:\xampp\htdocs\CashFlow\febprev.php</b> on … | |
Hi, I would like to know if there is a way to insert the content of an external .txt files into the <body> without coding long scripts etc. and which will also update automatically if the file has been changed. ![]() | |
We are seeking to upgrade our site to **HTML5** but we also need to design to **508 accessibility standards**. I need to get my team of content contributors up to speed on both topics. Does anyone know of training resources that combine the two disciplines? ![]() | |
i want to slide a div inside another div as shown here [Click Here](http://jsfiddle.net/cGZxv/61/) but my divs are float type. how can i reproduce the same demo here [Click Here](http://jsfiddle.net/anuran/8dM7z/2/) with the white box with "apple" text to slide inside the black div. | |
This (http://jsfiddle.net/dPrXM/) is supposed to make two more fields appear when you click the more button, but it is unfortunately not working. I cannot for the life of me figure out why, but I am convinced that it's something very simple and probably pretty stupid. | |
iam trying to create a smotth transition between 3 images inside a div using jquery. i have managed to get the needed opacity transition on moving mouse to any side of the div.Now i want to have some change in position also like this [Click Here](http://www.adhamdannaway.com/) But iam changing the … | |
this is my search.php , however once user has view one data user will want to update one location / status . I can not do the Edit.php . Can someone please help me ? Search.php <html> <head> <title>::Home</title> </head> <body> <div id="header"> <img src='banner.png' align='middle' width='101%' height='110%'> </div> <div … | |
I looking for some tutorial that will show me how to send data to .json file and save it one after another like: data1,data2,data3 data1,data2,data3 ...and so on Also i would like to know do i need jQuery and is it hard to use?? | |
Hi, I'm trying to extract the contents of a web page using htmlunit 2.9 I sent the home page URL through Webclient and got the login page from the application.I submitted the form by filling the user ID and password fields. The HTMLpage data that I received from the application … | |
I can't seem to center align my background image. I am new to php, css, and java coding but finding it necessary in this day and age. Here is the code. I hope this will help. <style> body{ background: url(http://dsninformation.com/images/magic.jpg); background-repeat: no-repeat } .button { display : inline-block; cursor : … | |
I am using this script for exporting data from HTML table to Excel. <script> var tableToExcel = (function() { var uri = 'data:application/vnd.ms-excel;base64,' , template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body><table>{table}</table></body></html>' , base64 = function(s) { return window.btoa(unescape(encodeURIComponent(s))) } , format = function(s, c) { return s.replace(/{(\w+)}/g, function(m, … | |
hi, I have created a form (in ASP.NET and C#) which have 5 dropdown 1.3rd dropdown fill on the basis of 1st n 2nd dropdown value 2.5th dropdown fill on the basis of 4th dropdown value I applied onselectedindexchanged event on 2nd and 4th dropdown and both are autopostback true.All … | |
Ok, before I start, DANIWEB is my last resort to get help. it seems the people on the other sites are having trouble understanding and/or helping me with this... anyway, here is what I am trying to do: I have a website with a folder structure that I allow users … | |
Okay so I just made an html navigation with up to 5 sub navs. Im going to paste the code here along with a jsfiddle link. HTML: <nav> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a> <ul> <li><a href="#">About 1</a> <ul> <li><a href="#">Sub Menu 2</a></li> <li><a href="#">Sub Menu 2</a></li> <li><a href="#">Sub Menu 2</a></li> … | |
Hi guys, today i will start a new tutorial about a very easy and simple programming language named HTML.Any body can make a static website by using this language. So,lets start . Tutorial-1 At first we have to learn the difference between static and dynamic website. Static website is a … | |
I have a flex slider and I want to place a div over the top so I can put a nav bar on there. It's not co-operating with me. Any help will be apreccatied. Thanks in advance. HTML <body><div class="container"> <div id="logo-nav" class="sixteen colums"> <img src="img/logo-white.png" class="logo"> </div> <div class="flexslider" … ![]() | |
Hey guys i have a table made and when a value changes i want to update the table to the new value so other can see it on their screen. example ( if i update the status dropdown too unavailable i want other users to see that change) Anyone have … | |
<?php //connecting to the database and running query $dbc=mysqli_connect('localhost','root','','sam_telephone'); $get_list_sql="SELECT id, CONCAT_WS(',', l_name, f_name) AS display_name FROM master_name;"; $get_list_res= mysqli_query($dbc, $get_list_sql); ?> <!--Building of drop down menu start from here--> <form action="post.php" method="post"> <select name="sel_id"> <option value="">--Select One--</option> <!--Starting while loop for fetching the array--> <?php while($x=mysqli_fetch_array($get_list_res,MYSQLI_BOTH)){ ?> <option value="<?php … ![]() | |
HI guys, I wonder if any could help with this. In my daily job I often find myself picking up code written by other developers and making additions to it. Now, this is often a problem because if I change a css rule I might end up breaking the layout … | |
this is my html and javascript coding. how to do contenteditable div onkeyup calculation. i tried it but i doesn't work... <td><div class="inputclass" id="quantity1" contenteditable> </div></td> <td><div class="inputclass" id="unitprice1" onkeyup="maths();" contenteditable> </div></td> <td><div class="inputclass" id="total1" contenteditable> </div></td> function maths() { var qt = document.getElementById("quantity1").value; var up = document.getElementById("unitprice1").value; qtup = … | |
With the new changes to make it mobile friendly and the removal of the menu bar that moves down with you, is it possible for us to have a "Back to Top" or similar functional button on the header that will return us to the top of the page so … | |
This is my php & html code for show numbers in words. this works correctly `<input type="text" value="<?php include("number_words.php"); echo convert_number_to_words(123); ?>" size="70" readonly="readonly" />` this is my final total amount html code `<input type="text" name="totalamount" id="totalamount" size="8" readonly="readonly" />`. here i am doing convert numbers into words. but i … | |
Hi Guys and to all programmers, I have a website wherein my header appears on all pages of my website. Did a test by disabling the display; however, the header was gone on all pages of my website so I turned the display back on. My question is, is there … | |
Hello, My question is a bit theoreric at the moment. I have a XML file that contains some data, i would like to know if it is possible to write a PHP page that reads the XML file, and if he recognizes a spesific string in the XML file, he … ![]() | |
Hi, I am looking for when you select a value from dropdown and submit. The results has to show in the same page with percentage. It is like voting. Thanks in advance. | |
Hi, I like to scroll all the scroll bar at the time.first scroll is working fine.but other scroll not working anyone have idea <html> <title></title> <head> <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script> $(document).ready(function(){ $('.box').each(function(){ $(this).bind('scroll',function(){ var leftPos = $('.box').scrollLeft(); var leftPos = $('.box').scrollLeft(leftPos); }); }); }); </script> <style> .box{ width:500px; overflow-x:scroll; } .clear … | |
Hello, We uploaded some videos in the back to YouTube and they reproduce perfectly on our webpage. The thing is, with mobile becoming more and more intresting, playing them in a HTML5 video player would be more universal. How can we make this change? | |
Hi all. I am designing a HTML website that only runs on smartphones. When I test the website on my smartphone it cuts off the words right at the bottom... It only allows the user to scroll down with +- 2mm or 1cm. I've put in underneath the styles.css a … |
The End.