close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

flashing of main module in IE8

Thread began 12/17/2009 12:30 pm by jz288666 | Last modified 12/17/2009 7:14 pm by jz288666 | 2202 views | 5 replies |

jz288666

flashing of main module in IE8

website:
www.virtualastrology.com

when clicking on the "click to enter" and opening main.html, there is a brief display of something that looks like CSS info. When subsequent tries, the flashing of data is much faster but still there. Closing IE8 and revisiting the site repeats the problem.

The problem doesn't seem to happen in Firefox.

Do I have something misplaced in the main.html file? I can't figure it out.

John

Sign in to reply to this post

Jimmy Wu

I'm not able to reproduce this behavior in IE8. Everything loads correctly for me in both FireFox and IE8. Do you have another machine you can test on to see if this happens there as well?

Sign in to reply to this post

neilo

FYI, - What I am seeing in IE8 is a brief second's view of the page before the external stylesheet is applied. Perhaps if you referenced the stylesheet from your index page to preload stylesheet, it would cut out the load time on the main.html page? Not sure if this makes sense or not.

Sign in to reply to this post

jz288666

Where in the index.html do I put the proload command and what is the syntax?

Thanks for the help!

John

Sign in to reply to this post

neilo

Hi,

To be honest, I'm not sure that it'll make that much difference. But you would simply reference your stylesheet the same way it appears on your other page, i.e:

<title>Virtual Astrology Home Page</title>
<style type="text/css" media="all">
<!--
@import url("styles.css");



What might be helpful would be to preload the main page feature image (it's 71kb) on the index (enter) page, so that the image is already cached before the main page opens:

So add the preload image script to the head area:

<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>


and add a body onload event:

<body onload="MM_preloadImages('plugins/images/feature.jpg')">
Sign in to reply to this post

jz288666

Thanks, those changes fixed the majority of the problem. There remains a very brief flash when going from module to module. Each module has the '@import url("styles.css")' command in the beginning of each file. This command was placed by webassist and much less annoying now.

I wish there were a way to eliminate it altogether though.

Thanks for your help.

John

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...