Got Client with need of **"online print shop"** Client is providing paper printing (like business cards, flyers), printing on cloths, office stationary, logo embroidery on any type of clothing. Client provided some examples. **Links** * [rockdesign](https://www.rockdesign.com/) * [moo](https://www.moo.com/ca/) * [readyprint](https://www.readyprint.ca/) * [vistaprint](https://www.vistaprint.ca/) * [printshop](https://printshop.ca/) * [printvenue](https://www.printvenue.com/) **Where do I start?** Which platform should I choose? 1. CorePHP 2. Wordpress 3. WooCommerce 4. Magento 5. Prestashop 6. WordPress Is there any plugin or script that should I go for???

Member Avatar
Member Avatar
+1 forum 14

Need help to scroll when mouse wheel is used. Scroll Up or Down as per mouse action. I'm trying to create `moveDown()` & ` moveUp()` function, to scroll according mouse wheel action On scroll, remove class of current div :- `.active` and add class :- `.active` to scrolled div(div in viewport), by default first div has class `.active`. Following is my code structure. **HTML** <div class="wrap"> <div class="pane active"><h1>pane_1</h1></div> <div class="pane"><h1>pane_2</h1></div> <div class="pane"><h1>pane_3</h1></div> <div class="pane"><h1>pane_4</h1></div> <div class="pane"><h1>pane_5</h1></div> <div class="pane"><h1>pane_6</h1></div> </div> **CSS** .wrap { height: 100vh; width: 100vw; position: absolute; display: inline-block; margin: 0 auto; top: 0; left: 0; background: #D88C2A; …

Member Avatar
Member Avatar
+0 forum 2

I am working on an image cropper. And I am on the first stages. I want to know how to create the the two divs over the image, one is transperent while the other acts as a mask. Can this be done with CSS? Or should I consider jQuery? This is what I want to accomplish ... ![Croppr_js.png](/attachments/large/4/5d86601b7d949d7e68afe7357beafc5d.png) I just want to know how to create this overlay image feature.

Member Avatar
Member Avatar
+0 forum 11

* My [Primary code](https://jsfiddle.net/kvp2Laju/) jsfiddle * I was using [iscroll](https://github.com/cubiq/iscroll) to scroll to target. * **data-section** attribute is used for section id. section is full height & full width size. * **data-slide** attribute is used to get target id, it is animated mouse icon. how to scroll to target ? Need help to create scrolling using custom **data-** attribute

Member Avatar
Member Avatar
+0 forum 5

Working on fullscrfeen slider. Need help to count slides inside main slider container & create navigation `<ul class="Nav"><li><a></a></li></ul>`. Need help to add scroll effect Vertically or Horizontally Add class **.active** to active slide Display tooltip on navigation hover Need help to write function , $('main').slider({ //It may be main or .slider or #slider sectionSelector: '.slide', navigation: true, navigationPosition: 'right', navigationTooltips: true, scrollHorizontally: true }); **HTML** <main class="slider" id="slider"> <section class="slide" data-tooltip="tooltip-info"> <h1>slide 1</h1> </section> <section class="slide" data-tooltip="tooltip-info"> <h1>slide 2</h1> </section> <section class="slide" data-tooltip="tooltip-info"> <h1>slide 3</h1> </section> <section class="slide" data-tooltip="tooltip-info"> <h1>slide 4</h1> </section> </main> **CSS** main { width: 100vw !important; height: …

Member Avatar
Member Avatar
+0 forum 1

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
Member Avatar
+0 forum 5

inside mysql db which is table employe in coloumn *id_employee*, some data have a leading zero, etc : **id_employee : 0378192918 empy_name : Daniweb** i need to get id_employee for delete employe in my aplication, then i using ajax method like this : if(id) { alert(id); $("#deleteBtn").unbind('click').bind('click',function(){ $.ajax({ url: 'pegawai/delpeg.php', type:'post', data: {emp_id : id}, datatype: 'json', success:function(response) { return value is **378192918**, the first number **0** not showing in alert box. why ? then how to get entire value id_employe from db ?

Member Avatar
Member Avatar
+0 forum 8

I am a novice at JavaScript an jQuery. I am writing a project and trying to incorporate $(this) to read a data attribute. Once the data attribute is determined and assigned to a variable, I intend to use that to access other form elements. Instead of reading the data attribute as intended, clicking the button is submitting the form. This is a code sample: <fieldset class="new_inputs" id="new_inputs1"> <label for="file_input_1">Input File:1</label> <input class="fileRenamingFormInput" name="file_input_1" id="file_input_1" type="text" value=""> <br> <select class="fileRenamingFormSelect" name="destinationFile_1 id="destinationfile_1">...</select> <input class="fileRenamingFormFileOut" name="file_out_1" id="file_out_1" type="text" value=""> <br> <textarea class="copyCommandBlock" name="copyCommandBlock1" id="copyCommandBlock1"></textarea> <button type="submit" class="btnGenerate" id="btnGenerate1" data-idx="1">Generate command</button> <- Button …

Member Avatar
Member Avatar
+1 forum 12

I have jquery for my mobile website, but the problem is with iPhones. The touch event, or `onclick` event does not work on iPhones. It works on Android. Have anyone encountered the same problem? How can I fix this? Are there any work arounds? Also I am a bit confused about jQuery Mobile. What is the purpose of this framework other than the swipe events? Should I add both jQuery and jQuery Mobile for my mobile site?

Member Avatar
Member Avatar
+0 forum 6

I’ve created animated `rect` shape with **greensock**. It's not working on jsfiddle so created on [codepen](https://codepen.io/anon/pen/PdezOj) I’ve three shapes. I need help with following, 1. make it 100% height & width of viewport 2. it stops for a while before repeating, move `rect` without any gaps 3. they bacomes one rect while ending keep fixed distance between all 3 rect <svg x="0px" y="0px" width="100%" height="100%"> <rect x="0" y="0" fill="none" stroke="#88CE02" stroke-width="4" stroke-miterlimit="30" width="100%" height="100%" id="rect1" /> <rect x="0" y="0" fill="none" stroke="#ce4201" stroke-width="4" stroke-miterlimit="30" width="100%" height="100%" id="rect2" /> <rect x="0" y="0" fill="none" stroke="#8601ce" stroke-width="4" stroke-miterlimit="30" width="100%" height="100%" id="rect3" /> </svg> <script …

Member Avatar
Member Avatar
+0 forum 1

Borders are animating one after one. Need help to animate all borders at same time Here is running example [jsfiddle](https://jsfiddle.net/npLsm0j2/) **CSS** * { padding: 0; margin: 0; outline: none !important; } body { background: #E0D4D4; overflow: hidden; } .borders { height: 100vh; width: 100vw; position: absolute; display: inline-block; z-index: 1; } .border-t { position: absolute; z-index: 1; height: 1px; top: 60px; left: 60px; width: calc(100% - 60px * 2); } .border-t-l-wrap, .border-t-r-wrap { position: absolute; top: 0; height: 100%; overflow: hidden; } .border-t-l-wrap { left: 0; width: 50%; } .border-t-r-wrap { right: 60px; width: calc(50% - 60px); } .border-t-l { …

Member Avatar
Member Avatar
+0 forum 9

I need some help to add few audio effects to website. I found some examples like following, audioOn: true audio.muted = false setAudioOn true ref: "audio", attrs: { "id": "projects-audio" } }, [_c('source', { attrs: { "src": "/audio/click.mp3" } playAudio: function playAudio() { this.$parent.$refs.clickAudio.volume = 0.8; this.$parent.$refs.clickAudio.play(); }, I need help to play audio using **play() **, control volume using **volume = 1** What is **workClick: ?** I found it used with sound properties. So, basic needs are play various sounds - on click, background music, control volume of background music, play sound on overlay appears

Member Avatar
Member Avatar
+0 forum 12

Hey everyone, I'm at a stand still at this bit of code. Ultimately, I want to "expand"/slide down a class to show the rest of the hidden content (the list items with the class of ".hide") inside of that containing div. Sliding down the prices, hr line, and the "Get Started" button so that the content that would now be shown at hover, but at sliding back up the now shown content, would slide back to its original state when "not" on hover. I thought that by either taking away the class via jquery would solve the issue, but no. …

Member Avatar
Member Avatar
+0 forum 3

Hello, I am looking for a new IDE. I am currently using netbeans to develop a website in php/mysql. I like a lot of things about netbeans, but I don't like that it doesn't come with built in compilers/debuggers. You have to manually go and add/link them on a language-by-language basis. This isn't too bad in theory, but sometimes it doesn't work like it should, which can cause a huge headache. I had a hell of a time getting a debugger to work for php. I am now adding javascript/jquery to the website, and discovered that the debugger I already …

Member Avatar
Member Avatar
+0 forum 3

I have a yearly curriculum for my basketball workouts that I'd like to display online. I've created 53 unique workouts for each day of the week that include the main focus for the day, 6 drills, a quote, and a motivational story. I know I'd need a [datepicker](https://jqueryui.com/datepicker/) to accomplish this and the logic must employ both a [week number script](https://weeknumber.net/how-to/javascript) and a [getDay script](https://docs.microsoft.com/en-us/scripting/javascript/reference/getday-method-date-javascript), but I have absolutley no idea on how to get started from there. As the page loads, it should show today's workout. eg If it's the 17th Monday of the year, it would show that …

Member Avatar
Member Avatar
+0 forum 10

i have been trying to upload image files in to my database but i failed in many ways, the form saves everything except the image files. i am not sure if its the php or the java or the html page, honestly i lost my path. i have included all my pages, any help would mean a lot, thanks!!! <html> <head> <meta charset="utf-8"> <title>PYB Register Bike</title> <link href="bootstrap-3.3.7/dist/css/bootstrap-theme.min.css" rel="stylesheet"> <!--styling css link --> <link href="bootstrap-3.3.7/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- styling css link --> <link href="font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet"> <!-- styling css link --> <link rel="stylesheet" href="../ProtectYourBike.css"> <!-- CSS Reference --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script> <script src="http://malsup.github.com/jquery.form.js"></script> …

Member Avatar
Member Avatar
+0 forum 1

Guys and gals, I am trying to do a simple LITTLE DIVIDE problem using jQuery its getting the values, but when its returning the results, it as if they are being divided by 10000, but I know its not... E.G. 50506/1000 = 50.506 in my jquery problem, it is coming up as E.G. 50506/1000 = 0.050506 Here is my jquery $(function(){ $('#copy').click(function(e){ var calculate = parseFloat($("#totalMiles").val()) / parseFloat($("#totalGallons").val()); $('#TotalMPG').val(calculate); var totalMPG = $('#TotalMPG').val(); $('.mpg').val(totalMPG); sync(); <--this is another function i have above this...disreguard }); }); can anyone see what my issue is?

Member Avatar
Member Avatar
+0 forum 1

Hi there, I am not sure where to post this question. I want to know how to animate objects like my "project images" when i click on menu item on web page. For better understanding please visit the following link and click on my work from top navigation. Thank you. http://it-worker.ondrejsvestka.cz/ For animation please click on links like Webdesign, SEO, Marketing, Other. I don't know where to start, I know jquery little bit but no idea how to implement this kind of animation.

Member Avatar
Member Avatar
+0 forum 1

6 ●4 I have a code that displays an array from GeoTab SDK, I am able to get the array to display in the console.log, and it populates the results like normal, However, When I try to populate the data in the table, nothing shows but the headings. Here is my code, and I will generate an object array and paste the code as well. I know the data that is generated is valid data, function generateDutyStatusLogSearch1(){ api.call("Get", { "typeName": "DutyStatusLog", "search": { "statuses": ["D", "OFF", "SB", "ON"], }, }, function(dutyStatusLogs) { var uniqueDrivers = {}; var multicall = []; …

Member Avatar
+0 forum 0

Hey everyone, this code below is giving me a weird error, Script 438: Object doesn't support property or method 'ajax'. I am testing this in Microsoft Edge, but...I have a website that uses this exact same code, and its working like normal. I am getting the `var id` to load properly, I am not sure why it is not working, since, its working on the other site. I copied and pasted the code to match exact. anywho, its stating that it at the `$.ajax({` line. <script> $(function(){ $('.get-msg').click(function(){ var id = $(this).attr('data-id'); $.ajax({ type : 'GET', url : 'viewmessage.php', data …

Member Avatar
Member Avatar
+0 forum 4

hello, i'm having trouble with jquery navigator i don't think the problem is my code <script> $(document).ready(function(){ alert( "welcome"); alert("twice alert"); }); </script> in chrome i have this error: Uncaught SyntaxError: Unexpected token < in firefox i have this error : SyntaxError: expected expression, got '<' i looked on astackoverflow and many researches on google but couldn't find solution !

Member Avatar
Member Avatar
+0 forum 4

//The php section of the code <?php function getJSONFromDB($sql){ $conn = mysqli_connect("localhost", "root", "","rent"); //echo $sql; $result = mysqli_query($conn, $sql)or die(mysqli_error()); $arr=array(); while($row = mysqli_fetch_assoc($result)) { $arr[]=$row; } return json_encode($arr); } $jsonData= getJSONFromDB("select Pic from Display"); $jsn=json_decode($jsonData); //for loop to retrieve rows from database for($i=0;$i<sizeof($jsn);$i++){ $a=$jsn[$i]->Pic; //here is the main problem echo "<html><body><img src='sponsor/$a.jpeg' alt=''></body></html>"; //here is the problem i am facing } ?> 01 //The php section of the code 02 <?php 03 function getJSONFromDB($sql){ 04 $conn = mysqli_connect("localhost", "root", "","rent"); 05 //echo $sql; 06 $result = mysqli_query($conn, $sql)or die(mysqli_error()); 07 $arr=array(); 08 while($row = mysqli_fetch_assoc($result)) { 09 $arr[]=$row; …

Member Avatar
Member Avatar
+0 forum 1

I'm using this snippet to calculate the sum of two table cells. var sum = 0; $('.amount').each(function(){ sum += parseFloat($(this).text()); }); $('.sum').text(sum); But when the sum is for example 40.00 it displays as 40 and as picky as I am, i want it to display as 40.00. So... what to do? Little (editable) demo: https://codepen.io/gentlemedia/pen/gGXJgR

Member Avatar
Member Avatar
+1 forum 1

I want to see the penalties updating, but it's only see after you click the return button and wait for one day again that it will show the penalty. <?php $user_query=mysqli_query($dbcon, "select * from borrow LEFT JOIN member ON borrow.member_id = member.member_id LEFT JOIN borrowdetails ON borrow.borrow_id = borrowdetails.borrow_id LEFT JOIN book on borrowdetails.book_id = book.book_id ORDER BY borrow.borrow_id DESC ")or die(mysqli_error()); while($row=mysqli_fetch_array($user_query)){ /* ---- This code below ---- */ $borrowdate = new Datetime($row['due_date']); $currentdate = new Datetime(); $returndate = new Datetime($row['date_return']); $fines = 0; if($currentdate > $returndate){ $days = $borrowdate->diff($returndate ?: $currentdate, true)->days; $fines = $days > 0 ? …

Member Avatar
Member Avatar
+0 forum 1

I'm not extremely great at coding, but I'd like to have players in my basketball program be able to copy and paste some code (on their phones) from a textarea. The catch is I also want the button to turn green and say the words "Copied! Now open the app to import." I've found code that looks like it can accomplish this [here](http://tutsplus.github.io/clipboard/), but I have no clue on how to actually implement it with what I've created below. Any help would be great. Thanks for your time! <style> .wpic{ width:115px; height:115px; border:2px black solid; } .wdescription{ font-family:tahoma; font-size:11px; text-align:RIGHT; …

Member Avatar
Member Avatar
+0 forum 7

Hello Am looking for an out-of-the-box Wordpress theme which can help me create a website similar to either FileHorse or FileHippo in a very short time. Any one has an idea?

Member Avatar
Member Avatar
+0 forum 4

Hi I am trying to populate textbox value based on releated textbox value like that of (Country and State) using dynamic row formate. I can able to populate a value for only first row, if i tried ti for second row its again overwrite the first row and also i am trying the hide some textbox based on the value. Can anyone please help to solve this issue. Note: I have attached screenshot for your reference. **Html** <button type="button" class="btn btn-info" id="delete">- Delete</button> <button type="button" class="btn btn-info" id="addmore">+ Add More</button> <div class="clear"></div><br> <table> <tr align="center"> <td><input class='check_all' type='checkbox' onclick="select_all()"/></td> <td>Line …

Member Avatar
Member Avatar
+0 forum 3

I wanted to pass two values to a click function and use the values to load a file in to a specific DIV. The file to load is called ‘displayTwo.txt' from the 'partialContent' directory and the DIV that the contents of the file will be place in has the ID of ‘mark03’. I do this by placing the following line in my menu: <li role="presentation" id="param" data-options="{File: 'partialContent/displayTwo.txt', Id: '#mark03'}"><a href="#">ShowLink</a></li> Next I have this jQuery function to perform the operation with some debug code. $('#param').click(function () { localData = $("#param").data('options'); console.log("localData = " + localData + '\n'); var file …

Member Avatar
Member Avatar
+0 forum 2

I am trying to use a link from a menu item to call a javaScript function that uses jQuery to place the contents of an HTML file into a given ID within a DIV on a page. Here is the link that points to the specific DIV and the also the HTML file. `Inline Code Example Here` <a href="" onclick="showLink('./parialContent/displayOne.html', '#mark02')">Display Link</a> This is the function function showLink(link, id) { $(id).html(link); } Can you show me what I am doing incorrectly.

Member Avatar
Member Avatar
+0 forum 1

Hello i want a script that shows various text content in the foreground and closes witn an X and shows the original page. Any suggestions?

Member Avatar
Member Avatar
+0 forum 7

The End.