A New Method of Transcription
Something just occured to me. There's a far better and more effecient method of acquiring the transcripts than the method I'm using. Allow me to explain.
My current method to grab the transcript is as follows:
God, this'll be a lot of work.
My current method to grab the transcript is as follows:
- Check if the user has JavaScript. If no, stop.
- If yes, grab the images off the page, make them invisible, and separate the image tags into an array.
- Make an IFRAME that calls up the transcript.
- The transcript file has its own JavaScript in it that, upon loading, sends messages to the main page. One message says the comic's name. Each of the rest contain the transcript of an individual frame.
- The system then writes the images back to the screen.
- When you click on "(Enable transcripts)", the system nukes the images and rewrites them to the page with the proper OnMouseOver events.
- Check if the user has JavaScript. If no, stop.
- If yes, grab the images off the page and separate the image tags into an array.
- Each page has its transcript in there, just invisible. The system ganks this off the page and flings it into an array.
- The system then applies the OnMouseOver events to the image tags.
- When you mouse over the image, a function checks to see if the transcripts are enabled. If yes, display the transcripts as usual. If not, don't.
God, this'll be a lot of work.
0 Comments:
Post a Comment
<< Home