Archive for the ‘HYPERTEXT’ Category

HYPERTEXT PROJECT 1 & STRETCHTEXT: Making it all work

Sunday, October 24th, 2010


Had to export the new Bottle of Beer online to work with it since the new Tinderbox version doesn’t show the stretchtext and the html templates don’t show the hypertext flow. It’s easier to see where images might be effective in the linear flow of the work, and in the hard drive file of html pages, the files are alphabetical.

I do have a problem. While the stretchtext seemed to easily accommodate the images while I was working with the local files, once it was exported onsite, the images weren’t being called in. I’ve tried a couple different browsers (I use Firefox normally) such as Safari and IE, but so far, it doesn’t work. I’ve also changed the coding to reflect “url” though I’ve yet to type in the whole url, and I’ve changed the file location from a separate images file to standing within the whole “abob” file.

Switched the font to Rockwell which is a bit more readable in the colored text on black than Georgia was, and a bit more classy than the Lucida Grande I was using.

Found the no-repeat coding for the images on the background, though I still can’t seem to tweak the right lines to make the image go all the way across the screen nor have some top margin. But an alternate way of working with the background images is to produce a black screen in Photoshop and drag in the image and place it where I want it, such as this:

HYPERTEXT: Itsy-bitsy Spider!

Friday, October 22nd, 2010


After a very trying day, I get lots of satisfaction from this one:

HYPERTEXT et al: Bits of Code Flying like Clouds

Friday, October 22nd, 2010


Though it’s my preferred method of learning, that is, getting an idea then having to seek the answer, it’s proving a bit unwieldy.

I’ve gotten the templates all done, all the stretchtext in place–at least for the text–and am moving on to once more changing fonts–that’s a snap–and size of the boxes, or borders.

Then I think of putting an image into the background, outside of the bordered boxes, occasionally. But I realize that I have a new css that doesn’t include the different columns, so the background of the body is the background to all. So that’s one thing to play with.

Then I’m thinking, maybe something different, like doing away with the top and bottom borders of the boxes which indeed suits the concept of stretchtext, but of course, needs some margin refiguring.

The idea of an image in the background is not a whole one that covers the page, as in Blueberries, but rather one that may peek from an edge, or horizontally boldly cross the page like a highway.

All this is what’s bouncing around in my mind, so many ideas, so many possible ways to code them in. Yet at some point I know that what I really need to do is start back from the beginning with understanding the codes of HTML and CSS and jQuery. Otherwise, just as with my prior project for the 100 Hypertexts of 2009, I’ll end up with stylesheets that run on forever, adding in each solution for each problem posed by a whim.

So here I am, anxious to get done with this project of revamping A Bottle of Beer, and while it’d be poised to go as is, wanting as well to throw new elements into it. And another problem comes in: I’ve three books on coding and only two hands.

With any luck, I’ll post the new version of ABOB soon, before I decide I want to have Mexican music in the background as well.

HYPERTEXT & TINDERBOX & STRETCHTEXT: Two Quick Fixes and Some Ideas

Thursday, October 21st, 2010


On the centering of the image, I just added in: margin-left: 50px;  in the css under .stretchTarget  –  With a body width of 600px and setting the images at 500, this should center them. This also moves the text, but that’s fine with me for now; I kind of like the offset (though 50px is high and not as necessary with the text color change in this piece). That may defeat the effect of stretchtext, but at the same time, it offers a visual border separating original from hidden which may better serve the reader. In any event, I can as well make the images larger to come within 5-10px of the borders. Then again, all of this changes when I drop the box outlines I seem to still love so much.

In Tinderbox, I was unable to see the actual text of the note in the HTML View on this piece for some reason and added: ^text^ in <div id=”text”>^text^</div> in the html template and that solved that problem.

While I’m getting the piece into its new format, I’m also thinking on:

  • Hidden images with clickable text – where the image would be very light and vague but the text would read normally.
  • Moving the hidden text/image/whatever to a third (or whatever) column, out of alignment of the piece.
  • Adding in audio and moving visuals.

There were a few more–but I can’t recall right now. I’ve also added STRETCHTEXT to the Categories and Tags here for easier retrieval.

HYPERTEXT: Adding in a “hidden” visual

Wednesday, October 20th, 2010


Rolling along now, though I’ve got to go back and do some work on the piece as a whole, starting with the Tinderbox version of it, but I just found that I could “hide” an image and have it fade in via the same code I used for the text basically. Here, the “hidden” text is in blue and has been clicked to reveal, and as it included the final sentence (see previous post) the link in red “nightmare” calls up the image:

There’s still some tweaking to do, likely on the css sheet, to adjust the image size to allow some padding on the sides, but the code looks like this.

HYPERTEXT: Making Lemons into Lemonade

