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)
 IFRAMES and Auto Height
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Heathrow Blade
Starting Member

4 Posts

Posted - 21 September 2006 :  14:48:22  Show Profile
I am basically trying to implement a very quick solution to integrate a site within a website template using IFRAMES. The website structure can be seen at http://www.bladesbees.co.uk which uses CSS to layout the formatting. (The formum breaks out of this at http://www.bladesbees.co.uk/forum/)

I have tried the site implementation mod but this doesn't seem to do what I want in getting the site to sit in the main content area exactly. I managed to implement the forum into the site using IFRAME with a test page at http://www.1889internet.co.uk/forumtest.htm however although the width of the IFRAME is not a problem, I can't guarantee the length - hence at the moment making it very large.

I have had a look around the web and various Javascript resources manage to do this the best being:

http://www.programmersheaven.com/2/FAQ-JavaScript-Set-Iframe-Width-Height-Onload

However, this seems to assume that only 1 page is being referenced and I don't know where the script should go if it 'could' be implemented in the Forum.

Any ideas gratefully recieved.

BTW first time I've used SNITZ on a project and am an absolute convert - well done Boys and Girls!

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 21 September 2006 :  15:44:13  Show Profile  Visit HuwR's Homepage
it would help imensely if you either turned off require registration or provided us with a test login while you are testing, that way we can take a look.
Go to Top of Page

Heathrow Blade
Starting Member

4 Posts

Posted - 21 September 2006 :  15:51:41  Show Profile
It's not the forum thats the problem - thats working fine! What I want to know is can the Forum's height be manipulated using IFRAME with Javascript (or other) which seems to work with other pages but I don't know WHERE to put the script that sends the variable back to the IFRAME.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 21 September 2006 :  16:00:08  Show Profile  Visit HuwR's Homepage
well, where would you put it in a normal page ?
Go to Top of Page

Heathrow Blade
Starting Member

4 Posts

Posted - 21 September 2006 :  16:09:01  Show Profile
From http://www.1889internet.co.uk/forumtest.htm the login page is where the forum sits (You can log in with
username: test
password: test)

Like I said from there the forum works fine. The problem is that I don't know how long each page will be and want the IFRAME to expand accordingly - the Iframe is set quite large at the moment). There are various Javascripts out there that do this but default.asp doesn't contain any html to place the script or <body> tag to return the variable. Any idea as to if this can be done or where the script should go would save me what little hair I have left!

Edited by - Heathrow Blade on 21 September 2006 16:36:33
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 21 September 2006 :  18:38:33  Show Profile  Visit bobby131313's Homepage


Take a look at include_header.asp and inc_header_short.asp I think you'll find what you're looking for there.


Switch the order of your title tags
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 21 September 2006 :  18:40:14  Show Profile  Visit AnonJr's Homepage
in inc_header.asp look for the second <body> tag.
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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07