PDA

View Full Version : Omni Slide Menu IE with background image offsets



iamtoday
08-09-2010, 07:42 PM
1) Script Title: Omni Slide Menu script by John Davenport Scheuer

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm

3) Describe problem:
Ref: http://www.greenfees.com for IE only (other browsers work fine)

The greenfees website has a background image. The Slide menu dislocates from the center to all the way at the bottom of web page (scroll to see):(

When the background image is removed, it works fine on IE

Thanks
Gerry

jscheuer1
08-10-2010, 02:25 AM
Use a valid page, or at least a DOCTYPE that invokes standards. Change:


<link rel="stylesheet" type="text/css" title="main" href="/layout/stylebg.css">


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 FINAL//EN">
<HTML>
<HEAD>
<TITLE>World Golf</TITLE>
<META NAME="GENERATOR" CONTENT="WebDesigner/0.1.6">
<meta name="Description" cont . . .

to (HTML 5):


<!DOCTYPE html>
<HTML>
<HEAD>
<TITLE>World Golf</TITLE>
<link rel="stylesheet" type="text/css" title="main" href="/layout/stylebg.css">
<META NAME="GENERATOR" CONTENT="WebDesigner/0.1.6">
<meta name="Description" cont . . .

or to (closest comparable valid URL DOCTYPE):


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>World Golf</TITLE>
<link rel="stylesheet" type="text/css" title="main" href="/layout/stylebg.css">
<META NAME="GENERATOR" CONTENT="WebDesigner/0.1.6">
<meta name="Description" cont . . .

There still could be problems though, the entire page is sort of sloppily coded. But just this much will probably take care of this issue.

iamtoday
08-10-2010, 07:33 PM
John. Thank you for the quick response and suggestion. It worked perfectly. I agree my code is a bit sloppy, ok....sloppy. I took bits and pieces of several DD resources over the years and strung them together (ref lead sheet http://www.greenfees.com). Someday when time allow., I will clean it up in accordance with SEP (Software Engineering Procedures) Right now its only me and I am wearing ALL the hats. I thank you once again!!!
:):cool::D
Gerry