25 Unanswered Topics

Remove Filter
Member Avatar for
Member Avatar for Greg_11

I am trying to hide a radio button based on wether or not a user is an admin <?php if (($_SESSION['admin']) == 0) ?> <script>document.getElementById('adminbutton').style.display = 'none' </script> <?php if (($_SESSION['admin']) == 1) ?> <script>document.getElementById('adminbutton').style.display = 'block' </script> Obviously the above doesn't work.. Any help is, as usual, greatly appreciated. …

0
83
Member Avatar for SimonIoa

Hello i want to make a video player with HTML5. I t has to have other angular tags and an object inside the <video> tag. The source code below explkains what i want to do. Is it possible? Any suggestions? <video controls preload="metadata" style="width:100%; height:100%;z-index: 100"> <source src="//vjs.zencdn.net/v/oceans.webm" type="video/webm" /> …

0
3K
Member Avatar for kalcio

Hi, I'am newer in PHP development.I have a question please,Is there any way to create a web application with AngularJS, HTML5, and CSS3 as front end, and NodeJS as back end ,and PHP5 as a the restful web service? thanks for Help

0
225
Member Avatar for Himanshu Chawla

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"/> <link href="css/datepicker.css" rel="stylesheet" /> <script src="js/bootstrap.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="js/bootstrap-datepicker.js"></script> <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <script src="js/JavaScript.js"></script> <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <title></title> </head> <body> <div> <form class="form-horizontal" id="form1" runat="server"> <fieldset> <!-- Form Name --> <legend>Enter Your Details</legend> <div class="control-group"> <label class="control-label input-xlarge" for="Status">Employment …

0
163
Member Avatar for saucy6969

Working on a festival website and on the Programs page, there is a gap where one of the other categories should be. (Garage Sales is supposed to be in the blank space beside Dog Show) I have tried moving it up and it just bumps it back down. Can anyone …

-1
126
Member Avatar for kamilacbe

HI, I have website which works on html5 video tag to play videos and now my question is, i want to pause the video after two minutes it plays and ask the customer to pay some amount to watch the full movie , i would like to get some help/links …

0
86
Member Avatar for Damith_1

Hello, I have been able to drag and drop images from a toolbar to a html5 canvas. And now i need to connect two images/objects with a arrow. Basically the scenario should be, when you click on a dragged object, conncetiong points should appear and by dragging one point to …

0
111
Member Avatar for Sneha_2

hello, i had done lot of things with canvas like drawing different shapes on it,attaching note on it..now i have a little challenge for me where i have to imitate MS word's elbow connector to be drawn on my canvas..does anyone have ever tried doing something like this???If yes please …

0
99
Member Avatar for Nitin Daphale

When I draw on my HTML5 canvas, it is zoomed already? Hence drawn arrow below is blurred! (snap attched). What is the Reason? Any help to avoid this? var ctx = document.getElementById("canvasWhiteboard").getContext("2d"); ctx.beginPath(); ctx.moveTo(touchX, touchY); ctx.lineTo(moveX, moveY); ctx.lineWidth = 4; ctx.strokeStyle = "black"; ctx.stroke();

0
172
Member Avatar for Peter_13

Hello fellow coders i come to you in a time of need. I have an inline popup containing html5 videos. i added a stop('#video'); to the "close popup" function and this works, but only in Chrome and Opera, not in Firefox and EI, which leads me to a sub question, …

0
107
Member Avatar for Barhoom

Here is the code, how would i go on about making the bullets fired (size 6x6 pixels) collide with the blocks currently on the map and with enemies (48x48 pixels) which are to be implemented? Desperatley need a solution! // inner variables var canvas, context; // canvas and context objects …

0
154
Member Avatar for gamingthinktank

