html5 draggable attribute with php

Discussing Html . Code , Software , other

Moderators: egami, macek, gesf

Post Reply
User avatar
php-forum GURU
php-forum GURU
Posts: 2192
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Fri May 04, 2012 4:17 am

PHP is an engine that generates HTML. Albeit I have not heard or know of being able to "drag" with straight HTML, but moreso probably with CSS & Javascript.

User avatar
php-forum Active User
php-forum Active User
Posts: 359
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Mon May 07, 2012 9:42 am

there's a new html5 draggable attribute. Since this is related to the interaction with the user and not the display, it belongs in html not css.

Code: Select all

    <p draggable="true"><?php $var="dfussd"; echo $var;></p>

Why won't this code work? Are you sure that your test browser supports the attribute in plain html? Check the source code of your html page and see if anything looks strange.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest