Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on Javascript Invisionboard oddity in the Open Discussion & Chit-chat forum
I designed a message board and skin using the free hosting at http://www.invisionfree.com They use a custom Invisionboard setup with restricted options for members (skinning ...

  1. #1
    Aletia Refugee lvzardoz's Avatar
    Join Date
    Feb 2002
    Location
    Las Vegas
    Posts
    165

    Question Javascript Invisionboard oddity

    I designed a message board and skin using the free hosting at http://www.invisionfree.com They use a custom Invisionboard setup with restricted options for members (skinning become quite a challenge when you can only modify CSS and not HTML.)

    My message board: NewCityVegas.com

    The above link is actually a masked redirection to my message board, a feature of the Godaddy.com registrar. To do it, they employ an invisible frame.

    Here's the real URL (no invisible frame).

    I wanted to reposition the web site screen and make it a maximized window. In the Invisionfree Javascript wrapper code, I added:
    <script language=JavaScript>
    resizeTo(screen.availWidth,screen.availH eight)
    </script>
    That didn't work. Loading occured but I only got a blank screen.

    So, I made it:
    <script language=JavaScript>
    moveTo(0,0);
    resizeTo(screen.availWidth,screen.availH eight)
    </script>
    This ALMOST works but I got a skinny left scrollbar instead of a normal one.

    So I changed it to this:
    <script language=JavaScript>
    if(top != self) top.moveTo(0,0);
    resizeTo(screen.availWidth,screen.availH eight)
    </script>
    This generates an error (no permission to manipulate the TOP frame) but otherwise works fine.

    Anyone using Javascript who has an idea what's going on with the skinny scrollbar or how to just load the page WITHOUT an error?
    Last edited by lvzardoz; 09-27-2003 at 07:55 AM.

  2. #2
    A-Henh! Weevil's Avatar
    Join Date
    Apr 2003
    Posts
    46
    Invision is free... why don't you just host it on your site?

    You can't do cross-domain window manipulation, so if _TOP isn't in the same domain, the framed script won't be able to touch it.

    Sounds like we must be on the same server. I couldn't get to your site.

  3. #3
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Originally posted by Weevil
    Invision is free... why don't you just host it on your site?
    Yeah, besides IFrames suck ass! They always cause problems. Real WebMASTERS avoid them like the plague...
    Last edited by Vin DSL; 09-30-2003 at 09:20 PM.
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •