Log In · Register

 
2 Pages V   1 2 >  
Closed TopicStart new topic
website help
sweetlilpnai
post Aug 8 2005, 06:14 AM
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 biggrin.gif
 
*mipadi*
post Aug 8 2005, 07:39 AM
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.
 
freeflow
post Aug 8 2005, 10:20 AM
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
 
sweetlilpnai
post Aug 9 2005, 02:32 AM
Post #4


i <3 muH BaYbEe
****

Group: Member
Posts: 221
Joined: Nov 2004
Member No: 62,547



thank you very much!! =)
 
sweetlilpnai
post Aug 10 2005, 05:45 AM
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
 
freeflow
post Aug 10 2005, 05:46 AM
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 .
 
sweetlilpnai
post Aug 10 2005, 05:47 AM
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/
 
freeflow
post Aug 10 2005, 05:52 AM
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>
 
sweetlilpnai
post Aug 10 2005, 05:54 AM
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 .
 
freeflow
post Aug 10 2005, 05:58 AM
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.
 
sweetlilpnai
post Aug 10 2005, 06:03 AM
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
 
freeflow
post Aug 10 2005, 06:08 AM
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.
 
sweetlilpnai
post Aug 10 2005, 06:56 AM
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 Aug 10 2005, 09:30 AM
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.
 
freeflow
post Aug 10 2005, 12:11 PM
Post #15


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



QUOTE(sweetlilpnai @ Aug 10 2005, 3:56 AM)
now it doesnt want to change pages.. sorry
*

I can't see your iframe code anymore .. you still have it in there right?
 
talcumpowder
post Aug 10 2005, 12:53 PM
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.
 
sweetlilpnai
post Aug 10 2005, 04:46 PM
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)
I can't see your iframe code anymore .. you still have it in there right?
*


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..
 
freeflow
post Aug 10 2005, 04:53 PM
Post #18


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



QUOTE(sweetlilpnai @ Aug 10 2005, 1:46 PM)
yeah its still on there...
i put the name of the iframe in quotation marks.. but how do i know if i did it right..
*

Your iframe should work.
 
sweetlilpnai
post Aug 10 2005, 04:55 PM
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?
 
freeflow
post Aug 10 2005, 05:01 PM
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>
 
sweetlilpnai
post Aug 10 2005, 05:10 PM
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 =)
 
sweetlilpnai
post Aug 10 2005, 05:38 PM
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
 
freeflow
post Aug 10 2005, 05:48 PM
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.
 
sweetlilpnai
post Aug 10 2005, 05:52 PM
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
 
talcumpowder
post Aug 10 2005, 05:54 PM
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?
 
sweetlilpnai
post Aug 10 2005, 05:57 PM
Post #26


i <3 muH BaYbEe
****

Group: Member
Posts: 221
Joined: Nov 2004
Member No: 62,547



yeah i know that thats where my pages are going to show up im trying to get it to show up but when ever i click on the link it doesnt change the page
 
talcumpowder
post Aug 10 2005, 06:04 PM
Post #27


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Okay. And, your problem is that you're linking the index.html file, which is the main page. Which is why nothing's changing probably. You should name it something like indexx.html or home.html for the content of the iFrame.
 
sweetlilpnai
post Aug 10 2005, 06:14 PM
Post #28


i <3 muH BaYbEe
****

Group: Member
Posts: 221
Joined: Nov 2004
Member No: 62,547



i did that... its still not working..
 
talcumpowder
post Aug 10 2005, 06:27 PM
Post #29


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Try this, I'm not sure I added everything, you broke it up, so I didn't quite know where you actually wanted everything.
 
sweetlilpnai
post Aug 10 2005, 06:36 PM
Post #30


i <3 muH BaYbEe
****

Group: Member
Posts: 221
Joined: Nov 2004
Member No: 62,547



aww thanks for doing the code for me.. but uhh hehe its still not working
 
talcumpowder
post Aug 10 2005, 06:39 PM
Post #31


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



When you're doing the pages that are supposed to show up in the iFrame, the layout code shouldn't be included. It should just be the content you want to show up on the page when you click the link.[/random]
 
sweetlilpnai
post Aug 10 2005, 06:45 PM
Post #32


i <3 muH BaYbEe
****

Group: Member
Posts: 221
Joined: Nov 2004
Member No: 62,547



o0o i didnt know that okay.. i tried it though but it still wont change pages


http://www.geocities.com/delta_akdphi/


thats the site
 
freeflow
post Aug 10 2005, 06:50 PM
Post #33


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



ok go do this now:

1) on your index.html page . have the layout , the iframe and all the divs.
2) on every other page , have only your stylesheet code and the content NOT IN A DIV just out there like a word document.
 
sweetlilpnai
post Aug 10 2005, 06:53 PM
Post #34


i <3 muH BaYbEe
****

Group: Member
Posts: 221
Joined: Nov 2004
Member No: 62,547



i did that .. but then the guest boook just went to the bottom of the page.. and the layout is at the top of the page
 
talcumpowder
post Aug 10 2005, 07:03 PM
Post #35


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Considering your source looks like this....
I wouldn't be surprised that nothing is working.
 
sweetlilpnai
post Aug 10 2005, 07:05 PM
Post #36


i <3 muH BaYbEe
****

Group: Member
Posts: 221
Joined: Nov 2004
Member No: 62,547



so its wrong.. ehhh...
 
freeflow
post Aug 10 2005, 07:06 PM
Post #37


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Seems like you should go back and recode it , read the div tutorials in teh tutorials section so you dont have all these extra codes , your source is really complicated to look at , when you postiion try absolute rather then static.

There are soo many codes and alot were messed up so you should really go back and recode
 
sweetlilpnai
post Aug 10 2005, 07:07 PM
Post #38


i <3 muH BaYbEe
****

Group: Member
Posts: 221
Joined: Nov 2004
Member No: 62,547



okay ill do that right now
 

2 Pages V   1 2 >
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: