Using Frames

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
CRazY HoBbIt
Newbie
Posts: 3
Joined: Sat Jul 10, 2004 12:46 am

Using Frames

Post by CRazY HoBbIt »

hello!

I've noticed that it would be kind of hard to use the auto-update feature of keenspace with frames, and thus my question is, Is it possible to make the 'Index' page not the main page?

I've read through the forums and such, and have seen posts on frames, but not on my specific idea...

For example I want a page (main.html) to load first which will be a frameset, and in one of those frames, have Index be the base for that frame. Infact, It wouldn't be that hard to just skip the auto update feature and manage it myself (what I've had to do many times before keenspace accepted me), though I figure if I could find out how to make the frameset page the main page that loads when one goes to " http://Ly7comix.keenspace.com " and have the Index that updates as just one of the frames, then my job will be much much easier ^.^

Anyways, thanks for any suggestions, and your time!,
-CHoBbIt-

User avatar
YarpsDat
Cartoon Hero
Posts: 3637
Joined: Wed Oct 30, 2002 5:28 am
Location: nowhere

Post by YarpsDat »

I think you could try something like this:

Don't use ***todays_comics*** in your indextemplate.html
Instead, make the indextemplate the frameset, with one of them set to src="/d/***todays_date***.html" or something.

BTW, remember to keep the ***advertisement*** in the dailytemplate!

I can't guarantee it would work though.

I really don't see _why_ would you want to use the frames though...
I can see two reasons:
a) you want the nav buttons to be visible at all times.
But what for? Sure, the reader won't have to scroll to go to your archives, gallery or whatever, but how often would they want to do it? And... are they willing to sacrifice 20% of their screen space just to avoid a bit of scrolling?

b) you just want to make the buttons once, without having to paste the code everywhere.
But why? You only need to put it in dailytemplate and indextemplate, and autokeen will paste it everywhere you need them.

Perhaps you have some other idea, but I doubt the frames are really necessary.
You are the Non. You must go now, and never return."

"1.Scan in high res 2.tweak with curves,levels or something to clean up the scan (or use channel mixer to remove blue pencil lines) 3.Add colour using a layer set to multiply. 4.Add wordbubbles and text as vector shapes. 5. Merge all layers. 6.resize to the web size. 7. Export/Save for Web" that's all I know about webcomicking.

CRazY HoBbIt
Newbie
Posts: 3
Joined: Sat Jul 10, 2004 12:46 am

Post by CRazY HoBbIt »

why use frames you ask? Cause I'm EVIL I tell you EVIL, MUAWAWAWAWA

...
*cough*, ahem, anyways, now that that's past us, ^.^

A) I'd like to thank you a lot for your suggestion, it sounds sensible, and it's just evil enough to work >.>

B) I think my main worry with that was wondering if it would still update the archives regularly, but now that i think of that, it seems to me that there's no reason it shouldn't ^.^

so THANKS !!!

as for using frames, well ...

A) I've been using frames for as long as i can possibly remember ^.^
B) I've got these ideas, i tell you, ideas... plus if they don't work i can always make the page like a normal non-idiot person ^.^

anways Thanks again for the suggestion, I'll see about implementing it...wish me luck ^^,
-CHoBbIt-

User avatar
YarpsDat
Cartoon Hero
Posts: 3637
Joined: Wed Oct 30, 2002 5:28 am
Location: nowhere

Post by YarpsDat »

CRazY HoBbIt wrote: A) I've been using frames for as long as i can possibly remember ^.^
B) I've got these ideas, i tell you, ideas... plus if they don't work i can always make the page like a normal non-idiot person ^.^
Oh, well, the first page I ever made was all frames. And I had a reason too, because it was supposed to look like a scroll shooter, with various stats (ie. weapons, ammo, score ect.) around the "screen" that contained the body of the page...

I never used frames again, they are just... eugh.
So if they really are necessary, go for it, but if they are not consider using frames/css instead.

Oh, BTW, should you decide to go manual, remember you are supposed to upload pages to /workspace/webpages/
ie. /workspace/webpages/aaa.html will become yoursite.keenspace.com/aaa.html
/workspace/webpages/subdirectory/aaa.html will become yoursite.keenspace.com/subdirectory/aaa.html (!)

Anyways, good luck with your page.
You are the Non. You must go now, and never return."

"1.Scan in high res 2.tweak with curves,levels or something to clean up the scan (or use channel mixer to remove blue pencil lines) 3.Add colour using a layer set to multiply. 4.Add wordbubbles and text as vector shapes. 5. Merge all layers. 6.resize to the web size. 7. Export/Save for Web" that's all I know about webcomicking.

CRazY HoBbIt
Newbie
Posts: 3
Joined: Sat Jul 10, 2004 12:46 am

Post by CRazY HoBbIt »

ah, sounds like a fun page!, yeah I'm thinking CSS might be implemented into mine.
And thanks for the suggestion for manuel, chances are I would just have gotten confused ^.^, luckily I'm quite a distance from actually having to go manuel, I know of the pain that is manuel, for I've had to do comics that way before keenspace allowed me on their lovely server...And I would like to avoid it if at all possible ^.^

hmm, now to make this page actually hopefully work ...
Thanks again,
-CHoBbIt-

User avatar
CarrotsNmySOX
Newbie
Posts: 21
Joined: Wed Oct 15, 2003 2:23 pm
Location: TX
Contact:

Hate to string this out

Post by CarrotsNmySOX »

