website help |
website help |
![]()
Post
#1
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
im making a div layout and im going to put a navigation on the left and the website part on the right.. so when you click on it the only thing that will change the page would be the div not the whole thing...
heres an example [example] see how wen you click on the navigation the only thing that changes is that one area.. i was wondering how would i do that sorry if im a little confusing.. thank you for the help in advance ![]() |
|
|
![]() |
*mipadi* |
![]()
Post
#2
|
Guest ![]() |
You could do it using iframes. If you do a Google search for iframe, you should find a tutorial on how to use those.
|
|
|
![]()
Post
#3
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
Yea use iframes , use a div for the navigation and use an iframe for the part that you want your content to change into.
Heres a good iframe tutorial: http://www.createblog.com/forums/index.php?showtopic=85687 http://pixelfx.org |
|
|
![]()
Post
#4
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
thank you very much!! =)
|
|
|
![]()
Post
#5
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
okay for some reason its not working.. its making me reallie mad..can you use iframes on geocities
|
|
|
![]()
Post
#6
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
Yes you can , i think post your iframe code .
|
|
|
![]()
Post
#7
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
heres the site im doing. its for my sisters sorority.. its not working though..
http://www.geocities.com/delta_akdphi/ |
|
|
![]()
Post
#8
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
Ok try this
CODE <iframe FRAMEBORDER="0" BORDER=0 width=550 height=385 src="http://www.geocities.com/delta_akdphi/index.html" name=Main style="position:absolute; left:40; top:-400" scrolling=auto></iframe> thats your current. change it to this: CODE <iframe FRAMEBORDER="0" BORDER=0 width=550
height=385 src="index.html" name=Main style="position:absolute; left:40; top:-400" scrolling=yes></iframe> |
|
|
![]()
Post
#9
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
i only have to do it to my main page right? cuz i have other html sections for each page .
|
|
|
![]()
Post
#10
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
Yea . only put the iframe on the main page.
|
|
|
![]()
Post
#11
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
hmm its still not working because like everytime i try to click on the link the whole page refreshes.. am i doing something wrong
|
|
|
![]()
Post
#12
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
look this should fix it.
heres your code CODE <A href="http://www.geocities.com/delta_akdphi/index.html" target=main><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/Untitled-3.gif" alt="Image hosted by Photobucket.com"></A><BR><BR> <A href="http://www.geocities.com/delta_akdphi/Delta_akdphi.html" target=_blank><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/aboutus.gif" alt=""></A><BR><BR> <A href="http://www.geocities.com/delta_akdphi/Sisters.html" target=_blank><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/sisters.gif" alt=""></A><BR><br> <A href="http://www.geocities.com/delta_akdphi/Guestbook.html" target=_blank><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/Guestbook.gif" alt=""></a><BR><BR> <A href="http://www.geocities.com/delta_akdphi/Photography.html" target=_blank><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/photo.gif" alt=""></a> <br><br><A href="http://www.geocities.com/delta_akdphi/Contact.html" target=_blank><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/contact.gif" alt=""></a></td> it should be CODE <A href="http://www.geocities.com/delta_akdphi/index.html" target=main><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/Untitled-3.gif" alt="Image hosted by Photobucket.com"></A><BR><BR> <A href="http://www.geocities.com/delta_akdphi/Delta_akdphi.html" target=main><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/aboutus.gif" alt=""></A><BR><BR> <A href="http://www.geocities.com/delta_akdphi/Sisters.html" target=main><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/sisters.gif" alt=""></A><BR><br> <A href="http://www.geocities.com/delta_akdphi/Guestbook.html" target=main><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/Guestbook.gif" alt=""></a><BR><BR> <A href="http://www.geocities.com/delta_akdphi/Photography.html" target=main><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/photo.gif" alt=""></a> <br><br><A href="http://www.geocities.com/delta_akdphi/Contact.html" target=main><img src="http://img.photobucket.com/albums/v513/inday8298/akdphi/contact.gif" alt=""></a></td> and its not target=_blank just to let you know its target="_blank". the "_blank" makes the page refresh. |
|
|
![]()
Post
#13
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
now it doesnt want to change pages.. sorry
|
|
|
*mipadi* |
![]()
Post
#14
|
Guest ![]() |
QUOTE(SHAWTY_TOYA @ Aug 10 2005, 7:08 AM) and its not target=_blank just to let you know its target="_blank". the "_blank" makes the page refresh. It can be target=_blank, as long as it's not XHTML (XHTML requires quotes around attribute values). _blank doesn't make the page refresh; it just loads the content of a link in a new window. |
|
|
![]()
Post
#15
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
|
|
|
![]()
Post
#16
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
Stylesheets go in header. And, you can use iFrames on Geocities, it just as to be executed right. And... The name of the iFrame should be enclosed in quotation marks... =S That seems to be the only way it works on Geocities.
|
|
|
![]()
Post
#17
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
QUOTE(SHAWTY_TOYA @ Aug 10 2005, 12:11 PM) yeah its still on there... QUOTE Stylesheets go in header. And, you can use iFrames on Geocities, it just as to be executed right. And... The name of the iFrame should be enclosed in quotation marks... =S That seems to be the only way it works on Geocities. i put the name of the iframe in quotation marks.. but how do i know if i did it right.. |
|
|
![]()
Post
#18
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
|
|
|
![]()
Post
#19
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
do you think its because of the codes that i have on their its not working?
|
|
|
![]()
Post
#20
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
Who knows try posting your codes here rather than use looking through view source.
CODE <html> <head> <title>TITLEOFSITEHERE</title> STYLESHEETHERE </head> <body> ANY OTHER CODES HERE </body> </html> try redoing your main page so its like that put all divs , iframes , images and anything but your stylesheet in between <body> and </body> |
|
|
![]()
Post
#21
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
okay thank you.. im going to try it brb =)
|
|
|
![]()
Post
#22
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
This is for my sisters header the on where it says alpha kappa delta phi This is where the pages should show up at Navigation bar |
|
|
![]()
Post
#23
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
First off it seems like you have ALOT of divs and your not ending all of them . For instance the navigation one . For one you really need to go through and make sure you end all your codes. You might also want to try taking your iframe out of a div and aligning the iframe.
That might not fix the iframe but you need to fix thats stuff. |
|
|
![]()
Post
#24
|
|
![]() i <3 muH BaYbEe ![]() ![]() ![]() ![]() Group: Member Posts: 221 Joined: Nov 2004 Member No: 62,547 ![]() |
okay i closed all my div codes xcept for the main one that the page will show up on
|
|
|
![]()
Post
#25
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
For Geocities, I found that moving the iFrame in the div is a lot easier than moving the iFrame itself. It just seems to work better. But since you're moving the iFrame itself, I suggest you take out the div. You don't need it.
And, yeah, you need to end a lot of your divs with </div>. edit// Found your problem. You do realize that the IFRAME is where your pages are going to show up, right? |
|
|
![]() ![]() |