Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:42

Question about aI("text=...")


Poster: perldev
Dated: Monday June 6 2005 - 21:26:29 BST

When appending <sup>&reg;</sup> to the text attribute of aI, the possition of text becomes lower; (see the second tab of demo)

How to fix this? Thanks.


Poster: Ruth
Dated: Monday June 6 2005 - 22:58:57 BST

It's the padding, which doesn't 'ignore' the sup and let that go into the padding area, it considers it part of the 'word'. So, to fix it put this in your css style [name it what you want]
Code:
.regpad{padding-top:2px;padding-right:10px;padding-bottom:5px;padding-left:10px;}

Then in the aI string that uses that sup, put this
Code:
aI("text=My Services<sup>&reg;</sup>;offclass=regmenu;onclass=regmenu;url=/services/;showmenu=m1;")
That changes the top padding for that particular item. I tested it in IE, Netscape, Firefox, Opera and it works fine.

Ruth


Poster: perldev
Dated: Tuesday June 7 2005 - 14:07:01 BST

It worked. But after apply regpad, the height of menu item is greater. Check the demo again.


Poster: perldev
Dated: Tuesday June 7 2005 - 14:17:44 BST

Change the left/right padding to 0px works:
Code:
.regpad{padding-top:2px;padding-right:0px;padding-bottom:5px;padding-left:0px;}


Using onclass/offclass on menu item, the default padding 5px 10px 5px 10px still has impact.

Refco


Poster: AmrSalem
Dated: Tuesday June 7 2005 - 15:17:05 BST

well .. i'm not experinced in dhtml menu's to replay your question

i'm more intersted in futures trading

u can contact me on yahoo messenger under username: XXXXXXXX

<hr>Edit by kevin3442: This is not a forum for advertising personal services. Please stick to the topic at hand. Thank you. --Kevin.
<hr>


Poster: perldev
Dated: Tuesday June 7 2005 - 17:44:43 BST

AmrSalem,

I am a developer; don't know much business. :oops:

If you are interested in futures trading, we do have very good resource for you.


Edit by John: Same as Kevin's comment above. If you want to talk business please take it to email.


Poster: AmrSalem
Dated: Tuesday June 7 2005 - 21:16:32 BST

dear perldev,

thanks for the resource :D