Wednesday, October 20th, 2010


This morning everything just sort of fell into place with learning and maneuvering the stretchtext code. Even in my sleep I think I was already planning my next moves so that dark and early at 5:30 a.m., I could get right on the project and make things work as I wanted them to do.

A bit later, I was able to post the link to one of the pages  in A Bottle of Beer called “Kismet Slept.” The linear narrative is in the tan text, the links and the text color of the hidden text go according to the themes (in the examples below, green = Yolanda’s past, blue = nature). It all worked and I was thrilled. Then I noticed an error:

Original page display:

Clicking the blue link “ghosts”:

The final line “It was the nightmares that threatened her dreams.” is part of the linear story and was meant to show up on the initial display. Why didn’t it? Because of this:

Note that the <div class=”stretchTarget two”> tag was inadvertently left open. What this did was keep that last line as part of the hidden text rather than the original. The </div> tag should rightfully have been right after the </font></p> of the paragraph ending in “moon.” However…

…while this is an obvious error, it is one that creates a writing device that can be used (if I remember it!) to advantage in telling hypertext story.

One of the questions a new reader of hypertext asks is “Do I read the whole space before I click a link or should I click the link when I come upon it?”  Well, this little mistake may have just helped me out, almost acting like a Storyspace “guard field” to prevent reading something before something else is offered to the reader.

In this case, that last sentence has a much more dramatic effect being available only after the hidden text is revealed rather than being displayed on the initial screen. So while this may not be an often-used tool for the writer, it is one that can create an effect and give much more control to the writer in particular instances.

It works particularly well here since the hidden text themes have such subtle connections to the main story and this way, it brings the reader back to the main narrative by reading a new line of linear text that he hadn’t read before and may mentally block out or scan over had it been available in the opening page.

HYPERTEXT: Yay!

Wednesday, October 20th, 2010


Okay, so I have all but the moving of the text which I’m not sure I can do but I think I can figure out a way.

Here’s a page from A Bottle of Beer employing stretchtext, color changes (which may still be fiddled with, as well as font for easier reading) in two events and in different colors–which for this piece, is vital.

Kismet Slept

HYPERTEXT: Stretchtext

Tuesday, October 19th, 2010


Finally got to spend some focused time on this and managed to get my text to stretch.

I’ve had some direction from Steve Ersinghaus and his example in his wonderful poem “That Night I Saw on my Homeward Way” (Published in Drunken Boat #10) but was never able to really understand how it worked, what files I needed and what code went where. It would have been easy enough to just copy, but I really didn’t understand what I would be doing.

After reading the Dummies book on jQuery, things started to make sense. I began to comprehend how jQuery is like a special instruction to modify the set instructions for the piece, just as special instructions as to color, text, spacing, etc. changes are placed in the header section to override the css.

Using A Bottle of Beer as my project, I’ve so far put in just one of the two spots that will employ stretchtext.I’ve yet to figure out putting two in the page, change the color of the background and text–or at least just the text, and, if possible, make it come out of the side rather than straight down.

As soon as I do a bit more work on the color and style, I’ll export and link the page to a post, or figure out how to make it work within a post.

NEW MEDIA & HYPERTEXT: Must my sentences dance?

Tuesday, October 12th, 2010


I do love the audio visual narratives that play up the graphics and motion over story, but isn’t there a place for digital text as the main vehicle of narrative? It seems that hypertext as a way of storytelling, without the added pizazz of preferably moving visuals and audio that to me at least sounds annoying when repetitiously run throughout the piece, is either a dinosaur or needs the help of much more than color and background images. And yes, sentences that sing no long mean eloquent writing.

There’s much to think about.

(Update: a relative post at HtLit here.)

HYPERTEXT PROJECTS: Learning & Sharing

Sunday, October 10th, 2010


I’ve decided that with two intense hypertext projects going on, it’d be a good idea to categorize them separately so updates make more sense.

Hypertext Project 2 is going to be a sharing experience, a website and book that will offer the reading and writing of hypertext narrative in an easy and inviting manner before it becomes all academic and technical. I’ve laid out an outline for the project in Tinderbox and have just started to write down some text, though I’m sure I’ll be gleaning much of it from previous postings over the years that follow my own journey through learning.

Hypertext Project 1 is another learning experience, that of graduating to HTML5 and CSS3 (though honestly, I learned just enough of the previous versions to be able to do what I wanted to accomplish) and jQuery.  So far, I’ve learned to Fade In and Out, and the Alert. But then, I jumped ahead a bit to the more interesting parts, which is typical in my learning pattern: I was once caught by the music teacher as playing a piece by ear since I couldn’t point to the spot on the page where I was supposed to be.

I’ve remarked any relative posts as such (or will within a few minutes)