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 21st, 2005, 10:49 AM
Registered User
 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Driving me mad - getting a div to display in IE

Hi - I have a page with an outer navigation table that is html with css styles. I have a content area that is within a div. I have another div that contains some 'Loading...' text. The content takes several seconds to retreive all the data from the database therefore I want the Loading please wait to be on screen whilst it does this. I achieve this via a js function that swaps the visibility of the two divs. Simple enough and FF 1.5 does it with ease. But does IE? :( IE wants to make sure EVERYTHING is loaded before it will display anything. Including the top and side nav. If Loading... div is placed outside the main table, just after the <body> tag, it works perfectly in IE. Obviously the text is in the wrong place, but it is what I want to happen, except the loading text should be in the content area, as in what happens with FF.

Any help or guidence or suggestions in this would be great. I am thinking of switching to a completely CSS driven structure, but that is a radical rethink for this site and I want to see what other options I have. Cheers

The URL is http://www.s-nt.co.uk/test_dates_prices.php

ta Frank






Similar Threads
Thread Thread Starter Forum Replies Last Post
div element in array won't display onload linus9 BOOK: Beginning JavaScript 3rd Ed. ISBN: 978-0-470-05151-1 5 November 6th, 2008 02:08 AM
How to display a banner in div control peace2007 Javascript 3 October 5th, 2007 12:38 AM
Browser Detect & Display DIV Script Sean1989 HTML Code Clinic 2 September 1st, 2006 08:18 AM
Trouble with Subqueries, am I going mad. kim3er SQL Server 2000 3 April 10th, 2005 02:13 PM
Driving me nuts! bhd8ball Classic ASP Professional 2 January 7th, 2005 12:55 AM





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