PDA

View Full Version : Problems with Usersystem and Expandable iframes.



PappaLou
20-07-2007, 12:04 PM
Well basically, in my expandable iframes, i have to make the code for a link as follows;


<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:).

Eric30
20-07-2007, 12:37 PM
Use:


<a onclick="dopage('pagename.php' 'content')">Page</a>

or in php


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

Mr Macro
20-07-2007, 04:06 PM
If he has a usersystem, he knowes how to echo.You havent changed anything in the code.

Blob
20-07-2007, 04:27 PM
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.

Eric30
20-07-2007, 05:39 PM
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

PappaLou
20-07-2007, 09:43 PM
Eric, have some +REP, ill try it later.

Mr Macro, have some -REP :D

Mr Macro
21-07-2007, 09:27 AM
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.

Blob
21-07-2007, 10:17 AM
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

Want to hide these adverts? Register an account for free!