| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
thanks
thanks for ur timely reply...
it's working now |
|
#17
|
||||
|
||||
|
Quote:
![]() |
|
#18
|
|||
|
|||
|
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...... |
|
#19
|
||||
|
||||
|
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. |
|
#20
|
|||
|
|||
|
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 |
|
#21
|
||||
|
||||
|
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. |
|
#22
|
|||
|
|||
|
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 |
|
#23
|
||||
|
||||
|
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? |
|
#24
|
|||
|
|||
|
Quote:
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. |
|
#25
|
|||
|
|||
|
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? |
|
#26
|
||||
|
||||
|
sounds like you changed something in the code.
can you post link to your website or post you full code? |
|
#27
|
|||
|
|||
|
Quote:
The only thing I changed was the alert ![]() But I found it ![]() |
|
#28
|
||||
|