Forums

[resolved] [Plugin: announcement] Null in title bar of announcment in IE (2 posts)

  1. mrangoonwala
    Member
    Posted 3 years ago #

    Hello Everyone,

    I am trying to use the announcement plugin: http://wordpress.org/extend/plugins/announcement/. It works great in FF, Safari and Chrome, but there was an issue with it not working in IE. I have fixed that by changing line 80 in announcement.php from:
    myLightWindow.activateWindow({href: '$plugin_path/content.php', width:600, class: class="lightwindow page-options"});

    To:
    myLightWindow.activateWindow({href: '$plugin_path/content.php', width:600});

    So now it works, but there is a 'Null' in the top left corner of the announcement. My PHP skills are very limited and if anyone could help me figure it out, that would be great.

    Thanks in advance.

  2. mrangoonwala
    Member
    Posted 3 years ago #

    OK, I got this fixed. IE was just being retarded, as usual. In the activateWindow command, there is an option for title. FF, Safari and Chrome all recognize that if its not there, it should be left blank. But IE in it's infinite wisdom, decided it should make it null. So I fixed it by adding "title: ''" to make th line look like this:
    myLightWindow.activateWindow({href: '$plugin_path/content.php', title: '', width:600});

Topic Closed

This topic has been closed to new replies.

About this Topic