Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Embed Harlowe in HTML page?

$
0
0
I have a website with its own navigation bars on the top, right, and bottom sides of the page. I am trying to make a page that is a Harlowe story, but still has the site's navigation bars. We tried putting the Harlowe-generated page in an <iframe>, but the story contained links to third-party sites (using (goto-url:)), and those links loaded within the iframe (we wanted them to replace the whole page). We tried copying the <head> and <body> from the Harlowe-generated page into a new <head> and <div>, but then when twine navigated to any passage (including the start), the twine DOM elements became direct children of <html>, which made it harder to style things predictably. Can you think of good workarounds for either of these? Ideally without forking twine2/harlowe.

Viewing all articles
Browse latest Browse all 1844

Trending Articles