Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2005
    Location
    Manchester, UK
    Posts
    731
    Tokens
    0
    Habbo
    pappalou

    Default Problems with Usersystem and Expandable iframes.

    Well basically, in my expandable iframes, i have to make the code for a link as follows;

    Code:
    <a onclick='dopage('pagename.php' 'content')'>Page</a>
    otherwise the page will not come up in the expandables.

    This works fine, but when i put it into my usersystem (which is PHP), the link does not work.

    So basically summarising, in my usersystem, when i try to use the link code above, it does not work, but it works in HTML only pages, not PHP pages.

    Anyone willing to help?

    Moved by Mattps22004 (Forum Moderator) from Website Designing: Please post in the correct forum next time, thanks.
    Last edited by Matt.; 20-07-2007 at 04:16 PM.

  2. #2
    Join Date
    Feb 2005
    Location
    Leicestershire / Sheffield
    Posts
    685
    Tokens
    0

    Default

    Use:

    HTML Code:
    <a onclick="dopage('pagename.php' 'content')">Page</a>
    or in php

    PHP Code:
    echo "<a onclick=\"dopage('pagename.php' 'content')\">Page</a>"

  3. #3
    Join Date
    Jan 2007
    Posts
    651
    Tokens
    0

    Default

    If he has a usersystem, he knowes how to echo.You havent changed anything in the code.
    James


    Connected to reality through a proxy server.

  4. #4
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Quote Originally Posted by Mr Macro View Post
    If he has a usersystem, he knowes how to echo.You havent changed anything in the code.
    Shutup. It may not be his usersystem. And he has changed the code. He was trying to help, unlike what your doing.

  5. #5
    Join Date
    Feb 2005
    Location
    Leicestershire / Sheffield
    Posts
    685
    Tokens
    0

    Default

    Quote Originally Posted by Mr Macro View Post
    If he has a usersystem, he knowes how to echo.You havent changed anything in the code.

    If you look, i have changed the two ' ' to " "

    Maybe you shouldn't be posting pointless posts and post something to help the person asking for help

  6. #6
    Join Date
    Jul 2005
    Location
    Manchester, UK
    Posts
    731
    Tokens
    0
    Habbo
    pappalou

    Default

    Eric, have some +REP, ill try it later.

    Mr Macro, have some -REP

  7. #7
    Join Date
    Jan 2007
    Posts
    651
    Tokens
    0

    Default

    Quote Originally Posted by Blob View Post
    Shutup. It may not be his usersystem. And he has changed the code. He was trying to help, unlike what your doing.
    Neither are you, so you can't tell me that i'm not helping when your not.
    Last edited by Mr Macro; 21-07-2007 at 09:40 AM.
    James


    Connected to reality through a proxy server.

  8. #8
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Quote Originally Posted by Mr Macro View Post
    Neither are you, so you can't tell me that i'm not helping when your not.
    Atleast Im not moaning at someone who tried to help

Posting Permissions

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