Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP 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 December 14th, 2008, 02:40 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default Input box on top of layer

Hello,

I have developed a registration page which is full of input fields. The problem is when I open a layer (<div></div) on that page, input boxes remain on top of the page.

How should I resolve this issue?


Thank you,
Zeeshan Dar
 
Old December 17th, 2008, 10:41 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

I assume you mean <SELECT> fields. Those are the only ones I am aware of that ALWAYS "show through". And even that only happens in MSIE version 6 and before, so far as I know.

But the answer is pretty simple: Hide the fields using JavaScript when you display the overlay <DIV>. That is, just change them to
fld.style.visible='hidden';
 
Old December 18th, 2008, 04:35 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

Thanks for your response. One more question:

If you browse www.elance.com and click on "Sign in or Register" link at top right corner, it will open a new layer or window. My questions are:

- Is this new popup window is a layer?
- When you take mouse cursor on top of it, the mouse cursor change and you can move this window any where on the page. Any idea how?
- The drop down menu and search text box hide behind this layer. Any idea how?



Thank you.
Z
 
Old December 18th, 2008, 09:17 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

> - Is this new popup window is a layer?

What do you think? Here's part of the code for it:
Code:
<div id="signInPanelDiv" class="signinpanel displayNone">
    <div class="hd"><div class="header" style="float:left">Please Sign In</div>...

> - When you take mouse cursor on top of it, the mouse cursor change and you can move this window any where on the page. Any idea how?

Yes, drag and drop. Most browsers allow JavaScript to do this.

> - The drop down menu and search text box hide behind this layer. Any idea how?

Not off the top of my head. It's surprising how well it works. Enough so that someday I may take the time to figure it out.
 
Old December 27th, 2008, 06:54 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

Thanks for your response "Old Pendant". Thank you very much.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Handle error from database layer to applican layer khatu_jec ASP.NET 2.0 Basics 1 November 9th, 2008 03:51 PM
Displaying drop down menus on the top of Combo box karunkumar_g Javascript 3 December 14th, 2005 01:46 PM
Clear the top of combo box akibaMaila VB.NET 2002/2003 Basics 2 July 14th, 2005 04:33 PM
Input Box return value pakman Excel VBA 1 June 15th, 2005 04:29 AM
Input Box tucker Access VBA 2 May 21st, 2004 03:43 PM





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