Box2D physics engine works according to the rules of physics. You have to work a little bit to set it up to work with platforms like HTML5 Canvas, iOS or Flash. Read the details [Box2d coordinate system for HTML5 Canvas](http://www.gamingthinktank.com/2013/08/12/box2d-coordinate-system-for-html5-canvas/)

-1
109
Member Avatar for gamingthinktank

This tutorial explains the mathematics behind collision detection using bounding circle method. Source code and online demo is available with the tutorial. [Bounding Circle collision detection: KineticJS/HTML5 Tutorial](http://www.gamingthinktank.com/2013/07/23/bounding-circle-collision-detection-kineticjshtml5-tutorial/)

0
86
Member Avatar for kiranaditya

hi i need to know about technology or tool which require regarding my project. can anyone please help me my project is Universal remote hmi(human machne interface) which should be 1.platform independent 2.should be able to run on any device (pc,tablet,android phone,windows phone) 3. if possible code of all langauge …

0
95
Member Avatar for dtkhshi

I have written a web app with a few JSP pages and Java servlets running on a Tomcat server. The app needs to be able to send location updates to a Servlet every x seconds. I have found the html5 watchPosition(sucess_callback, error_callback) function to get the location updates from the …

0
82
Member Avatar for jeraldmuthu

HI Now i'm upgrading my application from icefaces to HTML 5. So i need to know the alternate tag for the following 1. ice:outputConnectionStatus 2. ice: inputFile 3. ice: SelectInputDate 4. ice: PanelPopup Please help me out to fix this error..........

0
100
Member Avatar for dmanw100

Hello guys, According to the w3 schools site HTML5 currently only supports OGG, WebM, and MP4. Most of my current media is in the WMV format so I would like to convert it to use on my site. Searching for converts returns lists of trial software or software that doesn't …

0
138
Member Avatar for Patiodude

I just started using HTML5 in my documents, and at this point, I'm missing XHTML's <center> tag. I've tried using text-align to center the element, but it doesn't seem like it works on .lbi files. Any advice on how to center an .lbi library element?

0
149
Member Avatar for thomas6188

was trying the drag and drop feature in html5. I have three blocks(boxA,B,C). Items are moved from box A to B or C. The problem is [B]when i move items from A to B, Box A doesnt retain the object [/B](instead of copying, it just moves the object). I have …

0
95
Member Avatar for Inga.K

DHTMLX announced the final release of DHTMLX Touch 1.0, a free JavaScript framework for building HTML5 mobile web apps. Version 1.0 offers more stable performance, better cross-platform compatibility, and extended customization options. In addition to these improvements, DHTMLX Touch introduces some new features, such as HTML5 offline mode, IDE integration, …

0
66
Member Avatar for cornedor

Hello I have converted a ogg video to WebM using VLC Player. If i embed my video's it doesnt work in firefox. Firefox tries to use the WebM format. But for some reason it isnt working. The video: [url]http://corne.testingserver.nl/school/weer/ot/assets/weather.webm[/url] My code: [CODE]<video id="vbg_video"> <source src="assets/weather.webm" type="video/webm"> <source src="assets/weather.ogv" type="video/ogg"> <source …

0
105
Member Avatar for ari$av3s

Up until now, I have used "unlimited" shared server space and have been able to serve out whatever MP4, .OGV, and WEBM files Miro video converter spat out without a problem. Now, I have invested in a virtual dedicated sever with better support/higher uptime/better transfer rate, and have to be …

0
111
Member Avatar for wHiTeHaT44

Hello @all , for several days i try to create a nested-ist generated by jquerymobile from websql querys. I can only master the code to show all parents and children in 1 single list. However of course, i want to have each child to its parent. I would appreciate any …

0
88
Member Avatar for louiscos77

Hey guys, I'm making a 3d engine for html5 (canvas) but I have some problems well here is my code for the html document engine3d.html [code=html] <html> <head> <script src="engine3d.js" language="JavaScript" type="application/javascript"></script> <script type="application/javascript"> function init() { //creating canvas canvas=document.getElementById("canvas"); ctx=canvas.getContext("2d"); ctx.beginPath(); color3(ctx,0,.5,0) ctx.moveTo(0,horizonZ) ctx.lineTo(500,horizonZ) ctx.moveTo(0,startZ) ctx.lineTo(500,startZ) translate3WithoutRotation(ctx,100,0,1) vector3WithoutRotation(ctx,100,0,90) vector3WithoutRotation(ctx,200,0,90) …

0
94
Member Avatar for dlannetts

How do most people make the layouts for their sites now we have things like: [CODE]<header> <nav> <article> <section> <figure> <summary> <details> <footer>[/CODE] Just curious as i am wondering how most do it : 3 I quickly wrote this up: [CODE]<header> <nav> <section> - Welcome <details> - who wrote it …

0
104

The End.