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

Menu opens pages in new window???


Poster: grimmy
Dated: Friday December 16 2005 - 17:13:22 GMT

When you visit my website: http://www.southsidechurchhome.com (I am not the greatest web-builder, I know) - The first visited homepage opens every menu item in a new window. However, once that second window is open, everything opens in the same window from there....??? Can't seem to find what is causing it, I did not have this problem when I first started using Milonic, must have made a change somewhere I am not aware of.


Poster: Shap5202
Dated: Friday December 16 2005 - 17:19:23 GMT

I haven't looked at your site/code but the reason it doesn't open a window the 2nd time is because of the target name is already open.

If you put 'target=somewindow' in a link, it would open the link in that id. If it opened a new window... it would give the window the id/name of 'somewindow'. Any subsequent clicks will attempt to open in the same target, and since the window is open, it's basically reloading the page.

Check to see if you're assigning a target to the links. Hopefully that all made sense


Poster: Ruth
Dated: Friday December 16 2005 - 17:34:52 GMT

Hi,

Update your menu version, there were problem with new windows and that has been fixed in 5.737. I don't use things like base targets and don't know about that but you have that listed on your page, not sure if that is causing the problem because of the bug in 5.736

Ruth


Poster: grimmy
Dated: Wednesday December 21 2005 - 17:00:01 GMT

Sorry, the upgrade did not fix it...I see someone else is having the same issue now. Let me know if you guys figure it out...


Poster: Ruth
Dated: Wednesday December 21 2005 - 18:20:28 GMT

Hello,

Do you want it to open in a new window? I can't find any item coded to open the page in a new window, and when I download the page and use 5.737, and now the newest 5.738, the pages do not open in a new window.

This shouldn't have anything to do with that problem but you don't have the menu placed correctly for being in a table. The submenus have to be built before the main menu when you have it in a table. There's a link below to the table menu directions.

Ruth


Poster: grimmy
Dated: Wednesday December 21 2005 - 18:33:40 GMT

I don't want it to open in a new window. I will check out the link for setting up the table properties. Thanks!


Poster: Ruth
Dated: Wednesday December 21 2005 - 18:57:09 GMT

Well, when I put it on my desktop it doesn't open in a new window, until of course the first page loads from your site.

Do you have some kind of code with regard the sharepoint that is set to open pages in a new window? I don't know anything about sharepoint, but as your data file is now the pages are not coded to open in a new window and when I have it on my desktop it doesn't open them.

Ruth


Poster: grimmy
Dated: Wednesday December 21 2005 - 19:15:06 GMT

That's kinda scary that you can do that, guess I don't know much about this web stuff. :) I am not aware of any sharepoint code, however I do use frontpage, so there is a good chance that it is putting that code in there. Maybe something to do with frontpage extensions?

I looked at some other links on my page, all of them open in a new window - so it is not just the milonic navigation. So, there is obviously some code in my page causing this. I will figure it out, thanks!


Poster: Ruth
Dated: Thursday December 22 2005 - 3:11:05 GMT

Scary that I can do what? If you mean open a page from your site when I used your downloaded page on my desktop, that's because the link was to the url of your site. I can't do anything with your site but browse it.

You can do the same thing. Make a page, put a link to some webpage on it, say http://www.milonic.com/ then save the page to your computer. Open your browser and go to the page on the computer and open it in the browser and then click the link. The browser will 'go' to the web page of the link.


Yes, it has to be something in your settings. I'd look for some kind of code or setting from FrontPage that is opening all links in a new window or has a target = or something.

Ruth


Poster: vikenk
Dated: Thursday December 22 2005 - 13:23:48 GMT

Try taking <base target="contents"> out of your <head> and see what happens. The menu is likely sensitive to that. Just a hunch.

BTW, I don't think you can make a <DIV> your base target. It's probably defaulting to "_blank".

I use Frontpage also, but only in text edit mode. I haven't used the WSYWYG features in a loooooong time.

Viken K.


Poster: grimmy
Dated: Thursday December 22 2005 - 16:28:42 GMT

Hey, that worked! I took the <base target="contents"> out of the code and everything works correctly! Thanks for the help!!!