Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Iframe Navigation from other pages
Old 11-22-2006, 09:47 PM Iframe Navigation from other pages
Jaryth000's Avatar
Skilled Talker

Posts: 59
Name: Jaryth
Location: Canada
Trades: 0
I usually don’t like signing up for a site just to ask a simple question, but I have looked all over and have not found a thing. So I turn here. And seeing the quality of this forum, there is a good chance that I will stick around and become a helpful member of the community .

On to my dilemma.

I’m making a website for my school. It is to replace the one that is currently on the site. I’m going to have all of the same content, just presented in a nicer way. So far I have had little problem over all, however I ran into a slight Iframe problem.

I have a page with a large amount of text. I assigned a simple ID navigation to it (as in giving each section a <Span> with an ID, and linking to the #'s.). And that worked fine.
And to put that page into the site, I used an Iframe.
My problem... is that I’m trying to find a way, to access the ID's inside the Iframe, from other pages.
I doubt I’m doing an overly good job describing this, so here:

http://www.jaryth.com/stj/about.html <that’s the page with the Iframe on it
http://www.jaryth.com/stj/about2.html <that’s the page the Iframe contains

What I’m trying to do, is set it up so I can have a side navigation that will be able to access different parts in the Iframe. For links that are on the about page, I would simple use a Target="about" and it works... however, how (if it is even possible) do I do that from another page? Say, the index page? Everything I have tried has failed...

And I now Frames might not be the BEST way to do it... but it am currently the easiest way to do it without reformatting the entire about2 page...
(Note about the site: Only the first 2 navigation links on the side (Home and About) lead to pages that are actually kept updated. This site is only meant as a preview until it is uploaded to the schools server).

Sorry if I still did not explain it properly. However, for those who did understand, any help would be Greatly Welcome. Or if anyone has an alternative way of doing this, I am very open to opinions.

Thank you for all who take the time to read this.

-Jaryth
Jaryth000 is offline
Reply With Quote
View Public Profile Visit Jaryth000's homepage!
 
 
Register now for full access!
Old 11-22-2006, 09:52 PM Re: Iframe Navigation from other pages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
<a href="http://www.jaryth.com/stj/about2.htm...n-of-long-text" target="about">....</a>

Did you try that?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 11-22-2006, 10:09 PM Re: Iframe Navigation from other pages
Jaryth000's Avatar
Skilled Talker

Posts: 59
Name: Jaryth
Location: Canada
Trades: 0
indeed I have. That’s gets to the page...

But Im trying to link to the page with the Iframe, and then have the link control the contents inside the iframe.

If I use a link like
<a href="http://www.jaryth.com/stj/about2.htm...n-of-long-text" target="about">....</a>
That, that, it will link to the page with all of the information. That’s not what I want to get to... I want to go to the one with the iframe.

soo... Someone clicks on a link, that link goes to the page, THEN tells the Iframe to go to a page.... That’s my problem...

thanks for the prompt reply though.
Jaryth000 is offline
Reply With Quote
View Public Profile Visit Jaryth000's homepage!
 
Old 11-23-2006, 12:27 AM Re: Iframe Navigation from other pages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
So what you want is a link to a page containing an iframe containing a different page?

Why not just create a different page containing the information outright?

One other thing you may find easier...inline frames are only meant to be used when displaying info from external sites. Divs would be a much better way to pull off what you're trying to.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 11-23-2006, 12:35 AM Re: Iframe Navigation from other pages
Jaryth000's Avatar
Skilled Talker

Posts: 59
Name: Jaryth
Location: Canada
Trades: 0
That’s where my other dilemma comes in. Putting all of the information on that one page would be the easiest, and it is the first thing I tried. However, the original source that Im getting the information from is over 10k words, most of it formatted in a specific way, using table and whatnot, that was created about 3 years ago on FrontPage…
If I just take the code right from that page and stick it into the current page, because of the formatting of the original, it messes with the layout so hard core, that noting looks right. It doesn’t stay within the Div, it runs all over the page, the navigation doesn’t work right; the link back to the top isn’t in the right place... and just all sorts of bad stuff.
Upon seeing that, I started to reformat the ordinal (this is when I started adding the ID navigation) and I got about a 1/4 though... and that took me a long time... and I realized that I was still doing the part that was relatively easy... and looking into it further, it would just take an amazing amount of time and effort to go though by hand and redo all the formatting.
Hence why I went with the Iframe. It works, upon its self, completely fine. Just trying to do a touch more advanced stuff, is what I’m having a problem with.


But yes, a link to a page with an iframe, and then that link changing the content of the iframe.
__________________

Please login or register to view this content. Registration is FREE
My personal website
-Jaryth (UID590)
Jaryth000 is offline
Reply With Quote
View Public Profile Visit Jaryth000's homepage!
 
Old 11-23-2006, 12:49 AM Re: Iframe Navigation from other pages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
That sounds like a Javascript kind of an issue. Have you looked for Javascripts that control inline frames yet?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 11-23-2006, 12:51 AM Re: Iframe Navigation from other pages
Jaryth000's Avatar
Skilled Talker

Posts: 59
Name: Jaryth
Location: Canada
Trades: 0
Hmm. Well upon looking at my problem, I kind figured it was a kind of JS type thing... but.. I know barely anything about JavaScript XD.



Im not quite sure where to start looking... but Ill get on it. .



Thanks!
__________________

Please login or register to view this content. Registration is FREE
My personal website
-Jaryth (UID590)
Jaryth000 is offline
Reply With Quote
View Public Profile Visit Jaryth000's homepage!
 
Old 11-23-2006, 12:53 AM Re: Iframe Navigation from other pages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Cool. Because I've got NO other ideas for ya.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 11-23-2006, 01:25 AM Re: Iframe Navigation from other pages
Jaryth000's Avatar
Skilled Talker

Posts: 59
Name: Jaryth
Location: Canada
Trades: 0
Well thank you for your help.
__________________

Please login or register to view this content. Registration is FREE
My personal website
-Jaryth (UID590)
Jaryth000 is offline
Reply With Quote
View Public Profile Visit Jaryth000's homepage!
 
Reply     « Reply to Iframe Navigation from other pages
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28831 seconds with 12 queries