Important alert: (current site time 7/15/2013 11:42:24 PM EDT)
 

winzip icon

Moveable DHTML Windows

Email
Submitted on: 11/11/2003 10:50:25 PM
By: Mark Kahn  
Level: Advanced
User Rating: By 9 Users
Compatibility: ASP (Active Server Pages), HTML
Views: 16112
(About the author)
 
     Many sites have "windows" on the left/right sides of the site. This code alows those windows to be moved around at will and snapped to the left and right sides of the site. Requires very little modification to the windows. see http://www.webattempts.com for a live example

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 19 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

11/12/2003 12:39:21 PMGonçalo

Hi,

Nice work.
Just some improvment advice: how about saving the display information of the pages so when you go back and fourth on the site, the left and right panes continue like you left them after moving?

Best regards,

Gonçalo Santos
(If this comment was disrespectful, please report it.)

 
11/12/2003 1:37:43 PMSimon Nielsen

same as above... how about using cookies, so that when you return to the site, windows positions are the same...

otherwise very nice ;-)
(If this comment was disrespectful, please report it.)

 
11/12/2003 8:17:30 PMJinzhou Li

good~
(If this comment was disrespectful, please report it.)

 
11/18/2003 3:20:33 AMPersona non grata

Cool.. Not fully compatible with Opera though.. Prob not mozilla/netscape either..
(If this comment was disrespectful, please report it.)

 
11/23/2003 1:08:44 AMPersona non grata

How about the source for swithcher.asp then?
(If this comment was disrespectful, please report it.)

 
11/23/2003 1:35:00 AMMark Kahn

what?? switcher.asp is a page on that site that has nothing to do with this...
(If this comment was disrespectful, please report it.)

 
11/23/2003 5:19:32 AMPersona non grata

ok, after a closer examination I noticed that...

Is it btw hard to add more boxes, or "windows"?

I've tried but when I move the windows around, they position themself wrong at times.. I'm noob at javascript btw :)
(If this comment was disrespectful, please report it.)

 
11/30/2003 12:04:21 AM

Excellent. Would love to see any improvements you make. Great stuff and very useful.
(If this comment was disrespectful, please report it.)

 
12/31/2003 4:54:14 AMPaul

It doesnt work in mozilla/firebird. I wonder if there is a way around it.
(If this comment was disrespectful, please report it.)

 
5/25/2004 5:41:26 AM

Very Good - Some minor improvements - as listed above would be nice to see - but all in all Great Work...

And Paul there is a way around it - goto microsoft.com - HA-HA just kidding Paul - good day everyone!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.