HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 10th, 2004, 08:40 AM
Dylan Dylan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 12 Dylan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 0
Frames & Navigation

I have a page that is split into 2 frames, header & main. In the header section I have a running total and summary of the information entered into the 'main' frame.

There are a few command buttons on the 'main' frame to submit data etc, when I click on these I want to move away from the frames page and display the new page by itself, in the same current window.

At the moment, my 'main' frame is navigating to the new page, but leaving the header information at the top...? My command buttons are running VBScript at the moment (I know, I know! But it's gonna be purely Intranet!), syntax such as...

window.navigate "RangeCheckDetail.asp"

I'm using frames for this one page because the users require that they have certain data on show at all times? Is there another way to do this without using frames, can I lock a section so when the user scrolls down the 'header' information remains on the screen>?

Any advice appreciated.

Reply With Quote
  #2  
Old June 10th, 2004, 01:53 PM
LostinASP LostinASP is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 4 LostinASP User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cool

I hate frames!!!

I have always used session variables and has been able to
achieve the same thing

Have you tried session variables

Reply With Quote
  #3  
Old June 11th, 2004, 03:04 AM
Dylan Dylan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 12 Dylan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 0
Yes, I hate frames as well!!

But how else can I freeze a part of the page, so that it is always visible to the user? If there's a better way please let me know!

Otherwise, I just want to move away from the frames page when a link on the 'main' frame is clicked, I don't want the target page to be displayed in the frame - I want it on a brand new, un-framed page. Can I do this using the _top syntax or something similar??

Thanks

Reply With Quote
  #4  
Old June 11th, 2004, 08:21 AM
scrubs scrubs is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 42 scrubs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Yes frames are evil, but sometimes a necessary evil.
If you find a way to get around them using your example then let me know

Anyway, use target=_top.

<a href ... target="_top"> ... </a>
OR
<form target="_top" ...> ... </form>

Reply With Quote
  #5  
Old June 11th, 2004, 10:23 AM
scrubs scrubs is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 42 scrubs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I figured it out. This isn't the best example, but it works.
Use DHTML to dynamically reposition a table, p, ... element on the screen.

<table id=table1 style="position:relative">
<tr><td><button>Button1</button></td></tr>
<tr><td><a href="http://forums.aspfree.com">link</a></td></tr>
</table>

<script>
window.onscroll=windowScrolling;
function windowScrolling()
{table1.style.top=document.body.scrollTop;}
</script>

This will keep the table at the top of the screen whenever you scroll. This way you can put your links, buttons, .. whatever in the table element and keep it at the top of the screen.

Reply With Quote
  #6  
Old June 11th, 2004, 10:43 AM
Dylan Dylan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 12 Dylan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 0
Thanks v much, will give that a go....anything that doesn't use frames is a bonus!

Dylan

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > Frames & Navigation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 7 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek