Separatorheight problem with ASP with DOCTYPE

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
maxva
Beginner
Beginner
Posts: 3
Joined: Fri Feb 11, 2005 1:56 pm

Separatorheight problem with ASP with DOCTYPE

Post by maxva »

Hi
Separatorheight not working with a asp file with a DOCTYPE which has been created in DWMX2004

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


Separatorwidth works fine 8O
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I was hoping someone would take a look because I know nothing about doc type nor about asp, nor about DMW.

I took your code you pasted, put it in a test page, and tested putting in separatorheight="10px"; and it worked fine.

Separatorheight works only on horizontal menus, it must be used with separatorsize so that must have a value of at least 1. The separatorheight must be smaller than the actual height of the menu.

Separatorwidth works only on vertical menus, it must be used with separatorsize, again with a value of at least 1.

Separatorsize changes the width of the separator on horizontal menus, and changes the height [thickness] of the separator on vertical menus.

Ruth
maxva
Beginner
Beginner
Posts: 3
Joined: Fri Feb 11, 2005 1:56 pm

Post by maxva »

Hi Ruth

Don't know if this will help:

1. File with an .asp extension and the separatorheight=10 and separatorsize=1 on a horizontal menu setting
With the following:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

separatorheight not working.


2. File with an .asp extension and the separatorheight=10 and separatorsize=1 on a horizontal menu setting
With the following:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

separatorheight works fine.


3. File with an .htm extension and the separatorheight=10 and separatorsize=1 on a horizontal menu setting
With the following:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

separatorheight not working.


4. File with an .htm extension and the separatorheight=10 and separatorsize=1 on a horizontal menu setting
With the following:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

separatorheight works fine.


give it a go :D

Max
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

As I said I don't know anything about asp. I made a page with separatorheight=10; saved it as menu.asp with

Code: Select all

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
in the head of the document.

LINK REMOVED

The next is with

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
saved as .htm

LINK REMOVED: This works, also.

I don't know if I can just make a save a page as .asp and have it actually be that. I use IE and it comes up OK.

Can you post your menu_data.js code here, or give us a url to look at the page? If you post, please use the code button above.

Ruth
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I just found something out with regard Netscape. It doesn't show the separator unless you actually specify px, separatorheight="10px";

LINK REMOVED: This is with the

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 


Ruth
Post Reply