|
|
|
|
Joined: Aug 2002
Posts: 218
Member
|
|
Member
Joined: Aug 2002
Posts: 218 |
Hi guys, in the admin menu it happens sometimes that the frameset is not correct. within the mainframe the left adminmenu is coming up again etc. To prevent the adminmenu from cascading open ### ### /admin/login.php ### and find: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"><br /><html><br /><head><br /> add directly under this: <script LANGUAGE="JavaScript" type="text/javascript"><br /><!--<br />if (self != top) top.location.href = window.location.href;<br />//--><br /> This will display the frameset always in the full browser window. Admin menu will display correct everytime...
|
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
I don't think I have ever had this problem myself. Is there specific pages or browsers that this happens to? Personally I have decided to to skip frame usage in the control panels that I have been creating for various projects. This is to make going from XHTML 1.0 to 1.1 a bit easier at some point. 
|
|
|
|
|
Joined: Mar 2000
Posts: 21,080 Likes: 3
I type like Navaho
|
|
I type like Navaho
Joined: Mar 2000
Posts: 21,080 Likes: 3 |
happens here if you click "entrance" while inside the admin panel  nice one jl 
|
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
That may be from a missing $taget variable in the template. I'll have to look. 
|
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
make that $target... lol 
|
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
Yep, missing $target, fixed now. 
|
|
|
|
|
Joined: Aug 2002
Posts: 218
Member
|
|
Member
Joined: Aug 2002
Posts: 218 |
This prevents also that other users include your forum into their page cause this few lines makes the page opening in the complete browser window 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 1424
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 26
|
|
|
|
|
|