Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:51
Separatorheight problem with ASP with DOCTYPE
Poster: maxva
Dated: Thursday March 3 2005 - 11:01:29 GMT
Hi
Separatorheight not working with a asp file with a DOCTYPE which has been created in DWMX2004
<% __at__ 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
Poster: Ruth
Dated: Sunday March 6 2005 - 10:01:21 GMT
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
Poster: maxva
Dated: Monday March 7 2005 - 12:44:53 GMT
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:
<% __at__ 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:
<% __at__ 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:
<% __at__ 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
Max
Poster: Ruth
Dated: Monday March 7 2005 - 19:31:46 GMT
As I said I don't know anything about asp. I made a page with separatorheight=10; saved it as menu.asp with
Code:
<% __at__ 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.<!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">
LINK REMOVED
The next is with
Code:
<!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<html xmlns="http://www.w3.org/1999/xhtml">
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
Poster: Ruth
Dated: Monday March 7 2005 - 19:40:13 GMT
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:
<!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">
<html xmlns="http://www.w3.org/1999/xhtml">
Ruth