Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Is this Possible- Frames q. ??

  • 29-09-2001 12:28pm
    #1
    Closed Accounts Posts: 2,695 ✭✭✭


    Right Lads & Lassies- Is this Possible??

    Basically I want to build a frameset that will keep its size and will remain in the centre of the screen no matter what the screen resolution. I'm bulding it w/ 800 x 600 in mind but i want it to keep its integrity when viewed @ bigger res. So far i haven't been unable to get the blank A & the blank B to keep their height and force the grey area into the centre.
    The pic below for example is how it would be viewed @ 1024 x 768px.

    framesq.gif

    Does anyone have any suggestions- If anyone wants to write a bit of code quickly to solve it...Lay it on me:)
    thx in advance


Comments

  • Registered Users, Registered Users 2 Posts: 654 ✭✭✭DS


    Use a transparent 1*1 spacer GIF to force the height of A and B i.e.
    <img src="/images/spacer.gif" height="600" width="1">
    You can grab one from my site if you like (or if you're too damn lazy to launch Photoshop yourself) http://www.gamerseurope.com/images/spacer.gif


  • Closed Accounts Posts: 2,695 ✭✭✭b20uvkft6m5xwg


    Even IF I put the spacer in its the height not the width I concerned about. ie.- I want the A & B frames height to shrink and grow w/ the screen res.- the width stays 600px @ the mo. thats not the prob.

    I'll give the spacer idea a try though thx:)

    Any other suggestions keep 'em comin!


  • Registered Users, Registered Users 2 Posts: 1,842 ✭✭✭phaxx


    Ditching frames and using tables? eh? eh? *pokes 80p repeatedly* wan!


  • Closed Accounts Posts: 2,695 ✭✭✭b20uvkft6m5xwg


    I'd ditch the frames alrite if I had your php skills, otherwise it'd take a few years to update stuff when I needed. :(

    No, this is a frames project- I've a set of graphics ready to go if I can get this prob solved:)
    Thx neway Phaxx

    keep'em comin.....


  • Registered Users, Registered Users 2 Posts: 1,842 ✭✭✭phaxx


    *pokes 80p repeatedly for no apparent reason*


    I dunno, I don't think it's even possible with frames... you could, of course, put in some stupid javascript to detect the size of the browser window, and create frame dimensions/spacer gifs of the right size... Just a thought... I'd never do that myself, I avoid javascript like the plague, except in occasionally useful places, like opening a small window, closing small window. Tis the spawn of satan for any other application.

    Does your host support PHP? It's incredibly easy to pick up, all you need is http://www.php.net/manual/ and the webmaster board. :)


  • Advertisement
  • Closed Accounts Posts: 2,695 ✭✭✭b20uvkft6m5xwg


    I'd really love to have the time to teach myself some new scripting languages but I'm in the last year of my degree and I really dont have the time [also the worry of pushing essential information out of my cranium and replacing it w/ new stuff- gawd I'm a worrier:)]

    Maybe next summer or when I get some time I'll enlighten myself a little further. Until then I'm just goin to have to stick html basics:(


  • Registered Users, Registered Users 2 Posts: 654 ✭✭✭DS


    At least learn one function, that being include ( ). That'll solve your supposed updating dilemmas.
    Name your files .php and throw in something like this
    <?php include "http://www.mysite.com/includes/navigation.txt&quot; ?>
    Put a navbar in navigation.txt, and it'll magically appear on your PHP page. Fabulous! Much better than frames, no?


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    First of all, as I've said before, the suggestion that Using Frames Is Bad remains as ludicrous -and annoying - today as it always has been. When used correctly and for a purpose, and when the disavantages are weighed and deemed irrelevant, frames can be very useful and/or cool. There's Nothing Wrong With Frames.

    Secondly, the image with your requirements is gone now, but I honestly don't see the problem. The following code - bear in mind that it's basic and I haven't assigned attributes for demonstration purposes, so it's ugly - works perfectly for me. Am I missing something?

    [The image miraculously reappears, requiring a rewrite]
    <html>
    <head>
    <frameset cols="*,600,*">
    <frame src="page.htm">
    <frameset rows="*,50,400,50,*">
    <frame src="page.htm">
    <frame src="page.htm">
    <frame src="page.htm">
    <frame src="page.htm">
    <frame src="page.htm">
    </frameset>
    <frame src="page.htm">
    </frameset>
    <noframes>
    <body bgcolor="#FFFFFF" text="#000000">
    Gods, but that's an old browser you've got!
    </body>
    </noframes>
    </html>

    adam


  • Closed Accounts Posts: 2,695 ✭✭✭b20uvkft6m5xwg


    Nah Doesn't work Adam

    The 400px frame just expands w/ the window size- I need it to stay the same and centred! (If i have the screen res @ 1024 x 768 then the 400 frame looks about 600- get what i mean??


    BTW- I think frames get a lot of bad press:p

    ["Gods, but that's an old browser you've got! "

    Nice one;)- you put it very nicely indeed- I seen others such as update your browser you fuppin lazy bat$tard]


  • Registered Users, Registered Users 2 Posts: 654 ✭✭✭DS


    Well I happen to be a seasoned frame hater myself. Probably because in most cases they're used badly and turn everything into a tacky mess.
    Then there's some crappy side effects that piss me off, like when I want to see source code. I really don't see much benefit to them, I mean sure they make development more efficient, but only for hard-coded sites with no backend technology.


  • Advertisement
  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    Nah Doesn't work Adam. The 400px frame just expands w/ the window size- I need it to stay the same and centred! (If i have the screen res @ 1024 x 768 then the 400 frame looks about 600- get what i mean??

    Works perfectly for me 80p. The 400px frame only changes size when I make the window smaller than the actual frame sizes (500px). MSIE 6.02, NN 4.76, Opera 5.12, Mozilla 0.92.

    BTW- I think frames get a lot of bad press

    Ditto.

    I seen others such as update your browser you fuppin lazy bat$tard]

    Oh, that was the polite version.

    adam


  • Closed Accounts Posts: 2 e-s-o


    http://redbrick.dcu.ie/~esoteric/comp/

    dont have time to go trough it all but just rip the code.


  • Closed Accounts Posts: 2,695 ✭✭✭b20uvkft6m5xwg


    What a swell GUY / GAL you are e-s-o!!!
    Problem solver extraordinaire- It works like a charm!
    Thats brill-thx very much for the help and to everyone else who contributed.

    For anyone who's interested heres an example of it working- I've left all the frames bar the important one blank and if you view it @ 1024 x 768 or @ a big screen res then you'll see what I was trying to achieve....
    http://www.dotie.f2s.com/zz1.html

    Once agin thx e-s-o !! Its exactly what i need for a new project I'm starting:)


Advertisement