Member Avatar

how to play multiple video in hero image without any delay ?

Member Avatar
+0 forum 1
Member Avatar

I have a Google map and a image lightbox slide show in the same page. After the page loads, the images and the map get loaded. map works normal. After I click on the image to make it bigger (lightbox) and then exit, the map is froozed and iresponsive. here is a link to a fiddle sample of it: https://jsfiddle.net/elamigosam/jd2hwfcr/61/ I was thinking to renaming all the functions, but not sure if that would do anything. also no errors in chrome console, and all the files load ok. P.S. I am not a javascript programer, but do understand basics.

+0 forum 0
Member Avatar

Hello, i have the following code: index.php <form role="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <label for="products">Product</label> <select id="products" name="products" class="user"> <?php require 'data.php'; $products = loadProducts(); foreach ($products as $product) { echo "<option id='".$product['id']."' value='".$product['id']."' selected>".$product['name']."</option>"; } ?> </select> <label for="bundles">Bundle</label> <select id="bundles" name="bundles"> </select> </form> Script <script type="text/javascript"> $(document).ready(function(){ $("#products").change(function(){ var aid = $("#products").val(); $.ajax({ url: 'data.php', method: 'post', data: 'aid=' + aid }).done(function(bundles){ console.log(bundles); bundles = JSON.parse(bundles); $('#bundles').empty(); bundles.forEach(function(bundle){ $('#bundles').append('<option>' + bundle.name + '</option>') }) }) }) }) </script> data.php <?php require 'DbConnect.php'; if(isset($_POST['aid'])) { $db = new DbConnect; $conn = $db->connect(); $stmt = $conn->prepare("SELECT * FROM bundles …

+0 forum 0
Member Avatar

problem How to make row that have different value with color red font to full row ? I have html dynamic table not static meaning i dont know how many rows or column inside table because it changed based on data show from back end . I need to give color red to row have distinct value according to my case then second row and third row will be have font red and first row will not be change color . First row have similar value as 12 on all td so that color will not change . But second …

Member Avatar
+0 forum 1
Member Avatar

A client would like me to implement spreadsheet-style form traversal using the arrow keys on a keyboard, i.e. left arrow would submit the entry for that field and then move left by one field on the form. The form is managed by my PHP code. Does anyone have a [U]browser-independent[/U] method of doing this please? All input fields in the form are single line text fields.

Member Avatar
+0 forum 4
Member Avatar

Connect your website you must first access HTML content on your website and add the icon. • Copy the pre-authorized icon in HTML content for your website • Then, go to your main page for AdSense to confirm the completion of this step. Copy this icon and paste it << head> </ head> for your website: <script data-ad-client = "pub-6911249275072633" async src = "https://pagead2.googlesyndiction.com

-1 forum 0
Member Avatar

Can anyone suggest me which one is a better platform for e commerce website development?

Member Avatar
+6 forum 21
Member Avatar

Hey i am student and quite inexperienced in coding. Therefore i hope somebody can help me how I can create a Multibar chart. in the appendix I have attached a picture how it should looks like. I tried it for 2 weeks now and I still have no idea. It would be very nice if somebody have an idea how it could work. Thank you in advance

Member Avatar
+1 forum 3
Member Avatar

$(document).ready(function(){ var obj1 = { } var obj2 = { } if(obj1 === obj2) { alert('true'); } else { alert('False'); } }); Why if(obj1 == obj2) returns false eventhough obj1 and obj2 are objects of same type?

Member Avatar
+0 forum 10
Member Avatar

How to return value of longtide and latitude from json using angular 7? my url as following : http://192.168.7.xxx:9200/location/_doc/27737 json returned from url above is : {"_index":"location","_type":"_doc","_id":"27737","_version":1,"_seq_no":5577,"_primary_term":1,"found":true,"_source":{"Locid":27737,"GPS1":"25.0173, 121.462","GPS2":"25°01'02.2\"N 121°27'44.8\"E","CompanyID":1005070,"ads":"142 Sec. 1, HsIn Nan Rd cung Ko Dšst, New Taipei City, Taiwan","Crid":75,"con":"Taiwan","Ctid":5894,"Cn":"Zhonghe District","pushdate":"2019-12-26T03:38:20.883"}} I need to return two values from GPS1 : longtiude : 25.0173 latitude : 121.462 Based on LocationId parameter :27737 So that I need to create service take location id parameters and return two values of GPS1 Longtude And latitude then set values returned of longtude and latitude on ngOinInit Event How to create service then call it …

Member Avatar
+1 forum 3
Member Avatar

Hello, I would like to install an Angular Template on my web hosting, on a sub domain. I found several for free on google, but I have a white page when i try it on the browser. I am completely beginner on Angular. Do you know how to activate it?

Member Avatar
+0 forum 2
Member Avatar

How can I perform both ajax and form post sametime? currently the code only sends one that is called first and dont call the second one

Member Avatar
+0 forum 6
Member Avatar

I'd like for my page (https://fiftyallstars.com/tour.html) to load, and for the TOUR to start automatically. Right now visitors must click a button with id "starttour" Here's what I've added so far, but it doesn't do the trick: <script> $(function () { window.onload = $('#starttour').click(); }); </script> <a class="start-tour" href="#" id="starttour"><span class="two skinny" style="margin:10px 5px; width:290px; font-weight:bold; letter-spacing:4px;"><i class="fa fa-photo animated faa-pulse faa-slow"></i> Take a Detailed Tour</span></a> Thanks for any help whatsoever.

Member Avatar
+0 forum 4
Member Avatar

Hi, I need advice on how to implement a Review Management System. Something like realized on mypresences.com or brightlocal.com Not all services allow you to interact with their API. Review services are productreviews, trustpilot, tripadvisor, whirlpool, wordifmouth, seek, indeed, glassdoor. Maybe you now a script or have an offer how it can be realize. Help me, please.

Member Avatar
+1 forum 1
Member Avatar

![Scooch.gif](/attachments/large/4/13717be4f5be2345d3ca84ac1c6a79ce.gif) I am working on a page where I currently have a menu of 12 projects. On hover a project is underlined and on click a project expands vertically displaying a description. I have used a table to layout this menu. I wish to create a function where the menu is only able to expand untill a certain point, before it begin "filling up" the next column with the remainder of the menu. Below I have attached a mock-up GIF, showing the desired function. I have also pasted in some of my code. Please forgive my simplistic description, I am …

+0 forum 0
Member Avatar

Hello. I am using a lightbox form with a drop-down list. When I choose a value from the dropdown list, I want it to be assigned to a php variable which I will then use to update the total price of the form (the total price is already defined in the form). Here is the link to the relevant page: https://mobilitypro.eu/course/e-learning-blended-learning-and-introduction-to-web-designing/ . When the user clicks Book Now, the lightbox form appears. The problem is with the dropdown list "Select package": when an option is selected, I cannot pass its numerical value to a php variable (before submitting the form). …

Member Avatar
+0 forum 1
Member Avatar

Hi This is Praveen, I am working since 8years as a FrontEnd Developer with strong Knowledge in below mentioned Skills HTML 4 HTML 5 CSS CSS 3 JavaScript jQuery Bootstrap 3 and Bootstrap 4 Angular 2 to 8 React PWA (Angular and React) Require JS KnockOutJS NodeJS Magento 2 FrontEnd

Member Avatar
+0 forum 2
Member Avatar

![code_gs.jpg](/attachments/large/1/8423476c8319b780be2d4586cb559834.jpg) What to do to correct Syntax error, (line 1012,file "Code") for writing app script

Member Avatar
+0 forum 3
Member Avatar

Hi, I am ope and new to daniweb

Member Avatar
+0 forum 1
Member Avatar

I'm looking to change the source of an image by using onclick to have the image source change more than once. The expected outcome is basically to have the user click one image, then it will change to image 1, once that is clicked it will chance to image 2, and so on. I am struggling to find a way to do so with more than 2 images? I have tried various different ways but just can't seem to find a way that works with more than 2. I am only a beginner so it is difficult finding where I …

