4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: Parasco on February 13, 2007, 01:47:35 AM

Title: Problem with Adding Frames
Post by: Parasco on February 13, 2007, 01:47:35 AM
Hiya !

I'd like to have my main page devided into 2 horizontal frames because I have a chat applet that needs to stay loaded while my members are viewing the gallery, so I tried making the home.html file a frame set and moved all it's previous contents to a new file called main.html (4images gallery) and in my bottom frame I have the chat applet, however for some reason all the values display as html instead of being processed by index.php.  Can someone please tell me how I would go about putting my site in frames :?:

Thanks in advance!

Para
Title: Re: Problem with Adding Frames
Post by: CeJay on February 13, 2007, 07:10:05 AM
you should be calling the exact path to your gallery not a html file
Title: Re: Problem with Adding Frames
Post by: Parasco on February 13, 2007, 02:44:29 PM
Thanks for the quick respond CeJay, but I'm still not sure on how I would do even that :(  Could u please give me a quick example?

Thanks again!

Para
Title: Re: Problem with Adding Frames
Post by: CeJay on February 13, 2007, 07:37:59 PM
Your frames page would have the one side calling the applet.
The other side would call your gallery. The path to your gallery is yourdomain.tld/yourgallery/index.php

You can not set up a html file to include the gallery because HTML will not call php files.

For example your frames page is called frames.html
Your applet page is called applet.html
and your galley is called like above

Code: [Select]
<frameset rows="65%,*">
<frame name="top" src="yourdomain.tld/yourgallery/index.php" scrolling="auto">
<frame name="bottom" src="applet.html">
<noframes>

That code has the applet at the bottom with the gallery at the top. You just have to define the path to your gallery and of course the proper name of your applet page. The top half (gallery half) covers 65% of the page and the applet covers 45% of the page. To change this just edit where you see the "65%".
Make sure you do not set a html page to call the yourgallery/index.php page as it will not work and you will get the results you had before.
If you need more help please provide your URL and I will look into it more when I get time.
Title: Re: Problem with Adding Frames
Post by: mawenzi on February 13, 2007, 08:43:50 PM
... everything correct, but ...
... 65% + 45% = 110% ... ;)
Title: Re: Problem with Adding Frames
Post by: CeJay on February 14, 2007, 12:01:34 AM
... everything correct, but ...
... 65% + 45% = 110% ... ;)

oops  :oops:  bad math!  but you get the idea  :wink:
Title: Re: Problem with Adding Frames
Post by: mawenzi on February 14, 2007, 01:03:32 AM
... as I said ... everything correct ...  :D
Title: Re: Problem with Adding Frames
Post by: Parasco on February 16, 2007, 11:42:55 PM
lol you guys are funny, thanks again gonna give it a try in a bit  :lol:
Title: Re: Problem with Adding Frames
Post by: Parasco on February 18, 2007, 10:20:38 PM
how would I change the redirect after login to redirect to the frames instead of just the regular index.php?
Title: Re: Problem with Adding Frames
Post by: CeJay on February 19, 2007, 07:44:46 AM
i am not really sure where you need to put that

test your html templates by using a  META redirect starting with member.html ?  (just a guess)


if someone else knows hopefully they will post it here  :wink:
Title: Re: Problem with Adding Frames
Post by: Parasco on February 19, 2007, 02:33:59 PM
Thanks alot CeJay :D