The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Popup control + drag and drop feature

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Paschal

Posts: 1621
Nickname: bigapple
Registered: Nov, 2003

Paschal is a .Net developer
Popup control + drag and drop feature Posted: Nov 20, 2003 8:07 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Paschal.
Original Post: Popup control + drag and drop feature
Feed Title: help.net
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/pleloup/Rss.aspx
Feed Description: .Net for mankind !
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Paschal
Latest Posts From help.net

Advertisement

Tomáš Petrícek  did an incredible good job with his popup control.

However It was frustrating to not having a drag and drop feature. I made some changes to the code, and because I respect the job he did I am going to suggest the modifications on the CodeProject forum.

By the way I am sure he's already working on this, but if this can save him some time, I will be happy ;-)

The modifications are mostly on the Javascript that Tomas generate, and I think maybe a property soudl be add to trigger Dragandrop (true or false)

The Javascript routine for the draganddrop is an old routine I used many times and cross browser compatible.

The popup code would look like this:

<div id="dragbar" style="display:none; background:#E0E9F8; position:relative; left:2px; width:230px; top:2px; height:100px;
                 filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
                 StartColorStr='#FFE0E9F8', EndColorStr='#FFFFFFFF');font:12px arial,sans-serif; color:#1F336B; text-decoration:none;">
      <span id="popupWintitleEl">mywindow</span>
      
         <div style="position:relative; right:0px; top:0px; cursor:pointer; color:#728EB8; font:bold 12px arial,sans-serif; 
                  position:absolute; right:3px;" onclick="popupWinespopup_Close()" onmouseover="style.color='#455690';" 
                  onmouseout="style.color='#728EB8';">X</div>
				<div id="popupWin_content" style="display:none; border-left:1px solid #728EB8; border-top:1px solid #728EB8;
                 border-bottom:1px solid #B9C9EF; border-right:1px solid #B9C9EF;
                 background:#E0E9F8; padding:2px; overflow:hidden; text-align:center;
                 filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
                 StartColorStr='#FFE0E9F8', EndColorStr='#FFFFFFFF');position:absolute; left:2px; width:224px; top:20px; height:76px;">
                 
                 This text will be displayed in popup window.
				</div>
		</div>
</div>
			

Read: Popup control + drag and drop feature

Topic: [tool] Total Commander 6.0 is out Previous Topic   Next Topic Topic: Ninja Gaiden

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use