View Full Version : Frames or not frames ???
NigeUK
10-22-2002, 04:34 PM
Can anyone help answer my query. I'm not new to frames as such, but I'm looking for a way to have a static menu bar at the top of the site and update the lower part - can this be done by DHTML or is it Java only?
I'm looking for similar functionality to this URL ...
http://www.scan.co.uk/products/
Many tanks in advance.
ACJavascript
10-22-2002, 04:46 PM
Yea that site used frames to do that.. Just make the frames so that the to one has the menu in it.. The menu to refresh the lower frame will need to have the target set to "FramesName"
like
<a href="Rules.html" target="LowerFramesName">Click Me</a>
Hope this helps:D
NigeUK
10-22-2002, 05:14 PM
Thanks for clearing that up. I've been advised not to use frames at all to avoid problems with search engines finding the lower page(s) - hence you get no menu bar. Is this avoidable ? I think I've seen a script to re-load the menu bar.
Ta.
Revelle
10-22-2002, 05:25 PM
http://www.javascriptkit.com/script/cutindex12.shtml
check this page out, loads of scripts, but the one that keeps your pages together if using Frames, can be found here near the top
^.^
NigeUK
10-22-2002, 05:55 PM
Thanks, time for some web development.:thumbsup:
TheTree
10-25-2002, 02:41 PM
I'm interested in frames, too------not MY idea------a client's....
Anyway-----this is the format in which I'm interested:
http://www.iconarchive.com
I've already worked with a code, on another project, where a frame was used to split the screen, ONCE-----putting the vertical scroll bar, in a different place-----I figured I'd just add another page to get a TOP frame (like the above poster wanted, EXCEPT it would be just for the company's name/logo!!
I hope I'm explaining this correctly.....
before, I created a left.html/right.html/whatever.html (for the one with just the split screen)------I figured THIS time, I would only need to add another ".html"-----say, "top.html"......
but it sure ain't workin'!!!
Like I said, that URL I provided is EXACTLY what I need-----ANY help, ANYone can give, would be GREATLY appreciated!!!
Thanks, in advance!!!
TheTree
P.S. I DID bookmark the page for scripts, that somebody provided-----I thought I'd post this anyway, in case somebody could help-me-out before I could get it figured-out------sort of a "whichever comes first" type of thing------Thanks!!
TheTree
10-25-2002, 02:48 PM
P.S.S. I also tried a top.html/bottom.html/whatever.html-----and I got just that-----a place for the company logo, and a bottom frame-----but I, ALSO, need the bottom to be split-----with the vertical scroll t'ward the left, too-----I've only been able t'get it t'ward the RIGHT......
Thanks, again!
ACJavascript
10-25-2002, 03:09 PM
you mean this type of frame setup:D?
________
<frameset rows="80,*">
<frame name="bla" src="right.html">
<frameset cols="200,*">
<frame name="bla3" src="right2.html">
<frame name="bla2" src="top.html">
</frameset>
</frameset>
______________
TheTree
10-25-2002, 04:45 PM
OMG, ACJavascript-----bless your little pea-pickin' heart-----that did the trick!! All I had t'do was add the "scrolling=no", to the top!!! I can't thank you enough!!!
For future reference/learning, for me-----would you mind telling me why MY code wasn't working???
<frameset cols="*,100" border="2" framespacing="0" frameborder="yes">
<frame src="1_HOMEtop.html" marginwidth=0 marginheight=0 name="top">
<hr>
<frameset cols="*,200" border="2" framespacing="0" frameborder="yes">
<frame src="1_HOMEleft.html" marginwidth="8" marginheight="8" name="leftside">
<frameset cols="*,200" border="2" framespacing="0" frameborder="yes">
<frame src="1_HOMEright.html" marginwidth="8" marginheight="8" name="rightside">
</frameset>
.....and lastly, on which page do I put the code for the colored scrollbars???
Thanks a MILLION!!!!
ACJavascript
10-25-2002, 04:51 PM
Your most very welcome. :D:D
frist was the way you setup the frameset..
You had put a frameset for every frame..
as you know rows=top to bottom
and cols=left to right..
So when you setup a frameset you need to setup one for each..
as you saw in mine there was a set for rows(top to bottom) wich split the screen 80=top part.. and *=the rest of the screen.
Then i made another frameset with split it,, 200,*..
in yours you tried to actualy split each frame with rows and cols,, which doesnt work as you saw :D
Hope this has helped:D:D
Revelle
10-25-2002, 05:15 PM
For the scrollbar part, put those codes in your FRAMESET! file (page) the one that has the codes defining your frames :D
Then you'll be good, OR just throw it in a frame that will always be there, I.E. your "top" frame ^.^
You can either insert the codes directly into your page, or attach a CSS file which will go in your Frameset or "top" page in your <HEAD> tag.
Go to www.download.com.com for a program called "Topstyle". That'll help you with making your CSS file.
If you need the code to 'attach' the css, you will most likely find it anywhere with a search but here ya go:
<HEAD>
<link rel="stylesheet" href="somename.css" type="text/css">
</HEAD>
:)
TheTree
10-25-2002, 06:04 PM
Thankyou, SO MUCH, ACJavascript------you explained it, PERFECTLY!!!!
......and, obviously, I didn't even CLOSE each frameset (/frameset)!!
Revelle: Thanks a MILLION!!!
I don't have time now, to do what you said------I just needed t'take a minute and letju guys know I saw/appreciate your responses-----I'll post back here, after I have followed your instructions, and letcha know!!! (the part about CSS)
Thanks, also, for correcting me on "file" vs. "page"------I can NEVER remember the proper terminology for ANYTHING------THAT'S why I was worried I wouldn't explain it correctly!!!
Thanks, again, for everything!!
TheTree
Revelle
10-25-2002, 07:15 PM
:> Wow.. you're welcome <:
good luck and have fun ;)
jscript_junkie
10-25-2002, 07:36 PM
Might be off topic, but why does download.com have an extra .com at the end of their domain? download.com.com seems really weird.
Nightfire
10-25-2002, 08:01 PM
They own http://www.com.com
download is the sub-domain
jscript_junkie
10-26-2002, 12:57 AM
OK. That's cool. Just seems really weird.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.