html5 draggable attribute with php

Discussing Html . Code , Software , other

Moderators: macek, egami, gesf

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

Re: html5 draggable attribute with php

Post by egami » 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
freshnet
php-forum Active User
php-forum Active User
Posts: 359
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Re: html5 draggable attribute with php

Post by freshnet » 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

Who is online

Users browsing this forum: No registered users and 2 guests