03laceys Posted December 2, 2010 Share Posted December 2, 2010 Ok so i currently using a jquery menu which call the corresponding page inside an iframe. When i click a link within the iframe it takes me there no problem. But when i click the original link it will take me to the last visited page in the iframe and not the one i want to call. How do i fix this? Also how do i remove the border? (If this has confused you at all please reply and i will send a link to your inbox so you can see what i mean) Quote Link to comment Share on other sites More sharing options...
Dave Posted December 2, 2010 Share Posted December 2, 2010 Post the link, I didn't really understand the issue. Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted December 3, 2010 Share Posted December 3, 2010 Why are you iframing a Menu? And why would you want to have link's coming from the iframe? Did you set the link's to update that certain iframe? IE: <iframe id="Menu"></iframe> <iframe id="Game"></iframe> Are your link's in the Menu targeted to id Game? IE: Linky Quote Link to comment Share on other sites More sharing options...
03laceys Posted December 3, 2010 Author Share Posted December 3, 2010 The main menu is Jquery, then the content is displayed in an iframe. http://xvon.info/gametest USERNAME - demo PASSWORD - demo Go to explore, click userlist. Now try to go to explore from the mainmenu again it just displays userlist. Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 3, 2010 Share Posted December 3, 2010 Not Found The requested URL /gametest/login.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at xvon.info Port 80 Quote Link to comment Share on other sites More sharing options...
03laceys Posted December 3, 2010 Author Share Posted December 3, 2010 Yes might help if i uploaded a login file for you. There we go uploaded try again. Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 3, 2010 Share Posted December 3, 2010 Not Found The requested URL /gametest/authenticate.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at xvon.info Port 80 Quote Link to comment Share on other sites More sharing options...
Dave Posted December 3, 2010 Share Posted December 3, 2010 http://xvon.info/gametest/ajax_login.php Use this link. Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted December 3, 2010 Share Posted December 3, 2010 This is because your page is hard coded into one. Your JQuery is not really JQuery except just some Javascript page calling, using the JQuery Lib. I would suggest taking a look here: http://api.jquery.com/category/ajax/ And to directly show you here http://api.jquery.com/jQuery.ajax/ and here http://api.jquery.com/load/ Quote Link to comment Share on other sites More sharing options...
03laceys Posted December 4, 2010 Author Share Posted December 4, 2010 Thank you for the links will take a look and of course read and go from there :) Could you further explain what you mean by "hard coded into one"? Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted December 4, 2010 Share Posted December 4, 2010 Because it is clicking a link, the link in the main menu is not being updated by the javascript to reCall that page, except it's just bringing back up the Div ID that you are selecting. Remmember, to get a new page, you have to make a new request. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.