Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Using menu item to create popup window
dilgerr
Newbie

Posts: 1
Registered: 1/7/2004
Member Is Offline
posted on 1/7/2004 at 05:13 PM Reply With Quote
Using menu item to create popup window


I have tried using the following code to pop up a new window when a menu item is clicked on:

["Chat", "javascript:window.open('URL ', 'NAME', 'OPTIONS')"]

Of course the URL, NAME, and FEATURES are replaced by their actual values (left out for security reasons).

The new window is created when clicking on the menu item. However, the page on which the menu was displayed goes blank with on the following text:

[object]

Can someone please explain what's going wrong here? Thanks.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 1990
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 1/8/2004 at 08:16 AM Reply With Quote

put window.open statement into function and call it from menu items structure. window.open returns window object that browser tries to display.
View User's Profile View All Posts By User U2U Member
PerPlexxen
Newbie

Posts: 1
Registered: 1/29/2004
Member Is Offline
posted on 1/29/2004 at 01:02 PM Reply With Quote

I tried this, but

['blabla', 'PopUpAV();', null, null], does not work.

IE starts thinking but the page does not pop up.

when place a button on the page and use this onClick="PopUpAV();" it works ok...

what am I doing wrong here?
View User's Profile View All Posts By User U2U Member
ddevlin
Newbie

Posts: 1
Registered: 2/4/2004
Member Is Offline
posted on 2/4/2004 at 02:30 PM Reply With Quote
Focus people...


I had a menu itme that popped up a window and what I was seeing is this:

The window would popup, but the Tigra would take focus again to draw the onClick / onMouse out event.

As soon as this happens the popup window goes behind the opriginal browser window.

Check to see if the window is indeed opening, but getting put behind the browser.

I found no way around this. I simply changed my site layout to not use a popup window for this particualr link.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 1990
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 12/2/2004 at 07:29 PM Reply With Quote

http://www.softcomplex.com/forum/viewthread_1954/
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 
Tigra Menu PRO
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 
Product Page Tigra Menu GOLD
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004