Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Using Frames
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

olef
Starting Member

Denmark
19 Posts

Posted - 10 January 2006 :  16:21:19  Show Profile
Have tried different ways to get the following to work, using frames:

Default Frame-page refers to:
Top frame : top.asp (frame1_1)
Left frame: left.asp (frame2_1)
main-frame: default.asp (Snitz) (frame2_2).

When making a specific change on a page in the Snitz-forum (frame2_2), I will like to update the pages left.asp (frame2_1) and top.asp (frame1_1), which are no part of the Snitz-forum.

Can anyone help with some example on asp-code that updates an other frame on a framed page ?

Sonic
New Member

Germany
82 Posts

Posted - 11 January 2006 :  06:39:43  Show Profile  Visit Sonic's Homepage
to update the left frame use this java script

-->
<SCRIPT language="JavaScript">
<!--
parent.frame2_1.location.reload();
-->
</SCRIPT>


to update the top frame use this
-->
<SCRIPT language="JavaScript">
<!--
parent.frame1_1.location.reload();
-->
</SCRIPT>



insert the javascript where you want to reload the pages
e.g. after login sucessfull message or somewhere...
the green part is the name of your frame (it must be named in the frame container)
note: this javascript is complete in html maybe you may to have to use the asp beginn and end tags
--> <% and %>

an example you can see @ www.sonic.selfip.org/page/
when you login in the menu the main frame will be reloaded...
(sever will be on for 12hours by now)

ich finds genial...
bei uns ist es ratzekuz dunkel und bei dene alle heller nachmittag

Edited by - Sonic on 11 January 2006 06:43:01
Go to Top of Page

olef
Starting Member

Denmark
19 Posts

Posted - 11 January 2006 :  15:05:44  Show Profile
Hi Sonic

Thanks a lot for the prompt answer.
I'll try to get it to work in asp.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07