HTML5 and editable area's

Permalink
When using html5 the area is not selectable and editable...

<nav id="id">
 <?php  
 $as = new Area('Header');
 $as->display($c);
 ?>
</nav>


Anny tips?

MissMarvels
 
mesuva replied on at Permalink Reply
mesuva
I have a concrete5 site in html5 with a nav like that and I don't have any problems with the area not being selectable.

Maybe this is down to the browser you are using? 'Modern' browsers like Chrome, Safari and IE9 support html5, but IE8 and lower don't support the new tags.

So... have you got the proper 'shim' in place to support the older browsers? What browser are you using to edit your site?
MissMarvels replied on at Permalink Reply
MissMarvels
No, using all new stuff...



On 22-12-11 12:51, concrete5 Community wrote:
PineCreativeLabs replied on at Permalink Best Answer Reply
PineCreativeLabs
You simply have a typo in your code! Instead of $as, it's supposed to be simply $a. Simply copy / paste the code below:

<nav id="id">
<?php  $a = new Area('Header'); $a->display($c); ?>
</nav>
MissMarvels replied on at Permalink Reply
MissMarvels
Sorry guys found the solution. There was a z-index in the wrong place,
so the popups just never showed.

Thnx.. for the reactions...

Btw, @ growthcurve, $a, $as or even $whatever... its the declaration
of a variable, so can al be used...

concrete5 Community <discussions@concretecms.com> wrote: