15,120 Topics

Member Avatar for
Member Avatar for Denis_9

I placed slideshare code: <iframe src="//www.slideshare.net/slideshow/embed_code/key/HQoiz6GR1oLe1n" width="860" height="600" frameborder="600" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> To my presentation page: [check](http://bookofrakostenlosspielen.org/10-regeln-online-glucksspiels/) But there are black area around presentation in mobile version: ![Screenshot_1.png](/attachments/small/4/354ff90d3ec838081dc8476d57b40307.png "align-left") It happens because of height="600", but when I remove this style iframe …

Member Avatar for diafol
0
215
Member Avatar for Aeonix

Imagine a mailbox. You're about to write to a friend. From staff perspective, someone wants to email Dani, her mail is dani@daniweb.com, but has her in contacts list. You type in "Da", and little tool-tip informs you that it knows this mail, tooltip shows her full name "Dani" and her …

Member Avatar for Dani
0
325
Member Avatar for Start4me

My goal is to make manipulations to an image by adding shapes on top of the image using JavaScript. For example, adding rectangular shapes to an image of a refregirator, as shown below: ![Sample_Of_What_Result_Needs_to_Look_Like.png](/attachments/small/3/9dd037e6ad4d9a1edf955eb0e39abf2a.png "align-left") <!DOCTYPE html> <html> <head> <style> #avaliableSpace { border-radius: 25px; background: #00B050; padding: 20px; width: 125px; …

Member Avatar for Taywin
0
898
Member Avatar for phfilly

I think Im misunderstanding something here - I normally work in PHP and think I'm missing something small. My final array tmp is empty and displays as ",,,,,,,,,,,,,,,," . It seems to me my tmp array might be emptied somewhere or the scope gets reset for some reason. I'm using …

Member Avatar for phfilly
0
318
Member Avatar for Aeonix

https://jsfiddle.net/mvuy7q60/ Using JavaScript (and jQuery). How can I assure that there's only one line shown (instead of entire content of item), and if it's longer than one line, end first line on "..."? Something like this: https://jsfiddle.net/tt9psxz3/

Member Avatar for Dani
0
289
Member Avatar for Aeonix

No jQuery! This is script that I got from [Chris Buttery](http://www.chrisbuttery.com/articles/fade-in-fade-out-with-javascript/) website. Or at least part of it: function fadeOut(el){ el.style.opacity = 1; (function fade() { if ((el.style.opacity -= .05) < 0) { el.style.display = "none"; } else { requestAnimationFrame(fade); } })(); } The problem is that when I run …

Member Avatar for ryantroop
0
489
Member Avatar for Momal_1

A client wants to send a request to server for checking that a string palindrome or not so , you have to make a server-client application, in which client to the server and server resend the response in which it tells that given string is palindrome or not . ( …

Member Avatar for rproffitt
0
192
Member Avatar for mani_12

i have designed a main form with textbox and button(when button is clicked modal popup must open).inside modal popup there are two text boxes and a submit button.i am performing subtraction operation inside modal popup. after submit button is clicked inside modal popup,modal popup is closed and result must be …

Member Avatar for Green_2
0
484
Member Avatar for Connie_3

I typically ask my questions over on StackOverflow, however this one I know would immediately get voted down as requiring someone to give their opinion, heaven forbid! I'm hoping the folks over here are a little more forgiving in this area. I am converting a really old ColdFusion app over …

Member Avatar for Connie_3
2
308
Member Avatar for Aeonix

I hate sharing my code, but I don't have any other option. I tried everything to prevent it, but I need to find out what's wrong about it. http://pastebin.com/zMjne7P0 User focusses out input field (line 83)(I tried inputting ";" for tests, which should return error, as it's invalid name). And …

Member Avatar for diafol
0
593
Member Avatar for Patrick_18

I am working on a project that involves multiple formulas and cannot figure out how to make the formula flow using jQuery. The first formula that i am working with is from an excel spreadsheet: ((C5*24-(E5/2))/24)+((D5-(E5/2))/24) C5 refers to monthly lease or lcost1 E5 Refers to Down Payment or dp1 …

Member Avatar for Airshow
0
1K
Member Avatar for Aeonix

$(document).ready(function () { var a, b, c d = new RegExp("/^[a-z0-9]*$/"), e = true, f = [ "g": false, "h": false, "i": false, "j": false, "k": false ], I changed names of variables for reasons. *Uncaught SyntaxError: Unexpected token :* Line 7. Which is `"g": false,`. Am I missing something?

Member Avatar for diafol
0
1K
Member Avatar for Aarav

Hi, I am working on javascript programming & it allows me to learn HTML which enhance my knowledge of AJAX, JSON and DOM Objects in Javascript which helps me in my learnings. I have faced an issue that how can I use sinon for stubing in mocha node.js which is …

0
83
Member Avatar for Siberian

I've begin to use Paper.js. The first problem I've run into is finding a [CDN](https://cdnjs.com/libraries/paper.js/) that works with JsFiddle, CodePen etc. In my case CodePen; the CDN for which I've found work to a degree what I mean is, I can create a rectangle in a variable, then using the …

Member Avatar for diafol
0
155
Member Avatar for WpExplorerr

Hello :) Around a month ago, i got a custom bookmarklet coded for my wordpress blog and on top of the bookmarklet .js code there is this line var token = 'QzEJ5PJ3/RRO4cubQQiKKNg5au6SESUSkQOK5w9HKFgH6GxVu1NNilA5TYqoMBbz6sKdZP6eQ4GeLyZ1Ht5S/VrHIISvHXKFPxXNUZmRp1M='; I think this is some sort of API key or something that’s specific to a wordpress installation right? …

Member Avatar for Taywin
0
352
Member Avatar for AntonyRayan
Member Avatar for Aeonix

`exampleArray.push("this is an item");` I a thing. But there are also 10 other items within. So I never truly know where that item is (which enumeration). Is there a way of saying `exampleArray.delete("this is an item");` where it will remove item with "that" content? (JavaScript question)

Member Avatar for diafol
0
226
Member Avatar for berserk

Hello All, i have run into an issue with my little project that i cannot seem to find much on and im at a lose for resources to check through. I am trying to get and use data that is being pulled from a json echo to my other php …

Member Avatar for berserk
0
449
Member Avatar for Mushfik

Hi, Can someone guide me on how to have php code echoing inside javascript <script> var cc1 = '<?php $_GET['cc1'];'; </script> <script type="text/javascript" language="javascript" > $(document).ready(function() { var dataTable = $('#employee-grid').DataTable( { "processing": true, "oLanguage" : { "sProcessing": "<img src='https://mir-s3-cdn-cf.behance.net/project_modules/disp/585d0331234507.564a1d239ac5e.gif'height='130' width='130'>", "sLengthMenu": "Show _MENU_ Records", "sZeroRecords": "No matching records found", …

Member Avatar for diafol
0
1K
Member Avatar for Hilal2009
Member Avatar for pritaeas
0
110
Member Avatar for AntonyRayan

Hi, Is there any way to do multiple drilldown chart( 6 clicks)? Give me some examples.

Member Avatar for rproffitt
-1
211
Member Avatar for SimonIoa

Hello i want to pass a value with the id #allcountries. `html += '<option style="width:90%"><a href="'+v.country_id+'">'+v.nam+'' +'</a></option>';` `<div id="allcountries"></div>` `alert($("#allcountries"));` when i select a country it returns [object Object] on the alert when it should return the id of the country

Member Avatar for SimonIoa
0
341
Member Avatar for rpv_sen

Hi Friends. i am working on my internal work. i am having n dynamic rows, Each and every row contain total. i want to sum all the rows total. i have attached the screen shot for the reference

Member Avatar for diafol
0
2K
Member Avatar for Brandon_9

This is a website I developed for online, desktop flash games. I make money off of ad revenue. Here is the link: http://www.quickscopegaming.com Could some of you give me your opinion on the site and what I should change/add? Also, here is the Facebook page if you want to give …

Member Avatar for AssertNull
0
302
Member Avatar for koneill

All, I have a packaged app - whose snippet is below and the form that displays shows ascending date (ascendingSort) and Title as the default items - I'd like to show the Publication Date (availableDate) and the descending date (descendingSort) as the two defaults - how in either Jquery or …

Member Avatar for Phaelax
0
340
Member Avatar for shany0786

hello all, i want to create dynamacially this thing and want to populate data alternatively on green,red,gray li and so on but i can't able to do it plz help i am weak in js :( <li class="green"> <div class="metro_tmtime" datetime="2013-04-10 18:30"> <span class="date">1/4/13</span> <span class="time">17:20</span> </div> <div class="metro_tmicon"> <i …

Member Avatar for gentlemedia
0
288
Member Avatar for Adrian_11

Create a program that will accept prelim, midterm, and final grade, the overall grade is 20% of the prelim grade, 30% of the midterm grade and 50% of the final grade. The program will display “EXCELENT, you can ENROLL again” if the overall grade is greater than or equal to …

Member Avatar for stultuske
-2
212
Member Avatar for Siberian

I'm creating a pseudo type script at the moment using a well known programs API which uses JS. When the user is prompted and enters in a name since the API uses ECMA 3.0 I cannot directly use String.Prototype.Trim() as it's not supported in ECMA 3.0. I have a prompt …

0
275
Member Avatar for AntonyRayan

Hi, by passing city name, I take all hotels reviews among on the requested city groupin by hotel id and user id that reviews should be greater than 0, The query works correctly, but taking values using while loop it combines all the hotel review values together. How to take …

Member Avatar for diafol
0
561
Member Avatar for SimonIoa

Hello i want to sort the returning data from my MySql database. i want to sort them by their type (1,2,3) This is what i ve done so far. PHP works fine returns all records $somevariable represents the AND to sort the records function all() { $type = $data->type; if($type …

Member Avatar for Bachu
0
288

The End.