Four issues with Dynamic Web Template

D

David Kirk

I am converting one of my sites to use dynaic web templates. I have created
one so far (http://www.gayrites.net/gayrites.dwt) and it's working
beautifully on my one test page so far,
http://www.gayrites.net/dwtcontenttest.htm) However, I am having a couple of
issues I can't resolve.

1. The background image, coming from a .css file, is loading too soon so
that the first thing you see is a gray blob. (The image creates a drop
shadow around the table.) I found a script to fix this but don't know how to
use it. I assume I should use it in the .css file not the dwt file but I'm
not clear where exacty it should go, even though I'm sure it would be obvious
to most of you wizards who will read this. Here's the code:

<html>

<head>

<script language="JavaScript"><!--
var theImage = new Array('im1.gif','im2.gif','im3.gif');
var loaded = false;

function loadNext(imageName, image2Load) {
if (!document.images || !loaded) return; // images not supported
document.images[imageName].src = theImage[image2Load];
}
//--></script>

</head>

<body onLoad="loaded=true; loadNext('image0',0);">
<IMG SRC="blank.gif" NAME="image0" onLoad="loadNext('image1',1);">
<IMG SRC="blank.gif" NAME="image1" onLoad="loadNext('image2',2);">

2. I create my drop-down menus using a program called All Web Menus Pro.
There's script at the beginning of the dwt that places the menu by default in
the uppper left hand corner of the page. I then use an anchor ID to place it
where I want it to appear on the page. When the page loads, however, the
menu briefly appears in the upper left hand corner and then sort of jumps to
its spot. Any ides for getting it to appear where I want it to be in the
first place?

3. I am running 768 x 90 ads provided by Adify in a layer that, when
previewed in FP and using absolute positioning, appears exactly where I want
it to be. Howvwer, in IE, Opera, Firefox and Safari, the layer moves quite a
bit to the left or right. How can I make it stay where I put it?

4. In IE, the centered table appears, well, centered but in the other three
browsers, it bumps to the left such that the background image that creates
the drop shadow is exposed on the right-hand side. Help?

I really appreciate the quality of the help I have received here and thank
you in advance for your generosity in helping me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top