15,127 Topics

Member Avatar for
Member Avatar for active-worker

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 …

0
66
Member Avatar for Christoffer_S

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 …

Member Avatar for Christoffer_S
0
252
Member Avatar for sweet.virat

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 …

Member Avatar for sweet.virat
0
277
Member Avatar for otengkwaku

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

Member Avatar for otengkwaku
0
178
Member Avatar for Siberian

Why am I getting an error newDate() not defined ? var thedate = newDate(1971,11,9); console.log("This person was born on:", thedate.getDay());

Member Avatar for Troy III
0
3K
Member Avatar for rzeune

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 …

Member Avatar for rzeune
0
294
Member Avatar for FOYSAL_1

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 …

Member Avatar for pritaeas
0
430
Member Avatar for nouth

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 …

Member Avatar for nouth
0
186
Member Avatar for andi-dev

<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; …

Member Avatar for andi-dev
0
243
Member Avatar for Eagle.Avik

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 ); }); }); });

Member Avatar for Eagle.Avik
0
683
Member Avatar for np complete

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 …

Member Avatar for iamthwee
0
95
Member Avatar for wolexade

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 …

Member Avatar for Airshow
0
475
Member Avatar for mrhankey

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: …

Member Avatar for diafol
0
210
Member Avatar for klemme

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 …

Member Avatar for klemme
0
194
Member Avatar for RikTelner

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.

Member Avatar for RikTelner
0
79
Member Avatar for safeer008

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.

Member Avatar for M.Waqas Aslam
0
107
Member Avatar for noel9
Member Avatar for david.roun.7_1

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"; …

Member Avatar for david.roun.7_1
0
234
Member Avatar for Daniel_18

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, …

Member Avatar for Airshow
0
295
Member Avatar for pkasar91
Member Avatar for pritaeas
0
119
Member Avatar for bops

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 …

Member Avatar for Airshow
0
275
Member Avatar for elanorejoseph

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.

Member Avatar for nauticalmac
0
218
Member Avatar for suavedesign

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 …

Member Avatar for suavedesign
0
7K
Member Avatar for sagisgirl

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 …

Member Avatar for JorgeM
0
2K
Member Avatar for Eagle.Avik

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 …

Member Avatar for nauticalmac
0
497
Member Avatar for juslai

<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> …

0
91
Member Avatar for kelley82879

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..

Member Avatar for kelley82879
0
1K
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
134
Member Avatar for pawan768

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.

Member Avatar for pritaeas
0
129
Member Avatar for lonrat

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!

Member Avatar for nauticalmac
0
1K

The End.