HabboxWiki needs you!
Are you a Habbo buff? Or maybe a rare trader with a bunch of LTDs? Get involved with HabboxWiki to share your knowledge!
Join our team!
Whether you're raving for rares, excited for events or happy helping, there's something for you! Click here to apply
Need a helping hand?
Check out our guides for all things to help you make friends, make rooms, and make money!


Results 1 to 10 of 10

Thread: PHP Help.

  1. #1
    Join Date
    Jun 2005
    Location
    USA
    Posts
    2,047
    Tokens
    0

    Latest Awards:

    Post PHP Help.

    I have a layout coded in Divs and i have used a PHP include to open a page which works fine but when it comes to opening the pages in the main content box it wont happen it will only open in a new window how would i fix this? + rep for all help

    - Lysine
    Last edited by Lysine; 25-12-2006 at 02:21 AM.
    *Image Removed*

    Thank you Brad for the sig


    Signature edited by Nick- (Forum Super Moderator): Please do not have images that exceed the limit for non VIPs (700 x 150) in your signature.

  2. #2
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Im a little confused? if your useing php includes clicking a link, will open another page, which may include a differnt file on to it yes?

    Is the problem when a link is clicked that, the link opens in a new window insted of the parent one? If so its easy to fix.
    1) remove the target="" attribute from the links, as without it, it will just use the defult setting, aka opening in the current window
    2) if that does work, add the target attribute. And set it to ether.
    target="_parent"
    or
    target ="_self"

    Hope that helps and merry christmas.

  3. #3
    Join Date
    Jun 2005
    Location
    USA
    Posts
    2,047
    Tokens
    0

    Latest Awards:

    Default

    Thank you mentor but i still dont understand

    This is the layout http://www.thishabbo.net/usersystem/user/index.php
    *Image Removed*

    Thank you Brad for the sig


    Signature edited by Nick- (Forum Super Moderator): Please do not have images that exceed the limit for non VIPs (700 x 150) in your signature.

  4. #4
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    well in that instance your probably want to apply the skin to the register page "/
    and remove the target (<a href="register.php" target="middle">Register Here</a> )

    Or, as the system may be exspecting, add an ifraim with the name middle in to your content aria, to load the pages in?

  5. #5
    Join Date
    Jun 2005
    Location
    USA
    Posts
    2,047
    Tokens
    0

    Latest Awards:

    Default

    what is the point in having a iframe when it is coded in divs and expands aint there a way where you can add like (name="main") as you can with a Iframe and then when you do a link you add (target="main") and it will show it in the content box.
    *Image Removed*

    Thank you Brad for the sig


    Signature edited by Nick- (Forum Super Moderator): Please do not have images that exceed the limit for non VIPs (700 x 150) in your signature.

  6. #6
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    Is this xRoyal's system?


    Im working on his now
    Last edited by Dentafrice1; 27-12-2006 at 01:59 AM.

  7. #7
    Join Date
    Jun 2005
    Location
    USA
    Posts
    2,047
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    Is this xRoyal's system?


    Im working on his now

    Yh it is Lol.
    *Image Removed*

    Thank you Brad for the sig


    Signature edited by Nick- (Forum Super Moderator): Please do not have images that exceed the limit for non VIPs (700 x 150) in your signature.

  8. #8
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    - <a href=\"members.php\" target=\"mainframe\">Members List</a><br />

    Put mainframe as your iframes name

  9. #9
    Join Date
    Apr 2005
    Posts
    4,614
    Tokens
    90

    Latest Awards:

    Default

    Yeah it would be simpler to just use an iframe.

  10. #10
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    I fixed it =]

Posting Permissions

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