Member Avatar
+0 forum 1
Member Avatar

I am creating a web slider (responsive), but I need it to have a wave transition, what would be my best option? Thanks.

Member Avatar
+0 forum 3
Member Avatar

I am in a pickle in trying to implement a turn based game where two players join the game and is assigned a role randomly where they alternate roles after each successive round, the problem with that for me personally lies in trying to figure out how to make it turn based when their roles are alternating each round. I am using nodejs (new to it) and socket.io. The dealer moves first then the client selects their number is the game flow. My code is as follows: main.css body { font-family: "Helvetica Neue", sans-serif; margin: 0; padding: 0; } input …

Member Avatar
+0 forum 1
Member Avatar

I'm trying to setup the links on this page: http://limitlesshoops.com/levels.html to lead to specific pages within this PDF: https://fiftyallstars.com/a2z.pdf --- I've found I can lead people to whatever page like this: https://fiftyallstars.com/a2z.pdf#page=7 but I'd like to lead them to a page based on Today's date. I've added a few example pages to the end of the PDF that have 12/01/19 etc. in the header section. I figure if the browser's "find" functionality can scroll to that page, then there should be some javascript that can do the same. Any help would be awesome. Thanks! ------------- Here are some helpful links …

Member Avatar
+0 forum 1
Member Avatar

Now as the automated cms are coming in power for eg. wordpress. Is it leading to ending of web development career.?

Member Avatar
+4 forum 7
Member Avatar

Hi, While I have some basic js coding skills and a few APIs uses in the past, I get stuck with one because it basically contains 3 calls. All async. Step 1 is pushing a file to the service and get back an ID in return. Step 2 is requiring a specific operation on the previously pushed file thanks to the ID Step 3 is downloading the result The fact is that I need to ensure all of these steps are individually ok before calling the next API endpoint. And exit if something went wrong. I am having hard times …

Member Avatar
+0 forum 1
Member Avatar

hi hope you are all fine. When user login in my web site the table update in database that the user is online and when they click on logout the table updated in database that the user is offline, it working fine but the problem is that when user login and close the browser without logout their account and my table show that the user is online but i want that when user close the broswer withot logout their account the table updated that this user is now offline tell me how can i do this. <script type="text/javascript"> function update(){ …

Member Avatar
+1 forum 7
Member Avatar

Hello guys i need help on implementing of search bar using javascript, html and css without database so that i can store data and then i can search them and display to another page. please I need some assistance

Member Avatar
+0 forum 1
Member Avatar

This mostly works. It shows the SSN when the first Val radio button is picked. It also shows the PaperAppliction when the second Val radio button is picked. The ONLY problem is that the field PaperApplication shows when the form is loaded before any radio buttons are picked. I need it to hide both SSN and PaperApplicaition until one of the radio buttons is picked, and then show the proper field. What am I missing? **Here is the JS** $(".field.SocialSecurity input[type=radio]").on("change", function() { if ( $(this).val() == "As a U.S. Citizen, permanent resident, or temporary working resident, I have a …

Member Avatar
+0 forum 1
Member Avatar

Am looking for something where I could get a array of next three months in number from the current month , i have tried to get the month in string but looking for something like eg : current month is 11 (ie) November so it should return 12,1,2 as next three months , any links would be great. TIA

Member Avatar
+0 forum 3
Member Avatar

Hi, I have to pass string entered in the input text to server method calling through jquery ajax. But its not going through. can please somebody tell me what i m doing wrong here. Below is the code: [CODE]$.ajaxSetup({ cache: false //timeout: 1000000 }); function concatObject(obj) { strArray = []; //new Array for (prop in obj) { strArray.push(prop + " value :" + obj[prop]); } return strArray.join(); } //var Eid = "stephen.gilroy1"; function testCAll() { //var ntid = $('#Eid').val(); $.ajax({ type: "POST", url: "Testing.aspx/SendMessage", //data: "{'ntid':'stephen.gilroy1'}", //working data: "{'ntid': $('#Eid').val()}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(result) { alert(result.d); resultData …

Member Avatar
+0 forum 6

The End.