Bug with bgimage and function _eMD

A forum for, well, anything really.
Gripes, moans, ideas or just general chit chat. EXCEPT SPAM!!! - Don't just register to post here - IT WILL GET DELETED!!!
Post Reply
rapomon
Beginner
Beginner
Posts: 1
Joined: Mon Sep 24, 2007 11:16 am

Bug with bgimage and function _eMD

Post by rapomon »

The next function from mmenudom.js is not correct:

Code: Select all

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 ":"
Post Reply