15,127 Topics
| |
I have created a responsive site. This site has two menu like main menu and footer menu. I use selectnav.js in main menu for creating a navigation menu. I want to create same navigation menu for footer menu using selectnav.js. But I can’t do that. So, please help to solve … | |
Hello, I'm using the DX Studio engine (used to develop 3d games/applications), which uses javaScript as the main language. Since the engine is not getting much attention, their forum is almost completely dead. So I thought maybe one of you here at daniWeb could help me out? When previewing my … | |
Hey i want navigation menu with image ... It means that if in my manu there is 3 button home,serviceses,about us than when onmouseover on that text it shows images which i choose..this type of implemntation done by me.. But when images change there is no effect ... And i … | |
var getDataFromUrl = function(url) { rest.get(url).on('complete',function(data) { if(data instanceof Error) { console.log("url error"); process.exit(1); }else {return data}; }); }; when this function (getDataFromUrl) is called by another function it return undefine what is happing | |
Why am I getting an error newDate() not defined ? var thedate = newDate(1971,11,9); console.log("This person was born on:", thedate.getDay()); | |
I'm hoping this is the right place to get some expert advice on putting an app together. I have a Beaglebone Black (BBB, a credit card sized Linux platform) that collects bursts of sensor data. Even though I'm relatively new to Linux, I'm pretty comfortable with the data collection end … | |
I want to use calander to pick a date as DD.MM.YYYY and post to database. Please help............ Entry.php <?php require 'config.php'; if (isset($_GET['logout'])) { unset($_SESSION['isLogged']); unset($_SESSION['isLogged']); session_destroy(); header('location: index.php'); exit; } if (!isset($_SESSION['userLogin']) && !isset($_SESSION['isLogged'])) { header('location: index.php'); exit; } ?> <!doctype html> <html> <head> <meta itemprop="image" content="mainlogo_title.png"> <title>SEA TURTLE … | |
How can I display a string at any x and y coordinated position of a webpage? Using only JavaScript, unless I have to have the text already included in the HTML and then hide or reveal it using javascript? I can already do that but I can't use x and … | |
<meta charset="utf-8"> <title>jQuery UI Effects - Show Demo</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css"> <style> .toggler { width: 500px; height: 200px; } #button { padding: .5em 1em; text-decoration: none; } #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; } #effect h3 { margin: 0; … | |
hi, i want ajax to be called only once, but insted it calls everytime when i click on the button. my script: $(document).ready(function(){ $("#modal-launcher-user").click(function(){ $('#preloader_image_edit').show(); $.ajax({ url: "image_edit.php", cache: false, }) .done(function( html ) { $("#preloader_image_edit").hide(); $( "#results_image_edit" ).append( html ); }); }); }); | |
I want to use javascript and extract page content and then submit a string. For example I have been given "Encode this string in base64 : Hello world". I need to take hello world, convert it and submit the answer. I think I need to use innerHTML but I'm not … | |
I am trying to create a matrix table. The values to be plugged into the matrix will be user input from an html table (basically a unique pairing table which pairs two elements at a time and for each pair a user can select which he prefers and by how … | |
hi there, i have a site which has a jquery datepicker in it. i went onto jquerys site and downloaded the timepicker code and tried to add this in but it is not working. currently my code is: $('.datepicker').datepick({ dateFormat: "dd/mm/yyyy", alignment: 'bottom', showOtherMonths: true, selectOtherMonths: true, renderer: { picker: … | |
Hey All, I am tryiung to create a function that lets me filter products on the page, by using html5 data-attributtes. Each prodct can have multiple values, as in: data-brand="acer", data-screen="17" data-processor="blah" etc etc. I am trying to make it work with two filter options at the moment, and then … | |
How to detect key being pressed and how to send "impulse" to PHP file about which key has been pressed? Simply Googling "PHP key detection", doesn't deliver reliable resources. Offcourse I could use JavaScript, but I wouldn't be able to get this to PHP, since, they're on opposite sides. | |
Hi Can I use the ajax to update a form feild by get a value of another feild on the same page(without submiting the page). This process involves the mysql as well. | |
echo "<tr><th><a href='#' onclick=/"sort(' . $order .')/"></a></th></tr>"; | |
| I'm wondering if anyone could help me with this code. I'm trying to display a photo based on the current month. function pictures(){ document.getElementById('pics'); var m= new Date(); var month=d.getMonth(); switch (month){ case (0): var img=new Image(); img.src="Holiday/HolidayDesktops/Newyear.jpg"; break; case(1): var img=new Image(); img.src="Holiday/HolidayDesktops/Vday.jpg"; break; case(2): var img=new Image(); img.src="Holiday/HolidayDesktops/St.Patday.jpg"; … |
AGH that was annoying...After typing this whole thing I went to register with Google+ and now I have to type it all again...anyways... I have a registration page on a CMS that I'm building. The first step in attempting to register is to enter an email address. Once it's entered, … | |
hi please how can i do connectivity in html with ms access using java script... | |
Hi My issue is that I want to either call 2 AJAX functions one after the other OR call just the second one. Let me put this into context.. I am writing a "store locator" application. By default all the results are loaded in alphabetical order. A user is able … | |
Hi, i have script ,and i want to useit inside iframe ,does any one know how. for eg:<i frame src=""></iframe> is the normal way to use iframe. i wantto know cani use a script inside iframe. | |
I made a jquery popup box, and I am having trouble getting the background of the page to darken when the windw pops up. The url to the page is http://rejuvenateusa.org/endorsements.html. Heres the code I am using: html: <div class="cover"></div> <div class="popup"> <div class="close"><img src="images/test_eherenfeldbig.jpg" /><button>close</button></div> </div> <div class="letters"> <div … | |
Hi everyone..I have a problem.. I want to make an auto calculation on each row..the things is, I only can do it on the first row..but for the second row, nothing happened.. here is my code: <script> function compute() { var inputObj = document.getElementById('k8goodsQty'); var otherObj = document.getElementById('valuePerUnit'); var diffObj … | |
hi, as the title says, i want to resize and preview image before i submit it to my server. it is because of reducing load to my server and also give the client ability to crop the image too. i am using `imgareaselect` for cropping. and also using a javascript … | |
<table width="200" border="1" class="form_table"> <tr> <td>Driver:</td> <td><select name="driver" class="driver" id="form_name" > <?php do { ?> <option value="<?php echo $row_Driver['id_driver']?>"><?php echo $row_Driver['driver_fullname']?></option> <?php } while ($row_Driver = mysql_fetch_assoc($Driver)); $rows = mysql_num_rows($Driver); if($rows > 0) { mysql_data_seek($Driver, 0); $row_Driver = mysql_fetch_assoc($Driver); } ?> </select></td> </tr> <tr> <td>Waybill:</td> <td><select name="select" class="waybill" id="form_name" ></select></td> … | |
I have 2 dynamic drop down menus using json . Then thing is with the script I'm using only one will work correctly. I'm not sure where I'm going wrong.. | |
Hello. What I am planning to do for User registration in regards to agreeing to the EULA: 1)For example, there will be three conditions the User must agree to by selecting checkboxes - Only one condition displayed at a time. 2)Upon checking the first condition checkbox, the second condition appears … | |
Hi , I'm developing a HTML page in which user have an option to zoom image two time in the same frame same as [goo.gl/PZweZ9](http://www.goo.gl/PZweZ9) , I search alot but unable to find the same. | |
Does anyone know how to have an image change to a random image when the page loads and/or refreshes, and also have it where if you click on the image is goes to the next image, in sequence? Thanks! |
The End.