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:21
spaces in menutext
Poster: systemman
Dated: Saturday March 1 2008 - 12:01:20 GMT
Hallo,
I have just build a menu on a website using milonic dhtml menu accross frames.
every thing is correct in Mozilla but in IE7.0 there are a few things wrong.
Stil the menu placing is correct but within the menunames(text) the spaces are gone.
aI("text=Home ;url=welkom.htm;target=body;")
aI("text=Actueel ;showmenu=actueel;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Organisatie ;showmenu=org;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Kerkelijk leven ;showmenu=kleven;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Jeugdwerk ;showmenu=jeugd;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Kerkgebouwen ;showmenu=bouw;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Links ;url=links.asp;target=body;");
aI("text=Foto's ;showmenu=foto;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Contact;showmenu=contact;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
as you can see above f.i. after the text Home there is a space. This space i'snt to see in IE, but still in Mozilla.
So the total length of tehe menu is also correct, but at the end there are the spaces I think.
How can I make this happen like Mozilla?
Re: spaces in menutext
Poster: John
Dated: Saturday March 1 2008 - 15:02:22 GMT
Use the standard HTML code for a space; e.g., Home ;. Note that you will need the double ;; in your code, so a full line would look like this...
Code:
aI("text=Home ;url=welkom.htm;target=body;");
Re: spaces in menutext
Poster: systemman
Dated: Saturday March 1 2008 - 16:32:30 GMT
John wrote:
Use the standard HTML code for a space; e.g., Home ;. Note that you will need the double ;; in your code, so a full line would look like this...
Code:
aI("text=Home ;url=welkom.htm;target=body;");
great that works thanks