We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
  • Pages:
  • 1
  • 2
Depreciated Tags?; Dumb Question, but...
Topic Started: Jun 1 2005, 12:34 AM (968 Views)
Seth
Member Avatar
I has a pony
[ *  *  *  *  *  *  *  *  * ]
You can't, actually. (Mostly because frames are *cough* deprecated :ermm:)
Offline Profile Quote Post Goto Top
 
Deleted Account
Member
[ *  *  *  * ]
Frames depreciated? Never heard that one before.

I don't see why they would be, as they serve a unique purpose that can't really be achieved otherwise. :/
Offline Profile Quote Post Goto Top
 
Gornakle
Member
[ *  *  *  *  * ]
They are? I can see why people should try to use alternatives, but I didn't think they were deprecated. I did read about an improved frame standard being worked on though, don't recall the name (XFrames?).
Offline Profile Quote Post Goto Top
 
Seth
Member Avatar
I has a pony
[ *  *  *  *  *  *  *  *  * ]
You're right, I was getting deprecated and not recommended mixed up.

Still no way to make two change at once though :( and there's no target attribute in XHTML, so using frames is hard.
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
In the <head>
Code: HTML
 
<SCRIPT language="javascript">
function loadLinks(cUrl1,cFrame1,cUrl2,cFrame2) {
parent.frames[cFrame1].location = cUrl1
parent.frames[cFrame2].location = cUrl2
}

In the <body> (where-ever you want to put the link)
Code: HTML
 
<A href="javascript:loadLinks('url1','frame1','url2','frame2')">Ververs twee frames</A>

Replace url1 by the filename of the first page, frane1 by the name that frame has.
Same for **2

This should work...

You could also make another frameset page, and link to that (using target='top')

Well, have fun with it :P
And don't ask me how it works, because I have no idea
Offline Profile Quote Post Goto Top
 
Seth
Member Avatar
I has a pony
[ *  *  *  *  *  *  *  *  * ]
Treacherous :shifty: using JS seems to work, yet something is nagging me about this...
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply
  • Pages:
  • 1
  • 2