Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 15th, 2009, 10:34 PM
Authorized User
 
Join Date: Aug 2008
Posts: 38
Thanks: 1
Thanked 0 Times in 0 Posts
Default can a div be dragged outside of web page?

I am creating a web application(Instant Messenger). I would like to be a able to create a chat box when i click on any contact.But i want to open it in a new window(but i dont want to use window.open)..Is it possible to create a div window that can be dragged outside of a web page just like gmail chat window..(I'm not sure if a window.open can be embedded in a div object).I want this window be minimized, maximized whatsoever..and act as an independent window like any typical desktop IM...Please help..
 
Old March 16th, 2009, 07:21 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 166
Thanks: 2
Thanked 33 Times in 33 Posts
Default

Within a browser, the content of your web app always has to be contained within a browser window, it can't just float on the desktop, so if you want a completely independent popup, window.open is your only option. GMail chat does still use this - it just uses the window.open options to hide the menus etc.
Depending on how your site works, another option is to create fake windows within an existing webpage. There are lots of existing examples of this. One we have used in the past are RadWindows from Telerik - see the example at http://demos.telerik.com/aspnet-ajax...defaultcs.aspx

HTH
Phil

Last edited by philip_cole; March 16th, 2009 at 07:23 AM.. Reason: GMail explanation





Similar Threads
Thread Thread Starter Forum Replies Last Post
Content page DIV tag problem msbsam ASP.NET 2.0 Professional 0 September 19th, 2008 12:12 AM
using <div>'s to have a left hand pane on web page crmpicco CSS Cascading Style Sheets 2 December 7th, 2007 11:54 PM
How to diplay web page inside another web page win cyberjoe C# 2 March 1st, 2007 05:35 AM
div is disapeared when go to other page then back alyeng2000 Javascript 3 February 13th, 2004 02:51 PM
div is disapear when page back alyeng2000 ASP.NET 1.0 and 1.1 Basics 0 February 6th, 2004 09:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.