News:

The anti-spam plugins have stopped being effective. Registration is back to requiring approval. After registering, you must ALSO email me with your username, so that I can manually approve your account.

Main Menu

Need some scripting help for cycling images+links+user interface.

Started by fesworks, February 01, 2007, 07:31:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fesworks

Basically, I'd like to know if anyone can do this:

http://www.cornstalker.com/comics/cornbox/cornbox-light.html

The Cornstalkers have this on their pages in some place... this one is on the bottom left:
http://goforit.comicgen.com/

I mean, I can copy the code easily, but what I can't figure out is from the code I copied, is how they are linked together with the text and buttons! All the image and text locations seem to be somewhere else and not in the code, so I don't know how they did it.

If anyone can adapt this code to exist together, or can tell me how to complete it (like a couple examples, then I can add more on my own), that would be awesome, but I understand this might be difficult.

What I'd like to do, once I get the base code to, was to put together the same idea, only for "Xepher Comics" or something. Webcomickers on Xepher could put it in their links page if they'd like, or whatever.... Possibly to use the 468x60 ad banners instead of the avatar size.

But that's my idea. If I could figure out the Base code, I could compile all the images and text and fine tuning.

Anyone have any thoughts?

www.PSIwebcomic.com
www.TheShifterArchive.com
www.ArdraComic.com
www.WebcomicBeacon.com

Omega0

I believe this bit of code from the .js performs the magic
function getcornboxes()
{
crequest.open('GET', './cornbox.xml',true);
crequest.onreadystatechange = parseInfoC;
crequest.send(null);

}
by yanking data in from this file: http://www.cornstalker.com/comics/cornbox/cornbox.xml

fesworks

Cool! I'll check that out! May take a while to figure out and implement, but this is what I was looking for! :D

Thanks!

www.PSIwebcomic.com
www.TheShifterArchive.com
www.ArdraComic.com
www.WebcomicBeacon.com

Xepher

Umm... that's just the function calls. You need the entire .js file that defines those functions. http://www.cornstalker.com/comics/cornbox/cornbox2.js

I'm not that great with Java, so I probably can't help you deconstruct it too well.

fesworks


www.PSIwebcomic.com
www.TheShifterArchive.com
www.ArdraComic.com
www.WebcomicBeacon.com