Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Really Old Stuff »
  • HTML & DHTML (Moderator: De KoFfieŠ) »
  • A problem with HTML frames
« previous next »
  • Print
Pages: [1]

Author Topic: A problem with HTML frames  (Read 7156 times)

Offline RuneBlade

  • Unemployed Metalhead :/
  • Zealot
  • *
  • Posts: 646
  • Inactive sonovabitch
A problem with HTML frames
« on: October 10, 2005, 03:27:13 PM »
I just started making a site, and when I got into making frames I found a problem.
I have two frames. One on the left 70% and the right 30% with links to jump around the site.
Whenever I click a link on the second frame it either opens up in the second frame, or between the first and second. It is supposed to just change the first frame.
Heres a link so you can see for yourself:
http://www.sitesled.com/members/sinux/index.html
Logged
Religions, science, theories. Screw em all, I believe in Metal

Offline WarxePB

  • Action Sue
  • Royal
  • *
  • Posts: 3,601
  • What killed the dinosaurs?
    • The Gigaverse
(No subject)
« Reply #1 on: October 10, 2005, 03:57:47 PM »
Hmm. I've experimented with frames in Frontpage, and I believe that there's an option in there to open a link in a different frame without creating a new one. I'm not sure how to do that in HTML, but you might want to look it up or something.
Logged
Blog: The Gigaverse
Twitter: Initial Chaos

Offline SaiKar

  • KOFFING!
  • Staff
  • Royal
  • *
  • Posts: 4,082
(No subject)
« Reply #2 on: October 10, 2005, 06:52:26 PM »
My webpage (link in my sig) uses frames like that. Only problem is, I didn't program it... and the frames part is in Javascript.  :|  Maybe it will be close enough to HTML to be helpful to you.
Logged

Offline RuneBlade

  • Unemployed Metalhead :/
  • Zealot
  • *
  • Posts: 646
  • Inactive sonovabitch
(No subject)
« Reply #3 on: October 10, 2005, 07:45:19 PM »
Im gonna look into that, thx for replying.
Logged
Religions, science, theories. Screw em all, I believe in Metal

Offline Osmose

  • So freakin' inactive
  • Royal
  • *
  • Posts: 3,041
(No subject)
« Reply #4 on: October 10, 2005, 09:13:56 PM »
First, when using frames, you should only use when making a message to non-frames-compliant-browser people. Remove them.

Second of all, you need to give your frames names and set that as the target of the links. For example, when declaring the frame for the main part:

Quote



Should be more along the lines of:

Quote



So they are identified. Now, in your side bar page:

Quote
Home
Files


Should be changed to:

Quote
Home
Files


That way, the page knows that it will be loading that page in the object labeled "main", in this case the main frame of the page.

 This  seems to be a great tutorial on frames. I suggest reading through it to refresh yourself on frames and to learn about little quirks like this.
Logged
Hrm.

Offline karlc

  • Member
  • Associate
  • *
  • Posts: 188
  • ?
help
« Reply #5 on: October 10, 2005, 10:46:10 PM »
im not sure how to program htmls can you guys help me
where can i practice
Logged
http://i11.photobucket.com/albums/a187/karlconsing/gotenks3.gif

Offline Osmose

  • So freakin' inactive
  • Royal
  • *
  • Posts: 3,041
(No subject)
« Reply #6 on: October 10, 2005, 11:35:58 PM »
Try not to double post. It looks wierd.

http://www.davesite.com is a great resource. It's where I learned myself.

http://www.webmonkey.com is also a great site, although I prefer Davesite for the introduction.
Logged
Hrm.

Offline karlc

  • Member
  • Associate
  • *
  • Posts: 188
  • ?
can i ask you these questions
« Reply #7 on: October 11, 2005, 12:20:53 AM »
*hey are you allowed to put a bgm on threads and posts or signatures?
*if you can you help me program it.?
*how do you put a bgm to a webpage you have?
*If i have the url for the midi file(the sound file) what do i do with it?
*last
*can you help me?
*riddle :D (optional to answer) how many questions did i ask?




*I want to give this attachment to every one
Logged
http://i11.photobucket.com/albums/a187/karlconsing/gotenks3.gif

Offline Osmose

  • So freakin' inactive
  • Royal
  • *
  • Posts: 3,041
(No subject)
« Reply #8 on: October 11, 2005, 10:24:26 AM »
1.Putting background music on your posts or signature is A.Probably not allowed, B.Probably not possible, C.Definately REALLY annoying.
2.This tutorial  will show you how to stick BG Music on your website, but I'd like to quote it:

 
Quote
Before you start, you should be aware that background music that automatically starts playing when a web page is loaded may not be appreciated by a large number of your visitors. Some of them, when greeted with the sudden blaring of music from their speakers, may immediately hit the BACK button of their browsers. This may occur even if you're playing a piece of music that you think is well loved by everyone: remember, there are people who surf the Internet in public libraries, at work, or in the dead of the night when others are asleep. Others may already have their favourite piece of music playing on their computer speakers, and your auto-playing music file will only cause them to be annoyed.


If you don't want your website to look like some Tripod 12-Year old piece of crap, then I'd recommend not putting background music.

As for your last comment, I can't glean what you mean. If you want that to be at the bottom of all your posts, stick it in your signature. I can see from your sig that you already know how to do this, so why you're asking me I don't know.
Logged
Hrm.

Offline RuneBlade

  • Unemployed Metalhead :/
  • Zealot
  • *
  • Posts: 646
  • Inactive sonovabitch
(No subject)
« Reply #9 on: October 12, 2005, 11:57:58 AM »
Thx for the help Osmose
Logged
Religions, science, theories. Screw em all, I believe in Metal

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Really Old Stuff »
  • HTML & DHTML (Moderator: De KoFfieŠ) »
  • A problem with HTML frames
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum