When using search engine www.bing.com and open search result which poits to the web page with simple menu, the web page doesn't show simplemenu. Some javascript used in bing.com may disable the simplemenu.

CommentFileSizeAuthor
#9 Screen1.png89.34 KBXerraX

Comments

mcrittenden’s picture

Status: Active » Postponed (maintainer needs more info)

Huh? You're clicking through to a site from bing, and simplemenu doesn't show? Look at the site address when you do that, is it your normal address or is it being framed inside bing somehow?

Steps to reproduce?

profjk’s picture

Or, are you talking about the bing indexed content of your site?

maddentim’s picture

I have not seen this bing behavior with my site, but I have noticed that if I have been at Google's Webmaster tools page, then click on one of the links to my site using simplemenu, then menu is not there. even if i switch pages. it freaked me out at first, until i figured out that it was just from the one google page that site visitors would not be coming from but, none the less, it is distrubing.

I was assuming as well that some javascript coming from google was the issue, but i was not sure how to debug it. if someone could let me know what to look for i'd be happy to look into it and report back...

maddentim’s picture

I have also noticed that if I turn on the Theme Developer module, simple menu disappears.

mcrittenden’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Looks like the original issue isn't going to get anywhere. Feel free to post new issues, maddentim, to get your new questions answered.

XerraX’s picture

Status: Closed (fixed) » Active

I have this issue sometimes if users come from igoogle.

mcrittenden’s picture

Status: Active » Postponed (maintainer needs more info)

XerraX: can you be more specific? Steps to reproduce?

XerraX’s picture

You need to create your own iGoogle page (add some widget stuff) and open it in one tab, in an other tab you open the page with simple menu.

the problem is that i dont know what exactly causes this bug, i also have seen this behavior with netvibes and it is not always, just sometimes.

sry for my bad english

XerraX’s picture

StatusFileSize
new89.34 KB

Screenshot added

mcrittenden’s picture

Title: search engine bing cannot open simple menu » Cannot open simple menu when Bing/iGoogle opened
Status: Postponed (maintainer needs more info) » Active
zqproject’s picture

Sorry for not replying everybody, since I havn't visited here.

My issue was resolved. I checked bing.com 's source code and found they used javascript to open a new window. Hence, I moved on to simplemenu's javascript file: simplemenu.js , and noticed code below,

// If detect pop-ups setting is enabled and we are in a pop-up window
if (Drupal.settings.simplemenu.detectPopup && window.opener) {
return;
}

I commented all of them, the issue was resolved then. Hope what I have done will be helpful to your guys' problems

Thanks a lot for your replies.

XerraX’s picture

seems to be working. thx

XerraX’s picture

i just found out that this "fix" breaks imce image browser, even if i set imce* to not show simple menu

you have to set node/add* and node/edit* to get imce working again...

AlexisWilke’s picture

Status: Active » Closed (fixed)

There is now a flag for the pop-up.

To not change the behavior, it is still active by default... but it is very easy to go in the global settings and turn off the feature. This is useful in all situations where the site may be open as a pop-up (i.e. in general, with a target="_blank" link.)

Thank you.
Alexis