Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 10th, 2003, 03:01 AM
Authorized User
 
Join Date: Nov 2003
Location: , , .
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


Reply With Quote
  #2 (permalink)  
Old December 10th, 2003, 12:36 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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.

Peter
------------------------------------------------------
Work smarter, not harder.
Reply With Quote
  #3 (permalink)  
Old December 12th, 2003, 07:29 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

This is not really an answer to your question
Quote:
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">
window.history.go(0);
</script>

Silly answer (kind of answer) to a silly problem:)
Reply With Quote
  #4 (permalink)  
Old October 28th, 2004, 05:52 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

e.g.
...
<% 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">
     </td>
<% Counter = Counter + 1
     rs.MoveNext
   Loop %>

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


Reply With Quote
  #5 (permalink)  
Old October 28th, 2004, 05:57 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Reply With Quote
  #6 (permalink)  
Old June 14th, 2006, 02:43 PM
Registered User
 
Join Date: Jun 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:29 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.