Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 39

nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
06/15/14 12:13 PM (10 years ago)

Errant div in child items example

The example files for adding child items to the control panel had some funky behavior in the child items expando box. Think I finally figured it out. It is an extra closing </div> right before the add button. https://www.evernote.com/shard/s201/sh/92914c36-ac12-40bf-b6c5-b906e9e66dd4/cb330a1d13c2bf0fa92272f55672d948 Hat tip to Susan and her new menu plugin.
 
Nicks App
Code is Art
Profile
Posts: 426
Reg: May 21, 2014
Las Vegas
6,010
like
06/15/14 01:22 PM (10 years ago)
In CSS as in JSON, there needs to be (only) as many closing items, as there are opening items. <div> ... </div> [...] {...} (...) It is nice with some software that helps us write computer program/scripts, e.g. PHP, that counts the pairs of Parens and Brackets and Braces... and lets us know with red squiggly underlines if we don't have a close for an open. I have not used such for CSS. I don't do DreamWeaver anymore. You might try http://jigsaw.w3.org/css-validator/ With the JSON Validator, you can interpret most error messages as an imbalance of punctuation marks: Parens, Brackets and Braces - and/or the correct use of commas ',' between sets of Parens, Brackets and Braces.
 
Cakebit
Code is Art
Profile
Posts: 501
Reg: Dec 15, 2010
In your local b...
16,510
like
06/15/14 04:50 PM (10 years ago)
Glad you inspected the source code Nick ;)! I'm sure it would be helpful if you PM'd Susan with the updated file. -Cake
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.