Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > repainting a frame

Reply
Thread Tools

repainting a frame

 
 
Ike
Guest
Posts: n/a
 
      02-12-2004
I have a frame, which, I am resisizing from rows (frameset rows) from 0 to a
value, in effect, making the frame visible/invisible based on activity at
another frame.

However, I need to be able to "repaint" this frame, as artifacts of whatever
whas there, on that portion of screen previously, seems to linger about. I
dont mean to reload the frame (in fact, I expressly do not want to do that)
but rather just to 'repaint' the frame.

This only occurs in Netscape (Mozilla, 7.1) not in MSIE. Does anyone know
how to do this?

I am enclosing my source code here. The first 40 pixels in height are a tab
bar, the content is in the remainder below it. However, it seems the first
40 pixels of the remainder are what I need to repaint. Perhaps I have a
glaring error in my code that is only manifesting in Netcape? Thanks, Ike

Here is the main page, which instantiates the frames:

<HTML><HEAD>
<TITLE>Guerrilla Grip Main</TITLE></HEAD>
<frameset rows="40,*,0,0,0">
<frame src="ggtab1a.php" name="main" scrolling="no" noresize
FRAMEBORDER=0 BORDER=0 FRAMESPACING=0 marginwidth="1"
marginheight="1">
<frame src="index.html" name="work" FRAMEBORDER=0 BORDER=0
FRAMESPACING=0 marginwidth="0"
marginheight="0">
<frame src="chat/chat.php" name="work" FRAMEBORDER=0 BORDER=0
FRAMESPACING=0 marginwidth="0"
marginheight="0">
<frame src="GGUser.php" name="work" FRAMEBORDER=0 BORDER=0
FRAMESPACING=0 marginwidth="0"
marginheight="0">
<frame src="reports/index.php" name="work" FRAMEBORDER=0 BORDER=0
FRAMESPACING=0 marginwidth="0"
marginheight="0">
<noframes>
<body>
<p>
<p>This web page uses frames, but your browser doesn't
support them.</p>
</body>
</noframes>
</frameset>
</BODY>
</html>


Here is ggtab1a.php:

<html lang="en-US">
<head>
<title>Tabs</title>
<link rel="stylesheet" href="lstyle.css"
media="screen,projection" type="text/css">
</head>
<body>
<div id="navcontainer">
<ul id="navlist">
<li id="active">
<a href="ggtab1a.php" target="_self"
onClick="parent.document.body.rows='40,*,0,0,0'" id="current">Homepage</a>
</li>
<li><a href="ggtab2a.php" target="_self"
onClick="parent.document.body.rows='40,0,*,0,0'">C oworkers</a></li>
<li><a href="ggtab3a.php" target="_self"
onClick="parent.document.body.rows='40,0,0,*,0'">A pplications</a></li>
<li><a href="ggtab4a.php" target="_self"
onClick="parent.document.body.rows='40,0,0,0,*'">R eporting</a></li>
<li><a href="logout.php" target="_parent">Logout</a></li>
</ul>
</div>
</body>
</html>

The remaining pages, ggtab2a.php, ggtab3a.php, ggtab4a.php are just like
this one, only they highlight themselves in the ul list as ggtab1a.php does
above. -Ike


 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      02-12-2004
On Thu, 12 Feb 2004 15:54:25 GMT, "Ike" <> declared in
alt.html:

> I have a frame


Don't.

http://html-faq.com/htmlframes/?framesareevil
http://homepage.ntlworld.com/l_vajzo...eb/frames.html
http://dorward.me.uk/www/frames/
http://www.google.com/webmasters/2.html (see under "Your page uses
frames")

--
Mark Parnell
http://www.clarkecomputers.com.au
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
repainting due to a menu Oxnard Java 4 10-12-2004 09:48 PM
repainting Panels Chris Lawson Java 1 02-10-2004 05:39 PM
repainting panels Chris Lawson Java 0 02-09-2004 12:39 AM
Problem repainting Sadalsud Java 1 11-18-2003 02:58 AM
Retarding the repainting of a JComponent Richard B. Christ Java 1 10-25-2003 01:50 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57