I use frames for my web comic. For many years i had no frames. In fact, this web comic is the first site i've ever had with a bar! And damnit, i LOVE the bar. Sites without bars can be messes- you can get lost in them, lose the frontpage info that you dont want to stick on every sub page. Anyway, it works for me (im one of those people that likes to have everything at once)

...But my reader have that one little problem with the main page aforementioned. With the above solution, you get to the comic, but hey, your main frame doesnt get any cool stuff on it! Suddenly, all the info is on the bar, and thats no good at all. (a bar is not an actual source center) What you'd have to do is link directly to the image (comics/*date*.jpg) on your main page to get it on that. but, oops, now the original problem is back! Unless you make EVERY archived page with the main page's info... and thats dumb too, too much loading. Its a circle, a problem that as of yet has no solution.

I think its time that there is a little bubble to check in the keenspace account that say 'I use frames' and a mainindex.html as well as a barindex.html for frame users. I say, make Keenspace frame compatable!
<carrot)--<

<a href="http://futagofutago.keenspace.com">
FUTAGOFUTAGO-Sex, violence and sappy shoujo talk</a>

User avatar
YarpsDat
Cartoon Hero
Posts: 3637
Joined: Wed Oct 30, 2002 5:28 am
Location: nowhere

Post by YarpsDat »

I just figured there might be a problem with this:
YarpsDat wrote:s_comics*** in your indextemplate.html
Instead, make the indextemplate the frameset, with one of them set to src="/d/***todays_date***.html" or something.

BTW, remember to keep the ***advertisement*** in the dailytemplate!
Because when you go to "next comic" from the second to last comic, it sends you to index.html. And in case of frames it would make the frameset load again inside the frame... bad.

You'd need that javascript that detects if the page was loaded inside a frame, and when it happens reloads the page without the frame.
You are the Non. You must go now, and never return."

"1.Scan in high res 2.tweak with curves,levels or something to clean up the scan (or use channel mixer to remove blue pencil lines) 3.Add colour using a layer set to multiply. 4.Add wordbubbles and text as vector shapes. 5. Merge all layers. 6.resize to the web size. 7. Export/Save for Web" that's all I know about webcomicking.

User avatar
CarrotsNmySOX
Newbie
Posts: 21
Joined: Wed Oct 15, 2003 2:23 pm
Location: TX
Contact:

re:

Post by CarrotsNmySOX »

You'd need that javascript that detects if the page was loaded inside a frame, and when it happens reloads the page without the frame.


You know of something like this? dear god man, divulge the location of such a holy script~!
<carrot)--<

<a href="http://futagofutago.keenspace.com">
FUTAGOFUTAGO-Sex, violence and sappy shoujo talk</a>

User avatar
YarpsDat
Cartoon Hero
Posts: 3637
Joined: Wed Oct 30, 2002 5:28 am
Location: nowhere

Post by YarpsDat »

Well, a couple years back when I was learning JavaScript, and the frames were still popular nearly every website about java had it.

I guess I could google one

Allright.
How to Break Out of Frames with JavaScript (Frame BreakOut Script) ... looks like it!

There are different versions of the code

Code: Select all

<head>
<script language="JavaScript" type="text/javascript">
<!--
  if (top.location != location) {
    top.location.href = document.location.href ;
  }
-->
</script>
</head>

Code: Select all

<head>
<script language="JavaScript" type="text/javascript">
<!--
if (parent.frames.length != 0) {
    top.location="http://yoursite.keenspace.com/index.html";
  // loaded in frames
}
else {
  // not loaded frames
}
</script>
</head>
You are the Non. You must go now, and never return."

"1.Scan in high res 2.tweak with curves,levels or something to clean up the scan (or use channel mixer to remove blue pencil lines) 3.Add colour using a layer set to multiply. 4.Add wordbubbles and text as vector shapes. 5. Merge all layers. 6.resize to the web size. 7. Export/Save for Web" that's all I know about webcomicking.

User avatar
CarrotsNmySOX
Newbie
Posts: 21
Joined: Wed Oct 15, 2003 2:23 pm
Location: TX
Contact:

I HAVE THE SOLUTION

Post by CarrotsNmySOX »

okay so that java you handed me was just confusing :P But i have a geeky java-savy brother who solved the problem (we were working on it together but really he should get all the credit) but anyway,

HERE IS THE SOLUTION!

okey-dokey, assume your page is a simple 2 framer, a bar and a main. so you have:

index.html
---bar.html
---main.html

this script goes on your main.html in the body tag.



<!-- // THIS SCRIPT keeps your main page as main when clicking 'next comic' -->
<script language="JavaScript" type="text/javascript">
<!--
if (top.framemain.location != "http://YOURCOMIC.keenspace.com/Main.html") {
top.framemain.location = "http://YOURCOMIC.keenspace.com/Main.html";
}
-->
</script>
<!-- // THIS SCRIPT keeps your main page as main when clicking 'next comic' -->


change YOURCOMIC to whatever the heck it is on your URL and Main.html to whatever your main page's URL is. If your frame is named something other than 'framemain', change that to whatever you've named it. If you havent named it, name it for god's sake! To name it, put this in your indextemplate.html in the frame tag for the main frame, like this:


<frame src="Main.html" name="main" border="0">


anyway, thanks for all the hard work, i hope this goes to good use! If you want to check out how well it works, check out my comic!

http://futagofutago.keenspace.com

Post Reply