Back To Start Of Archive
Taken From The Forum: Anything Goes
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:28
Bug with bgimage and function _eMD
Poster: rapomon
Dated: Monday September 24 2007 - 11:21:52 BST
The next function from mmenudom.js is not correct:
Code:
function _eMD(d){_it=d.split(":");return _it[1].replace(/;/g,"")}
For example, the bgimage property for submenus is equal to http://www.domain.com/images/background.gif
The function try to split background-image:url(http://www.domain.com/images/background.gif);
returns url(http
The function splits the string twice because it contains two ":"