GIF not drawing sometimes.

This is a discussion on GIF not drawing sometimes. within the Tech Board forums, part of the Community Boards category; >>Why use frames? Why not tables? (design question, rather than solving your probem!) Well, sometimes is better to use frames, ...

  1. #16
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    >>Why use frames? Why not tables? (design question, rather than solving your probem!)

    Well, sometimes is better to use frames, if he wants to change the content from the table on the fly, not reloading all the page, well in frames I just changer their src, but if he is using frame for design, like the location of the things, table is extremely better for make that, and it's easy too, tables supports percents too.

  2. #17
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Here is a blank page with a simple border around it. Oddly, I have not had this page show the fault yet, but maybe there is something screamingly obvious in there anyway. Put all the files into a directory and load "TopLevel.html".
    Attached Files Attached Files
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #18
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Hammer:

    I cleared out the cache - have seen the problem later.

    >>> Why use frames? Why not tables?

    I guess I find it easier, especially when using a navigation frame, I can just target the "display" window with whatever someone clicks in the "nav" window".

    What's wrong with using a frame?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  4. #19
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    >>I guess I find it easier, especially when using a navigation frame, I can just target the "display" window with whatever someone clicks in the "nav" window".
    <<

    What I told you, when talking about navigation, it's really really better, for changing within links you simply use target="frmName" and if you are scripting access it from the DOM and change the src, by: document.all['frmName'] //just IE, document.layers['frmName'] //just NS or simply by document.frmName

    >>What's wrong with using a frame?
    Nothing, most of the browsers today supports frames, even lynx.

    Ahh the about your page, I can't see any serious error there, I'm still searching.

  5. #20
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>What's wrong with using a frame?
    Only that it makes it harder for people to bookmark pages within your site, and IIRC, search engines can 1) get confused and not see your *real* pages, and 2) link directly to a *real* page so when a user loads it there are no frames. Scripting can get round some of these problems, but that's extra hassle.

    Personally, I use frames on my Intranet site at work, simply because its was easier at the time, and as Vber says, doesn't require the user to reload the menu type part each time. In that environment it suits me nicely. From what I can gather, the use of frames is another one of those endless topics that covered in enormous amounts, and all boils down to personal preference. If I was building an internet site though, I'd probably try to do it with tables instead.

    >>I cleared out the cache - have seen the problem later.
    Oh well, worth a try. I have Mozilla at home, if no one else has tried your stuff on there (or fixed the problem), I'll do so tonight and let you know.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  6. #21
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    Hammer, some of your words are correct, I agree with you in one thing, when talking about design and using frames, it's waste of time, but if we're talking about frames that will change all the program (like a central frame to receive any new pages the user choose to go) this is EXTREMELY needed, and in this case I use IFrame.

    >>that it makes it harder for people to bookmark pages within your site

    read this

    >>Scripting can get round some of these problems
    Correct, most of what you wrote can be corrected by few line of js.
    Last edited by Vber; 03-18-2003 at 10:10 AM.

  7. #22
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Adrian, not that this is a great solution, but have you tried converting the images to another format? Jpgs? pngs? I don't know why it would matter, but maybe it's the actual type of file that IE doesn't like.

  8. #23
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    All of the other simple frame elements, (there are a lot of them), are .GIF's and work fine, it is only the extreme edge pieces which show the problem. I use .GIF's because, (as long as you are using the 0369cf palette - I am), they are the smallest I can produce, therefore should be the fastest to download, and the colours don't get screwed around with, which happens with jpg.

    As I've said, I believe, I haven't tried yet, that if I make them say 16 x 16, they will work, (all the other 16 x 16's work). I just cannot see why they should not work as they are.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  9. #24
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    Adrian, your page is not giving me any problem, actually, the only problem is displaying the page in Mozilla, I see white borders everywhere where contains frame. I'm not sure but this is your problem?

    In IE it works well at least.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drawing HBITMAP into CWnd, Acquired from "screenshot"
    By DeusAduro in forum Windows Programming
    Replies: 6
    Last Post: 07-02-2009, 03:41 PM
  2. Slow drawing code
    By tjpanda in forum Windows Programming
    Replies: 5
    Last Post: 05-09-2008, 05:09 PM
  3. Line Drawing Algorithm
    By Axpen in forum Game Programming
    Replies: 15
    Last Post: 08-01-2005, 06:30 PM
  4. How to do double buffing with win32 drawing?
    By Josh Kasten in forum Windows Programming
    Replies: 2
    Last Post: 03-26-2004, 11:02 PM
  5. drawing minimaps and radar screens.
    By Eber Kain in forum Game Programming
    Replies: 4
    Last Post: 03-08-2002, 10:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21