Am trying to draw three circles on the page but nothing shows up, anyone can tell me what is wrong here? <body> <canvas id="myCircle(3)" width="60" height="60"> Your browser does not support JavaScript, please update it before you continue</canvas> <script type="text/javascript"> function myCircle(myCircle) { var c = document.getElementById("myCircle"); var ctx = c.getContext("2d"); ctx.beginPath(); ctx.arc(30, 30, 26, 0, 2 * Math.PI); ctx.stroke(); return myCircle; } </script> </body> Thank you :)

Member Avatar
Member Avatar
+0 forum 11

I am stuck in between Adobe Analytics and Google Analytics.. Help me out.... Should I go with the traditional style or use any other Analytics??

Member Avatar
Member Avatar
+4 forum 23

Hi DW. If you check [this](https://iwpe.000webhostapp.com/iwpe/) you will notice that at the bottom right hand side there's an added image which is also a link for the hosting site, note that I own the site you will see and I'm not the one who added that image but it was added automatically I believe with javascript by the host during the upload. What I want to achieve is something similar to that or exactly that but obviousely the link and image, title will be different but I want my script which first perform some verification from data base by posting …

Member Avatar
Member Avatar
+0 forum 1

This is my first time to set up a PayPal masspay. I don't know what variables should I put in my HTML form. Here is the form: <form action="https://www.paypal.com/cgi-bin/webscr" method="POST" name="_masspay"> <input type="hidden" name="cmd" value="_masspay" /> <input type="hidden" name="receiver_email_1" value="support@example.com" /> <input type="hidden" name="receiver_email_2" value="paypal@example.com" /> <input type="hidden" name="mc_currency_1" value="USD" /> <input type="hidden" name="mc_currency_2" value="USD" /> <input type="hidden" name="item_name_1" value="item name" /> <input type="hidden" name="item_name_2" value="website fees" /> <input type="hidden" name="amount_1" value="10.00" /> <input type="hidden" name="amount_2" value="2.00" /> <input type="hidden" name="custom" value="1" /> <input type="hidden" name="return" value="https://www.example.com/buy/12" /> <input type="hidden" name="cancel_return" value="https://www.example.com/buy/12" /> <button type="submit">Pay With PayPal</button> </form> I don't …

Member Avatar
Member Avatar
+0 forum 9

I have a search form, and I want to change the url from: https://www.example.com/search?search=term+term to: https://www.example.com/search/term+term I know how to use htaccess, but I don't know how to send user to friendly URL after he submit the form. Here is my form: <form action="search" method="get"> <input type="text" name="search" id="Searchx" placeholder="Search Marketplace" /> </form>

Member Avatar
Member Avatar
+0 forum 2

As web developers we do take seriously the security of our end users by applying a hash method on their passwords before storing it to the database so should our database be hacked we know that our end user passwords are secure. But what about the browser remembered passwords on the front end? We all know that a password can be viewed on the front end by using a tool called element inspector and change the password type from password to text and we can see the actual password and we can login on our own device with that at …

Member Avatar
+0 forum 0

Hello and Good Day, I have a multiple images that is played on flanis. On my iFrame, this images are not fitted. I want to have a flanis that is responsive fitted on my iFrame. so I tried this one image only in the <img> tag and it works fine. Here is my code at this moment. Changing the <Height> to <auto> does not do the trick for me. It only show the 1/4 of the images + the control buttons. Trying the <display: block> does not change any. Even the shrinking part on <img2> <!-- <style> body { display: …

Member Avatar
+0 forum 0

I am starting a website where an image shows on the home page and when I scroll to hover over the image it opens a newpage. I’m trying to figure out a way to do a slow dissolve from the home page to new page and also if the user has a pop up blocker on how to get around from home page to new page that if there is a way. Here is the code I have now html: <!DOCTYPE HTML> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Daily Process</title> <script src="Scripts/jquery-1.10.2.min.js"></script>"> <link type="text/css" href="Content/dailyprocessbootstrap.css" rel="stylesheet" /> </head> …

Member Avatar
+0 forum 0

Hi guys, I have the further problem. I created the project in Mpobirise app nad published it to my server via FileZilla. In some time I needed to change the project a bit. Now I can't find it neither on my PC nor in the application. Could you please help me?

Member Avatar
Member Avatar
+0 forum 1

Hi, Simple HTML code with few DIVs. See below the code. When window resized, One DIV overlaps with other and it looks messy. I could not figure out the problem. I tried to change position to relative and no it overlaps. Can someone please point out the problem in the code below and provide workable solution. Please first check your solution on your end and then post it here. <html> <head> <meta name='viewport' content='width=device-width, initial-scale=1'> </head> <body> <div id="clncont0" style="position:absolute; display:inline-block;left:32%;top:23%;padding: 5px; border-image: none; width: auto; height: inherit;"> <div id="hdrLabel0" style="height: 25px; vertical-align: top; cursor: pointer;">Username</div> <input name="box0" id="box0" style="padding: …

Member Avatar
Member Avatar
+0 forum 6

hi my husband is customising a website template and wants to add content over a teransparent image but when he adds the tex it goes underneath how can he do this here is where the image is placed `<div id="homepage" class="clear">` `<section class="main_slider"><img src="images/demo/1200x400.gif" alt="">` `</section>` and a preview of image is in http://swinguk.uk/KEVINWORK/ there is currently no css for the div id home or section class if anyone has any ideas be much appreciated ty in advance jan x

Member Avatar
Member Avatar
+0 forum 3

Web languages — HTML, CSS and JavaSscript are the best choice for kids and for amateur programmers, because they are very simple, and with them you can create many interesting things: sites, mobile and desktop applications, web servers and robotics — what else an amateur programmer needs for happiness? **Visual programming! ** Visual programming frees programmer from monitoring correctness of syntax program syntax, it is useful at beginning of training. This is the next stage in development of text-based programming languages. **And programming on the touch screen! ** I suggest using the touch screen to create applications. You can create …

Member Avatar
Member Avatar
+0 forum 1

Hello Daniweb Family, I am trying to create something like a "Earthnull" look alike. I am not good in coding and try to find something that can help me to start on. I found something very similar on what will be the target output. HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> </head> <body> <canvas width="960" height="500"></canvas> <canvas width="960" height="500" class="offscreen" style="display: none;"></canvas> <script src="https://d3js.org/d3.v4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.6.5/dat.gui.min.js"></script> <script src="vec2.js"></script> <script src="vec3.js"></script> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=false"></script> <div id="map" style="height:700px; width:1100px"></div> <script> var map = new google.maps.Map(document.getElementById('map'), { center: new google.maps.LatLng(13.0000, 122.0000), zoom: 6, mapTypeId: google.maps.MapTypeId.TERRAIN, zoomControlOptions: { position: google.maps.ControlPosition.LEFT_BOTTOM } }); var …

Member Avatar
+0 forum 0

I am using Netbean IDE 8.1 to build the website. I build a very simple website with simple Javascript function, window.alert(). Upon my testing, I put the button triggered function in the javascript but the function is not triggering. If I put the function under the HTML, it does triggered the function. Any idea? Please note that I also have linked my HTML file to the Javascript file.

Member Avatar
Member Avatar
+1 forum 3

Hello everyone. I have recently downloaded a free bootstrap website and amended the code to fit my requirements. Check it out here: http://www.kougavisitor.co.za The website renders right on various size screens but seems to break on mobile divices. I am looking for help to fix the code for mobile rendering. Anyone available to point me in the right direction? Regards

Member Avatar
Member Avatar
+0 forum 2

I want to joint

Member Avatar
Member Avatar
+0 forum 1

Hello everyone. I want to build a special form. It has different kind of input types text, radio,select and combo boxes. Specility of my need is this. *I need to insert one element value as one record to database. Let's assume there are two textboxes and radio button group. It means three input types. So I want to input these values as 3 records. * I want to keep 3 input values as array. So I named input elements as array. Now I will show my code of one textbox and radio button group below. So you could get idea …

Member Avatar
Member Avatar
+0 forum 1

Recently I'm trying to pass text boxes , radio buttons and checkboxes vaues to database. For that for the clear understanding I'll provide simple way of form. <form method="post"> <input type="text" name="KKK"><br> <input type="text" name="val[]"><br> <input type="text" name="val[]"><br> <input type="text" name="val[]"><br> <input type="radio" class="form-check-input" value="new" name="val[]">New <input type="radio" class="form-check-input" value="recondition" name="val[]">Reconditioned <input type="radio" class="form-check-input" value="used" name="val[]">Used<br> <select class="form-control" name="val[]"> <option>Convertible</option> <option>Coupe / Sports</option> <option>Hatchback</option> <option>MPV</option><option>Saloon</option> <option>Station Wagon</option> <option>SUV / 4x4</option> </select><br> <input type="submit" name="sub" value="send !"> </form> You see except first textbox other input elements' values should be pass through array. I echo those values without problem. So there is …

Member Avatar
Member Avatar
+0 forum 4

heY guys :) recently I'm on web project which I use MySQL, bootstrap, PHP and Javascript. For this I have generated successfully dynamical forms using PHP. I'm using mysqli commands. I used dynamic forms if it not used I have to create hundred of html pages. So by doing this I could reduce everything to one page. Right so far I'm facing problem 'inserting data to through this dynamic forms'. Exactly I know as I use generate dynamic forms I need dynamic generating code to insert data to database. If not as I mentioned above again I have to create …

Member Avatar
+0 forum 0

Hi there! I am creating a toggle in pure css without jquery or javascript and its look like it hasn’t work yet. The problem is Css div alignment. Its not perfectly aligned. I am trying to achieve are in the attachment kindly look: HERE IS DEMO: https://jsfiddle.net/navjot789/2fcLvmrj/ and its seems like its not working as I want. If anyone who have a deep knowledge is css helps thats would be a great. any input is apprecheated.

Member Avatar
Member Avatar
+0 forum 3

I have a bootstrap view which I am trying to get a modal working for. Unfortunately the modal is displaying as part of the page, not invisable. So it is displaying with it's content as part of the page. Here is my code: <!-- Placing excel upload modal here... --> @using (Html.BeginForm("UploadExcel", "Home", FormMethod.Post, new { enctype = "multipart/form-data", @class = "form-horizontal" })) { <div class="modal fade" id="excelModal" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Excel Upload</h4> </div> <div class="modal-body"> <p>Please upload an excel file that contains the data you are wishing to include in …

Member Avatar
Member Avatar
+0 forum 2

I need some help building a bootstrap Angular UI modal. This is what I have so far, but I am pretty sure it is wrong. Any assistance would be good. This actually appears to be doing mostly bootstrap stuff. It was originally jquery, but I figured out the hard way that jquery does not mix with Angular Js well. <div id="excelModal" modal="excelModal" close="cancel()" hidden> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" hidden>&times;</button> <h4 class="modal-title">Excel Upload</h4> </div> <div class="modal-body"> <p>Please upload an excel file that contains the data you are wishing to include in the report parameters.</p> </div> …

Member Avatar
Member Avatar
+0 forum 1

Hi Guys. I'm having a serious problem that is holding me back. I have a file which is a user dashboard and this file gets data from another php script file which is called by a user login screen when a user clicks login. The file verify the credentials then if correct that its start to pull some data from the database. The problem is that now there are some users who don't complete their registration process which some stop where they need to make their payments so their accounts are kept with a status of pending which indicate that …

Member Avatar
Member Avatar
+0 forum 5

How to create a button that redirect to certain location in a website which is still on the same page?

Member Avatar
Member Avatar
+0 forum 5

I am making a webpage wherein I am going to ask for an input through an html form using php, and then call a python script after clicking "submit (flames)" to run and process the Flames game. Can someone help me on how to execute a python script through a php button? Thanks. My (text.py) contains the code of the flames game and it looks like this: import sys print ("This is the name of the script: " + sys.argv[0]) print ("The arguments are: " + str(sys.argv)) # step 1: Input User and Crush user = sys.argv[1] crush = sys.argv[2] …

Member Avatar
Member Avatar
+0 forum 1

Hi DW. I am able to purchase from my online store but I don't seem to be able to get the pass through data which whould be sent to my notify_url. Payfast is my payment gateway and now it does call my notify_url because two files are created after I try to purchase but the files are blank and what I want is to get the posted variables and their values, but I'm not sure if the variables are posted on call or because even if I try to trap the `$_POST` I don't get any data. Here is my …

Member Avatar
+0 forum 0

Hello, I place this navigation on the header hoping that on the cell phone the navigation start going mobile navigation. There is one problem, I wonder why this code: @media (max-width: 576px) { is being printed on pc? header.php @media (max-width: 576px) { <nav class="navbar navbar-inverse"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">WebSiteName</a> </div> <div class="collapse navbar-collapse" id="myNavbar"> <ul class="nav navbar-nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Page 1</a></li> <li><a href="#">Page 2</a></li> <li><a href="#">Page 3</a></li> </ul> </div> </div> </nav> } </header>

Member Avatar
Member Avatar
+0 forum 1

Hello, I am trying to understand someone else codes: articles.blade.php <div class="notes-nav"> <a href="#" class="btn btn-green btn-act-delete" onclick="deleteTimeLine(this)" data-id="{{$data->id}}" data-type="article"><img src="{{url('')}}/images//icon-trash.png"/></a> <a href="#" class="btn btn-green btn-act-edit" data-id="{{$data->id}}" data-tittle="{{$data->tittle}}" data-content="{{$data->content}}" ><i class="fa fa-pencil"></i></a> @if($data->status=="0") <a href="#" class="btn btn-green btn-publish" data-toggle="tooltip" data-placement="top" title="publish?" data-id="{{$data->id}}" data-status="1"><span class="glyphicon glyphicon-ok"></span></a> @else <a href="#" class="btn btn-green btn-publish" data-toggle="tooltip" data-placement="top" title="cancel publish" data-id="{{$data->id}}" data-status="0"><span class="glyphicon glyphicon-minus"></span></a> @endif </div> First I wonder why the a href = "#" is empty but you still can go to the next page when you click the button. Next, what is data-tittle="{{$data->tittle}}" and data-content="{{$data->content}}" for? Can you pass data using that? Also, …

Member Avatar
Member Avatar
+0 forum 2

Hi, I don't know if this is possible or a really stupid question. I was wondering if after a select query has been executed can the results be filtered for specific values, and not just a single value but 7 different values. with what i want to accomplish its either im making it difficult for myself or the solution is pretty simple. okay for example i have a select query like so: $stmt = $conn->prepare("SELECT id, name, price, type, img FROM table"); $stmt->execute(); $result = $stmt->fetchAll(); now i have a page that has buttons which represent different types of "type". …

Member Avatar
Member Avatar
+0 forum 3

I'm currently doing some encoding work to protect a site from XSS attacks. We've stuck a bunch of `<script>debugger;</script>` tags in the db. Dispite my best efforts, the strings I've encoded to stop the debugger getting hit (to prevent an XSS attack), are still getting hit in developer tools. Is there a chance that double encoding something could cause this to happen or is that not possible? Thanks in advance!

Member Avatar
Member Avatar
+0 forum 2

The End.