Page 1 of 2
~~N00bler Question~~
Posted: Fri Mar 25, 2005 1:16 am
by MaxBlast-PHP
How to i make a page that after clicking a link it doesnt go to the page it just loads it on that page or whatever
MaxBlast-PHP
what?
Posted: Fri Mar 25, 2005 1:19 am
by method_man
what? u mean it opens in the same window?
matt
Posted: Fri Mar 25, 2005 1:19 am
by feyd
I have no idea what you are asking.
Please remove or change your signature. We don't need anything like that splattered everywhere you post.
matt
Posted: Fri Mar 25, 2005 1:21 am
by method_man
it should automatically open in the same window unless u put
Code: Select all
<html>
<body>
<a href="e;lastpage.htm"e; target="e;_blank"e;>Last Page</a>
//If you set the target attribute of a link to "e;_blank"e;,
the link will open in a new window.
</body>
</html>
Posted: Fri Mar 25, 2005 1:23 am
by MaxBlast-PHP
ok i want a script where i just click like a link or something and instead of uploading another page it will do it all right there and fast.. i heard that is more easier to do...
Posted: Fri Mar 25, 2005 1:25 am
by feyd
post the code you're using that does this please. (Make sure to read the Posting Code Guidelines first.)
Posted: Fri Mar 25, 2005 1:30 am
by MaxBlast-PHP
if i had the code i wouldnt be asking about it... ok like when you have a template ok you click on like a link and something comes on that page instead of going to a differnet webpage....
like i clicked on ~~Click here~~ and it would show
blah blah blah
blah blah blah
on that page with out loading a whole new webpage
?
Posted: Fri Mar 25, 2005 1:30 am
by method_man
i still dont get what ur saying
Posted: Fri Mar 25, 2005 1:32 am
by feyd
sounds like you are talking about Javascript dynamically rewriting the content or xmlhttp objects.. at any rate, neither is easier to do.
?
Posted: Fri Mar 25, 2005 1:32 am
by method_man
do u want it to pop up in a new tab? a new window? what?
i still dont get it
matt
Posted: Fri Mar 25, 2005 1:34 am
by MaxBlast-PHP
ok i want something like a frame or an iframe but with out the frame i wont to click on something and it comes up i know you can do it in php because i seen afew website that has it
hmm
Posted: Fri Mar 25, 2005 1:37 am
by method_man
hmm... i suggest just doing it the way u know how instead of doin it this way
matt
Posted: Fri Mar 25, 2005 1:38 am
by feyd
making a link on the parent page change the content of an iframe involves using the name of the iframe as a target. iframes aren't exactly the easiest to work with in php either.. for basics they work fine, but get a bit painful if you start using sessions and things that don't necessarily pass back and forth between them too easy..
Posted: Fri Mar 25, 2005 1:38 am
by MaxBlast-PHP
well i suggest i dont and learn something..
Posted: Fri Mar 25, 2005 1:41 am
by MaxBlast-PHP
i didnt say use iframes with php i said its LIKE having a iframe or a frame like you click a link and it changes like a picture or text in the iframe.. but i want it to change like a text on a page WITHOUT the iframe/frame part...