Code Bank
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingCode Bank

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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #16  
Old September 9th, 2007, 03:03 AM
ScriptNewbie ScriptNewbie is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 4 ScriptNewbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 12 sec
Reputation Power: 0
thanks

thanks for ur timely reply...
it's working now

Reply With Quote
  #17  
Old September 9th, 2007, 03:35 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,608 Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)  Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 4 Days 12 h 53 m 47 sec
Reputation Power: 1400
Quote:
Originally Posted by ScriptNewbie
thanks for ur timely reply...
it's working now
cheers, and welcome to the forum.

Reply With Quote
  #18  
Old September 14th, 2007, 10:24 AM
ScriptNewbie ScriptNewbie is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 4 ScriptNewbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 12 sec
Reputation Power: 0
redirecting timer to another page in the second frame

hai friends,

scenario:
i use two frames... the top frames runs de countdown timer jaascript.... the bottom frame has a set of questions...

i hv two questions to ask

first, is there a javascript which removes de frameset and completely loads de directed page

secondly,how do i refer to de submit button in de bottom frame, so tht if de timer timesout ... the page directed by de bottom frame loads .....

any help will be appreciable......

Reply With Quote
  #19  
Old September 14th, 2007, 03:44 PM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,608 Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)  Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 4 Days 12 h 53 m 47 sec
Reputation Power: 1400
to reload the page without frames, have such code:
Code:
top.location = "newpage.html";

please spend more time when writing English, your laziness cause
your questions to become very hard to read.

Reply With Quote
  #20  
Old September 15th, 2007, 03:41 AM
ScriptNewbie ScriptNewbie is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 4 ScriptNewbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 12 sec
Reputation Power: 0
call submit button in bottom frame

thanks for reply...
quitting the frameset problem solved..
now i have some more questions...

how do i call the submit button in the bottom frame from the timer code placed in the top frame when timer times out...??

how do i disable back and refresh buttons
refreshing makes the timer to start from the begining...??

expecting responses

Reply With Quote
  #21  
Old September 15th, 2007, 06:28 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,608 Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)  Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 4 Days 12 h 53 m 47 sec
Reputation Power: 1400
to submit form in another frame, try such code:
Code:
parent.frames["bottom_frame"].document.forms[0].submit();

to disable Back button, use window.location.replace method:
Code:
window.location.replace("newpage.html");

without server side language like ASP you can't "remember" anything so yes,
when the page is reloaded the timer will start from the beginning.

Reply With Quote
  #22  
Old November 7th, 2007, 07:18 PM
pdookun pdookun is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Location: Vancouver, BC, Canada
Posts: 2 pdookun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 44 m 9 sec
Reputation Power: 0
Angry Need some guidance

Hello,

I have been searching for something similar to what you have - I even went to experts-exchange and all I have been told is to use AJAX for what I am trying to do - not much help - I am hoping you can help me out!

-----------------------
I have built a page to display certain number of records (eg 1000)

I would like to know how to do automatic timed pagination of those records - for example, show the first 10, then after a few seconds, display the next...and so forth. The data is coming from DB which automatically refreshes after 60 sec - when this happens, the page needs to stay on the current selection and refresh its content - for example if displaying records 30-40, refresh and don't go back to the start.

Can you please help me with finding a solution.

I am using ASP classic with Oracle 9i

Reply With Quote
  #23  
Old November 8th, 2007, 08:38 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,608 Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)  Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 4 Days 12 h 53 m 47 sec
Reputation Power: 1400
you ask two different questions.
you can have code that automatically "replace" pages by simple client side
redirection with the next page in the query string.
you can have code the "remember" the current page in Session, and at each
page reload it will bring the next page.
what you prefer?

Reply With Quote
  #24  
Old November 8th, 2007, 09:04 AM
pdookun pdookun is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Location: Vancouver, BC, Canada
Posts: 2 pdookun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 44 m 9 sec
Reputation Power: 0
Quote:
Originally Posted by Shadow Wizard
you ask two different questions.
you can have code that automatically "replace" pages by simple client side
redirection with the next page in the query string.
you can have code the "remember" the current page in Session, and at each
page reload it will bring the next page.
what you prefer?


This is for flight information - basically just need to display the first 10 records...wait a few seconds (10) and then bring up the next 10 records...and so on...

It is basically pagination but automatic - i can set the data to refresh every 1 or X minutes (or seconds)

So if you are at the airport, you are looking at the flight info screen, the information flips.

I have the url but cannot seem to put it here.

Reply With Quote
  #25  
Old March 4th, 2008, 05:05 AM
SpectreX SpectreX is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 3 SpectreX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 38 sec
Reputation Power: 0
Hi,

I really like this code and used it for my project but i have a little problem.

After it counted down i go to a new page, after they filled in that form they go back to the page with the timer and the timer is suppose to start over but it goes twice as fast. I found out that it keeps counting down beyond the 0 and it doesn't stop. So how can I make the timer stop as soons as _currentSeconds = 0?

Reply With Quote
  #26  
Old March 4th, 2008, 07:13 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,608 Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)  Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325618 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 4 Days 12 h 53 m 47 sec
Reputation Power: 1400
sounds like you changed something in the code.
can you post link to your website or post you full code?

Reply With Quote
  #27  
Old March 4th, 2008, 10:21 AM
SpectreX SpectreX is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 3 SpectreX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 38 sec
Reputation Power: 0
Quote:
Originally Posted by Shadow Wizard
sounds like you changed something in the code.
can you post link to your website or post you full code?


The only thing I changed was the alert
But I found it

Reply With Quote
  #28  
Old March 4th, 2008, 11:21 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,608 Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)