How do you make it so when u click a link, it only changes the iframe and not the whole page cause i cant be bothered with the whole page just reloading over and over again "/
Thread Closed By Owen =]
Printable View
How do you make it so when u click a link, it only changes the iframe and not the whole page cause i cant be bothered with the whole page just reloading over and over again "/
Thread Closed By Owen =]
u make the page the same just change the iframe
Name the iFrame using the code below
Then put this HTML in your page somwere and ill links will target to the iFrameCode:<IFRAME SRC="http://www.the-pit.co.uk/welcome.php" FRAMEBORDER="0" NAME="main"WIDTH="98%"HEIGHT="315"></IFRAME>
Change main to whatever you wantCode:<base target="main">
:)
do you know anything about websites if your using a free host it would take like a day for your site to load ;)Quote:
Originally Posted by phoenix-iv
Yeh replace Main with the name you gave youre iframe
or just make your link <a href="URL" target="main">Home</a>
true thts wat i was gonna say but i ent sure wat he meant well done splitercell
im confused lol
l@coste mine is a free host with unlimted bandwidth
I'm confused too, But hey! xD
in an attempt to futher exsplain andermans exsample
Ok this is the ifraim
<IFRAME SRC="http://www.the-pit.co.uk/welcome.php" FRAMEBORDER="0" NAME="main"WIDTH="98%"HEIGHT="315"></IFRAME>
You see the tag name, is set to main. meaning this ifraim is called main, it could be called what ever you like.
Now we have our link
<a href="URL">Home</a>
but to make it only use the ifraim with the name main
<a href="URL" target="main">Home</a>
We set the target to main, meaing the link only targets the ifraim with the name main, so only that ifraim will change page.
ok thanks :PQuote:
Originally Posted by Mentor
Like to see that "/Quote:
Originally Posted by phoenix-iv