Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Can interaction be embedded in articles?

Can interaction be embedded in articles?

Scheduled Pinned Locked Moved Article Writing
questionhtmlcsscomhardware
3 Posts 2 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mike V Baker
    wrote on last edited by
    #1

    Hi everybody, I just wrote my first article. (Article ID 1248145, not yet released) I was hoping to help the readers retain some of the key points by putting in questions with "Reveal" to show the answer. It was a really simple script that just toggled a css class with display: none. I used the template and got everything working and tried pasting in the HTML to the article using the 'source' window. That's when I found out that all the scripts get removed. I downloaded the CSS used from the template and I can see many classes that have the word 'question' in their title. I'm assuming these are for other purposes such as the putting questions and polls in the forums. But I thought I'd ask anyway... Are there any capabilities for putting any kind of interactivity in articles? TIA, Mike

    M 1 Reply Last reply
    0
    • M Mike V Baker

      Hi everybody, I just wrote my first article. (Article ID 1248145, not yet released) I was hoping to help the readers retain some of the key points by putting in questions with "Reveal" to show the answer. It was a really simple script that just toggled a css class with display: none. I used the template and got everything working and tried pasting in the HTML to the article using the 'source' window. That's when I found out that all the scripts get removed. I downloaded the CSS used from the template and I can see many classes that have the word 'question' in their title. I'm assuming these are for other purposes such as the putting questions and polls in the forums. But I thought I'd ask anyway... Are there any capabilities for putting any kind of interactivity in articles? TIA, Mike

      M Offline
      M Offline
      Mike V Baker
      wrote on last edited by
      #2

      I almost forgot to return and post that there is now a way to do this. The good folks added a css class called "spoiler" which has ::before content of (hover to reveal). So scatter questions throughout your article and wrap the answers in a span with class="spoiler" and there we are! It's not what people in eLearning would call truly interactive content but it's a step :) Mike

      C 1 Reply Last reply
      0
      • M Mike V Baker

        I almost forgot to return and post that there is now a way to do this. The good folks added a css class called "spoiler" which has ::before content of (hover to reveal). So scatter questions throughout your article and wrap the answers in a span with class="spoiler" and there we are! It's not what people in eLearning would call truly interactive content but it's a step :) Mike

        C Offline
        C Offline
        Chris Maunder
        wrote on last edited by
        #3

        Hey Mike This is a very, very late reply but we do allow Javascript in articles if we post the script ourselves (ie we check the code before it's live)

        cheers Chris Maunder

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups