close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

New to framework builder

Thread began 10/27/2010 11:45 pm by JBWebWorks | Last modified 11/08/2010 12:31 pm by Ray Borduin | 1082 views | 7 replies |

JBWebWorks

New to framework builder

I just purchased framework builder and need help on a project (not sure if framework builder will do what i want?)

I have a javascript countdown timer clock on page 'clock.php'
I have a submit button on page 'bidding.php'

I want to plugin the clock.php function on the bidding.php page and have the submit button refresh the clock.php page so that anyone logged in to bidding.php will see a new timer clock when anyone clicks the submit button.

thanks for your help,
Jim Balthrop

Sign in to reply to this post

Ray BorduinWebAssist

It sounds like it would work. The submit button would only have to refresh the page.

Sign in to reply to this post

JBWebWorks

Thanks Ray.

I know the reload/refresh code should be on the 'clock.php' page.

here is the current load trigger on the 'clock.php' page

pre = (window.onload) ? window.onload : function () {};
window.onload = function () {
pre();
TDisplay.init(61, document.getElementById('countdown'), document.getElementById('notifier'));
}

I am not sure how to write reload code on the 'clock.php' page that would have the trigger be clicking the submit button on the 'bidding.php' page
Can you help?

thanks,
Jim Balthrop

Sign in to reply to this post

Ray BorduinWebAssist

When you use framework builder they will technically be on the same page... you should be able to call any function directly as if it was on the same page.

Sign in to reply to this post

JBWebWorks

thanks Ray,

here is the page which is strictly a test page
clock_button.php

It has a static webassist framework with the trigger 'always'
The source page is
clock_auction1.php

the source page has a javascript countdown to a certain datetime
the clock_button page submit button updates the certain datetime plus 60 seconds
the source page has a meta tag auto refresh so that when the recordset with the certain datetime is changed, it starts the countdown.

Is there a way to get the button page to not autorefresh?

Regards,
-Jim Balthrop

Sign in to reply to this post

Ray BorduinWebAssist

Using AJAX instead of a page submit you could prevent the page refresh.

Sign in to reply to this post

JBWebWorks

Ray,

I have tried to use AJAX and can't seem to get the javascript so show on the page.

Is there a way to get the page that has the javascript function to refresh when clicking the submit button on the page that holds the web assist framework?

Sign in to reply to this post

Ray BorduinWebAssist

Nothing specific to the framework functionality. The WA Framework is server side code which requires a page load to run. AJAX or client side javascript of some sort is the only alternative and won't be effected by the framework builder.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...