HTML frames question
- Started
- Last post
- 22 Responses
- harlanerskine
So, on my web site:
http://www.harlanerskine.com/I have a menu frame and an content frame left and right respectively. Does anyone know if I can easily make perm links directly into the content of the web site? if there is no easy way, like maybe some way of making the url call up the frames what is the best way to correct my website?
thank you for any help, comments on general website and artwork are always welcome, email me.
- doesnotexist0
what?
target the frame name?
- doesnotexist0
what?
target the frame name?
- harlanerskine0
I want to be able to email people a link that in within the web site.
- digilee0
woooossshhh ...
is that a plane?
no, it's this guy's question going way over my head!Might be an idea to show an example as I have no real clue what you are trying to do.
- version30
DON'T
- harlanerskine0
Sorry I guess I am not making sense. I would like to be able to send people a direct link into my website. Like for example if I wanted to email someone the beginning pages to a new section I just put up. all I know how to do now is email the link to that frame.
http://www.harlanerskine.com/ten…
is there any way to make a link that will include the menu? or should i rebuild the site with out the frame? I am trying to avoid this or should I look into making alternate indexes?
thanks for you help everyone.
- harlanerskine0
"DON'T" what?
- AndyRoss0
Yes, you should re-build the site without the frames.
This is one of the classic problems of using frames: a link to a specific piece of content--a specific page on your site--will not include the rest of the frameset.
For instance, if you have a menuFrame.html and a contentFrame.html within a frameSet.html, and you send a link to contentFrame.html, the person doesn't get the menuFrame or the frameSet, so your site won't look right to them.
So don't use frames, or I'll have to come over there and break all your pencils!!
- TheBlueOne0
"Don't" Frames.
- tbgd0
i think i understand you.
don't use frames is the only real solution!! perhaps think about using php includes so you only have one version of the menu, header etc.
- acescence0
it's definitely possible with a little PHP, but as has been said, you're probably better off investing your time in converting to a non-frames layout
- acescence0
or send me $20 and i will write the code for you
- harlanerskine0
tell me more about this code.
- heavyt0
with PHP and/or Javascript, you can do it.
you basically want to pass in a var, like:
domain.com?section=group1use php to get that var, map it to a n html page:
if [$_GET['section'] == 1]{ $page= foo.html;}
Then, use JS to set the source:
document.getElementById['frameID... = [?= $page; ?]
- 23kon0
firing acescene $20 sounds like a good solution lol.
alternatively, yeah php includes to include the navigation would work.
an easy fix like you said though would be to create alternate indexes and just send them out.
- st33d0
The bandwidth on my portfolio would shoot up exponentially if I used non-frames.
Plus I would have to rebuild my whole site from scratch.
Not worth (he says looking at 5 iframes).
I wonder... is it possible to have javascript in a frames html?
Or perhaps have an index page that would suck a ?name=value out of the url of the parent frameset and then execute a redirect targeted at a frame?
- lofielectronic0
There used to be a javascrip thing called Framejammer, that I think did what you need, might try a search for that.
I think it did. Frames, was all so long ago...
Great photos though.
Have you thought about the Lightbox 2 script to display them, might help with bandwidth?
- Witt0
- Witt0
ok. that didn't work.
- Witt0
but this does what you want: