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:59
Can't get menu links to open in new windows.
Poster: gazchap
Dated: Thursday July 27 2006 - 9:21:30 BST
If you look at http://www.source-web.co.uk/development/classic/ the "get a quote" link in the menu on the left is supposed to open in a popup.
The menu definition code for the item in question is:
Code:
aI("text=get a quote;url=lightbox.php;target=lightbox;
targetfeatures=width=625,height=325,status,scrollbars,resizable;")
targetfeatures=width=625,height=325,status,scrollbars,resizable;")
The whole menu definition code can be found at this URL.
Any ideas how I can get this working?
Poster: Ruth
Dated: Thursday July 27 2006 - 21:14:27 BST
Hi,
You need to upgrade to the newest menu version 5.753, see if that fixes the problem.
SInce everything is working on the Milonic site for new windows, it is in your page.
I narrowed it to you css for the container div. When I removed position=relative the new window began working again.
Ruth
Poster: Ruth
Dated: Thursday July 27 2006 - 21:16:11 BST
I forgot
Your aI string target features is incorrect. Get rid of the extra commas and add the =yes to the stuff you want.
Code:
aI("text=get a quote;url=lightbox.php;target=_blank;targetfeatures=width=625 height=325 status=yes scrollbars=yes resizable=yes;")