Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 10th, 2003, 03:01 AM
Authorized User
Join Date: Nov 2003
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default Strange graphic appear-disappear

I have a rather silly problem.
I have made an asp page with dreamweaver. There is a table with a repeated region that in the first column contains a very small graphic, gif pic that is a bullet. Filesize is some bytes.
I also have in the web page several other graphics, not many though.
My problem is that this bullet is not always displayed when I see the page in internet explorer. This is the most common. In other cases maybe the bullet displayed but not one of the other graphics.
But in most cases the problem is about the bullets which should be displayed in the repeated region table’s cells.
If I make a refresh in ie, then, all other graphics are displayed. Bullets attitude vary. Sometimes they displayed with refresh, sometimes not.
That’s the problem.
I have no idea why this happen.
What causes this disappearing? What can I do to solve it for sure?

Thanks in advance

Old December 10th, 2003, 12:36 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

This is a commonly reported problem. I don't know of a bug in I.E. but this seems to be a common occurance in i.e. I notice it more when I'm on a fast connection, almost like the connect is too fast and the browser doesn't request some images. It does seem to happen more often with images that are repeated many times on a page (like bullets or clear spacer gifs). I see it now and then on the p2p site.

Work smarter, not harder.
Old December 12th, 2003, 07:29 PM
Friend of Wrox
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts

This is not really an answer to your question
quote:karib: What can I do to solve it for sure?
but if it's more likely that the browser displays the bullets after a refresh, perhaps when the page loads it refreshes itself?

<script language="javascript">

Silly answer (kind of answer) to a silly problem:)
Old October 28th, 2004, 05:52 PM
Registered User
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

This seems to be an ie bug (have had this problem in 5.5 and 6.0).
It mostly occurs when displaying re-occurring images of the same
name within table cells or backgrounds.
It happened for me whilst dynamically outputting tables with asp
whilst iterating through a sql recordset. The images that were
problematic were gif and jpg bullet images.
I solved this problem by making each image filename affected unique
by implementing a counter within my loop structure and appending
it as a url parameter to the end of my filenames. This is basically
a hack that fools the browser into thinking each file is unique and
therefore reloading each one as the page loads.

<% Dim Counter
   Counter = 0
   Do While Not rs.EOF %>
     <td width="60" bgcolor="#BBD0E3">
       <img src="imgs/arrow_head.gif?x=<%=Counter%>" width="30" height="33">
<% Counter = Counter + 1
   Loop %>

Hope this helps anyone who got as annoyed with this bug as I did ;o)

Old October 28th, 2004, 05:57 PM
Registered User
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

oh.. forgot to mention in my previous post.
Some people say this problem can be solved by using javascript to
preload images.
I do this in most of my pages by default and it didn't work for me...
With that said, it may work for you if nothing else does.

Old June 14th, 2006, 02:43 PM
Registered User
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Its because dreamweaver adds tons of crappy javascript. Remove all the crappy preload images, javascript functions and it will fix itself.

we have a customer who was displayed in our frames and he claimed it was us. So we stripped out ALL of the dreamweaver code and it works just fine now. Out of 50 customers, he was the only site that had this problem. Thank god hardly anyone uses dreamweaver nowadays!

Stop using dreamweaver and this will never happen.

Similar Threads
Thread Thread Starter Forum Replies Last Post
making cursor disappear morphy Beginning VB 6 8 June 7th, 2007 02:56 PM
Dreamweaver managed sites disappear bekki levien Dreamweaver (all versions) 0 April 9th, 2007 11:27 AM
Links that disappear Surre ASP.NET 1.0 and 1.1 Professional 8 February 2nd, 2007 11:15 AM
Radio buttons disappear JoeBob49 ASP.NET 2.0 Basics 2 November 27th, 2006 09:57 AM
Menu disappear! Tachyophan Excel VBA 0 December 19th, 2003 03:02 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.