 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
wanderer
Joined: 18 Dec 2004 Posts: 3 Location: Graz, Austria
|
Posted: Sat Dec 18, 2004 8:41 am assign a name to a window without js |
|
|
|
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
|
Posted: Sat Dec 18, 2004 10:37 am |
|
|
|
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
|
Posted: Sat Dec 18, 2004 11:01 am |
|
|
|
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
|
Posted: Sat Dec 18, 2004 11:35 am |
|
|
|
| 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
|
Posted: Sat Dec 18, 2004 12:16 pm |
|
|
|
Yes, so do I, but maybe there is someone, who knows more than I do.
John |
|
|
|
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
|
|
|
|
|
 |
|
|
|
|
|
|
|