HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
assign a name to a window without js
Post new topic   Reply to topic    HTML Help Forum -> General HTML
View previous topic :: View next topic  
Author Message
wanderer



Joined: 18 Dec 2004
Posts: 3
Location: Graz, Austria

PostPosted: Sat Dec 18, 2004 8:41 am     assign a name to a window without js Reply with quote

Hello,

as it is possible to use window names in the target attribute of a link, it would be convenient to name a window without javascript too.

Does anybody know a solution in pure html?

Thanks in advance for your answers ,
John
brianng



Joined: 17 Dec 2004
Posts: 123

PostPosted: Sat Dec 18, 2004 10:37 am     Reply with quote

Yes it's possible. Here's an example

<a href = "link1" target="window1">Link 1</a>
<a href = "link2" target="window1">Link 2</a>
<a href = "link3" target="window2">Link 3</a>

When you click link 1, window1 will opens. When you click link2, window1 will loads link2. When you click link 3, another window will opens.
wanderer



Joined: 18 Dec 2004
Posts: 3
Location: Graz, Austria

PostPosted: Sat Dec 18, 2004 11:01 am     Reply with quote

Shure,

but my problem is, how to name the window, before you use the link from the other document in the other window. I need to do this without javascript.

Please excuse my english, as it is not my native language.

John
brianng



Joined: 17 Dec 2004
Posts: 123

PostPosted: Sat Dec 18, 2004 11:35 am     Reply with quote

ohhh I understand your question now. I'm not sure if you can do that with HTML
wanderer



Joined: 18 Dec 2004
Posts: 3
Location: Graz, Austria

PostPosted: Sat Dec 18, 2004 12:16 pm     Reply with quote

Yes, so do I, but maybe there is someone, who knows more than I do.

John
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial