Clone/Mirror HTML from Page to Page [SOLVED]

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
User avatar
Derek Dragomir
Regular Poster
Posts: 200
Joined: Wed Mar 18, 2009 7:09 pm
Location: Cinnabar Island
Contact:

Clone/Mirror HTML from Page to Page [SOLVED]

Post by Derek Dragomir »

I have a dropdown list on my chapters.html that I'd like to also have on my dailytemplate.html page. I can just copy/paste it, but the problem is that I update that list everytime a new chapter comes out and that would mean that I'd have to go to every comic page and manually add the new chapter. So I thought that if I could mirror/clone the dropdown menu to the dailytemplate.html, then all the comic pages created would always show an update menu from the chapters.html.

The dropdown menu is a <form> element backed up by javascript. The javascript is always the same so that I can just copy/paste onto the dailytemplate, no problem there.

Let me know if you have any ideas.
Last edited by Derek Dragomir on Wed Feb 02, 2011 3:37 pm, edited 1 time in total.
Image Image
PKMN White: 4470 0543 5339

User avatar
KODAMA
Spodama Mon
Posts: 694
Joined: Wed Mar 20, 2002 4:00 pm
Location: NY
Contact:

Re: Clone/Mirror HTML from Page to Page.

Post by KODAMA »

There used to be a way to include a snippet of text, but I can't remember the format.

I think it was something like
mycomic010220111.jpg
mycomic010220112.txt

and then whatever was included in the text file would be included after the jpg.
I'M MAKING A GAME | GALLERY | The old webcomic:http://www.skimlines.com | [url=irc://irc.esper.net/keenspace]irc://irc.esper.net/keenspace[/url]

User avatar
Spaceprincess
Regular Poster
Posts: 754
Joined: Wed Sep 10, 2008 6:36 pm
Location: omicron persi i 8
Contact:

Re: Clone/Mirror HTML from Page to Page.

Post by Spaceprincess »

what every you do to the dailytemplate will affect all previous pages. if you update a drop down it should automatically update all previous pages.

User avatar
Derek Dragomir
Regular Poster
Posts: 200
Joined: Wed Mar 18, 2009 7:09 pm
Location: Cinnabar Island
Contact:

Re: Clone/Mirror HTML from Page to Page.

Post by Derek Dragomir »

Spaceprincess wrote:what every you do to the dailytemplate will affect all previous pages. if you update a drop down it should automatically update all previous pages.
Oh, right... idk why I didn't see that in the first place. I really shouldn't be coding at 3 in the morning, lol.
Image Image
PKMN White: 4470 0543 5339

Post Reply