Search found 4 matches

by frodos_pants
Mon May 15, 2017 4:25 pm
Forum: XHTML
Topic: Need to differentiate an element based on it's subclasses
Replies: 3
Views: 5256

Re: Need to differentiate an element based on it's subclasses

Hi Radu,

Thanks for your reply. I'm sorry I bothered you. Shortly after I posted this I realized I had a typo that was causing the issue. I looked around, but I couldn't find a way to cancel this posting.

Thanks again, and sorry for wasting your time,
Tom
by frodos_pants
Fri May 12, 2017 8:18 pm
Forum: XHTML
Topic: Need to differentiate an element based on it's subclasses
Replies: 3
Views: 5256

Need to differentiate an element based on it's subclasses

Hi, I have an author template that has one element, and the css is supposed to trigger an action button based on the existence (or non-existence) of a subclass. For example my xml has: <section class="level1 practice"> vs. <section class="level1"> I tried selecting with: [class$="practice"] vs. [cla...
by frodos_pants
Tue May 02, 2017 4:50 am
Forum: XHTML
Topic: Replace tags while keeping text
Replies: 1
Views: 1671

Replace tags while keeping text

Hi, I have an authoring template which has some questions. Most of the questions are just regular questions. <li class="question"> <p>Question text</p> </li> Some are going to have a downloadable file. <li class="question"> <p>Question text</p> <div class="download"> <a href="" class="ulink">Downloa...
by frodos_pants
Fri Jan 13, 2017 7:55 pm
Forum: XHTML
Topic: Link to an href
Replies: 1
Views: 2390

Link to an href

Is there a way to generate an id, and populate the href through an action? And if so, is there a way to differentiate cases where you have multiple section with the same class as with "topic" in the example below? My tagging fragment looks like this: <section class="topic" id="${id}" xmlns="http://w...