Click to See Complete Forum and Search --> : Geting Txt to work on frames and links
HandyMan
04-29-2006, 05:28 PM
Hey,
I know how to setup the frames into two sections of the webpage, so i put that code into notepad and for the text i want in the right section of the frame i just put text in and save it as Text.htm then the other site is for the links on the nav bar so i have it saved as link.htm for example. Then for the frame the code is:
<frameset cols="75%,25%">
<frame src="text.htm">
<frame src="link.htm">
</frameset>
Like that but then when i put the code in for the page and upload it.. it dosent work it splits teh frames the text and links dont work for some reason
Please i have been working on this for a long time please someone help meeeee !
pottersdt2k
04-29-2006, 06:45 PM
A site I made ages ago using Frames which worked had the following:
<FRAMESET ROWS="130,*">
<FRAME SRC="topbar1.html" NORESIZE NAME="NavBar" BORDER=0 SCROLLING=AUTO>
<FRAME SRC="home.html" NORESIZE NAME="_Main" SCROLLING=AUTO>
</FRAMESET>
Only problem then I can see with your code, is a lack of NAME="frame_name" in the tags... but then I don't totally understand what it is you're asking - I'm guessing that this may be the answer you're looking for.
HandyMan
04-29-2006, 08:01 PM
i put the code in notepad with the names of the file in html format then i saved it and uploaded it on cpanel for the page it gets the frame like always but still dosent show the txt grr
David Harrison
04-29-2006, 08:03 PM
Your question is very clear I'm afraid, so an example of the not-working page would be good, preferably online, though you could zip up any related files and attach them to a post.
If I had to guess what your problem is from what you've said so far, I'd say that you click on links in link.htm they replace the link.htm page instead of the text.htm page.
If that is your problem, then the solution is relatively simple, firstly you need to apply a name to each frame as pottersdt2k said, like so:
<frameset cols="75%,25%">
<frame src="text.htm" name="content">
<frame src="link.htm" name="navbar">
</frameset>Then on your links you need to tell them which frame to target by using the target attribute, like so:<a href="blah.htm" target="content">Blah</a>Now, with that said, I would like to advise against using frames. If you use frames, the URI in the address bar won't change, so users can't bookmark a specific link for later reading or send it to someone else to read. What is perhaps worse though is that users coming in from search engines won't be taken to the frameset page, they'll be taken to the page that actually has the content on, then once they get there they won't have a link bar to navigate around the rest of your site with.
pottersdt2k
04-29-2006, 08:18 PM
DH agree with you re: bookmarking and coming from search engines...
But isn't it possible to use meta-tags to tell search engine bots to 'ignore' certain pages, thus those pages not displaying in search results?
Agree 100% about not using frames though... I made a couple of my very first sites using Frames, and using CSS + XHTML is so much better and easier (eventually!)
David Harrison
04-29-2006, 08:22 PM
Yes, you can use a robots.txt files on your site to tell search engines to ignore specific files and directories, but in this case you'd have to tell the search engine to ignore all of the files with content on and that would be even worse.
HandyMan
04-29-2006, 10:28 PM
Example of non working page :
Click Here For Page (http://habvult.com/HABVULT.HTM)
Launchnet
04-29-2006, 11:40 PM
Make it easy. Use MS Frontpage to set up the frames and it is very easy. You can then design your pages any way that you want to. My site uses frames and it does exactly what I want it to. Left frame is all links and right frame is home page. Each link opens up a different page in the right frame.
It is extremely to navigage. Yep, I understand that a lot of people don't like frames, but I happen to be one that does.
Take a look at my site.
David Harrison
04-30-2006, 01:50 AM
Ah yes, FrontPage, quite possibly the worst piece of software ever written, even more so than Internet Explorer. WYSIWYG (What You See Is What You Get) editors aren't a good way to create sites, because they simply can't guarentee that the generated content will work on the whole range of devices that have access to the internet, or even look right on all modern web browsers.
HandyMan, the two pages TEXT.HTM and link.HTM simply don't exist. You have to first upload them to the server, if you have already done that and they still don't show, that could be for a couple of reasons.
Due to the way you've referenced the files (ie: no folder path), you have to make sure that the files are in the same directory as HABVULT.HTM.
If the files are in the same directory, then another reason could be that you are on an Apache server, Apache servers consider the address of a file to be case sensitive, for that reason I recommend that you rename all folders and files (including file extensions) to be lower case, this will help avoid problems in future, even if it's not the cause of the problem now.
Launchnet
04-30-2006, 12:14 PM
David, I agree that Front Page isn't the best by any means, but it is a simple way of setting up the Frame pages. Then you can clean out all the garbage MS puts in. I'm not saying use Front Page for building the page. It's just very easy to set up the Frames and get your links working.