~~N00bler Question~~

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

MaxBlast-PHP
Forum Newbie
Posts: 9
Joined: Fri Mar 25, 2005 1:11 am

~~N00bler Question~~

Post 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
method_man
Forum Contributor
Posts: 257
Joined: Sat Mar 19, 2005 1:38 am

what?

Post by method_man »

what? u mean it opens in the same window?

matt
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
method_man
Forum Contributor
Posts: 257
Joined: Sat Mar 19, 2005 1:38 am

matt

Post by method_man »

it should automatically open in the same window unless u put

Code: Select all

<html>
<body>

<a href=&quote;lastpage.htm&quote; target=&quote;_blank&quote;>Last Page</a> 

//If you set the target attribute of a link to &quote;_blank&quote;,
the link will open in a new window.

</body>
</html>
MaxBlast-PHP
Forum Newbie
Posts: 9
Joined: Fri Mar 25, 2005 1:11 am

Post 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...
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

post the code you're using that does this please. (Make sure to read the Posting Code Guidelines first.)
MaxBlast-PHP
Forum Newbie
Posts: 9
Joined: Fri Mar 25, 2005 1:11 am

Post 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
method_man
Forum Contributor
Posts: 257
Joined: Sat Mar 19, 2005 1:38 am

?

Post by method_man »

i still dont get what ur saying
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

sounds like you are talking about Javascript dynamically rewriting the content or xmlhttp objects.. at any rate, neither is easier to do.
method_man
Forum Contributor
Posts: 257
Joined: Sat Mar 19, 2005 1:38 am

?

Post by method_man »

do u want it to pop up in a new tab? a new window? what?
i still dont get it

matt
MaxBlast-PHP
Forum Newbie
Posts: 9
Joined: Fri Mar 25, 2005 1:11 am

Post 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
method_man
Forum Contributor
Posts: 257
Joined: Sat Mar 19, 2005 1:38 am

hmm

Post by method_man »

hmm... i suggest just doing it the way u know how instead of doin it this way

matt
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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..
MaxBlast-PHP
Forum Newbie
Posts: 9
Joined: Fri Mar 25, 2005 1:11 am

Post by MaxBlast-PHP »

well i suggest i dont and learn something..
MaxBlast-PHP
Forum Newbie
Posts: 9
Joined: Fri Mar 25, 2005 1:11 am

Post 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...
Post Reply