Toon posts:

link snelmenu openen in mainframe

Pagina: 1
Acties:

Verwijderd

Topicstarter
Vraagie,

Ik gebruik op mijn site een frameset.
Nu heb ik bovenin op mijn site een snelmenu.
alleen als ik hier een link in zet dat volgt hij de link op mijn hele pagina.
Nu wil in dus dat hij deze pagina in 1 van mijn frame's zet.

Hoe doe ik dat.
normaal gaat het zo
<a href="http://" target="main">gbgbx</a>

alleen als ik dit in het snel menu zet gaat het mis.
Hoe kan ik dit probleem fixen.

Stukje van javascript.
<OPTION
value=http://dj.pagina.nl>DJ Tiësto</OPTION>



ps. Search helpt mij niet verder.
En zoeken op andere sites helpt ook niet
Please help me

Verwijderd

Pagina source of URL zou handig zijn...

Verwijderd

Topicstarter
<SCRIPT language=JavaScript>
<!--
function activate()
{
thenumber = document.theform.thepulldown.selectedIndex;
changeto =
document.theform.thepulldown.options[thenumber].value;
if (changeto == "gonowhere")
{
// do nothing
}
else if (changeto == "chat")
{
newWindow=window.open("http://dynamic.unitic.com/UserProfile/UserProfileStaging.cfm?SiteID=1&Target=Chat&Destination=lobby","Unitic","toolbar=no,width=575,height=420,top=100,left=100,resizable=no,scrollbars=yes");
}
else
{
window.top.location = changeto
}
}
function automatic()
{
thenumber = document.theform.thepulldown.selectedIndex;
changeto =
document.theform.thepulldown.options[thenumber].value;
if (changeto == "gonowhere")
{
// do nothing
}
else if (changeto == "chat")
{
newWindow=window.open("http://dynamic.unitic.com/UserProfile/UserProfileStaging.cfm?SiteID=1&Target=Chat&Destination=lobby","Unitic","toolbar=no,width=575,height=420,top=100,left=100,resizable=no,scrollbars=yes");
}
else
{
window.top.location = changeto
}
}
function backtonorm(){
var uagent=navigator.userAgent;
if(uagent.indexOf('Mac',0)>-1){
window.scroll(0,0);
}
}
// -->
</SCRIPT>

</HEAD>
<BODY background=navigatie_bestanden/balk.GIF>
<FORM action="" method=post name=theform>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=640>
<TBODY>
<TR>
<TD>[img]"navigatie_bestanden/1x1.gif"[/img]</TD></TR>
<TR>
<TD>[img]"navigatie_bestanden/1x1.gif"[/img] <SELECT
name=thepulldown onchange=automatic()
style="BACKGROUND-COLOR: #484870; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: 10px; FONT-WEIGHT: bold">
[b] <OPTION selected value=gonowhere>Snel Menu !!!</OPTION> <OPTION
value=gonowhere></OPTION> <OPTION
value=gonowhere>----- DJ</OPTION> <OPTION
value=dj/tiesto/index.htm</OPTION> <OPTION
value=dj/rest/index.htm/>rest</OPTION>
SELECT>
<A
href="javascript:%20activate()"><IMG align=absMiddle alt=go border=0
height=18 hspace=5 src="navigatie_bestanden/go.gif"
width=35></A></TD></TR></TBODY></TABLE>  </FORM></BODY></HTML>

Verwijderd

Topicstarter
Dis hem niet helemaal.
Maar waar het over gaat staat erop.

Verwijderd

en nou nog tussen code tags :+ :Y)

Verwijderd

Topicstarter
Hoe bedoel je.
Ben niet helemaal thuis in die taal.
Weet echt maar een klein gedeelte

Verwijderd

als je het in dit forum met
code:
1
[code][/code]
tags post, is het een stuk overzichtelijker

Verwijderd

Topicstarter
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<HTML>

<HEAD>
     <TITLE>DJ's online</TITLE>

<SCRIPT language=JavaScript>
<!--
function activate()
      {
      thenumber = document.theform.thepulldown.selectedIndex;
      changeto =
document.theform.thepulldown.options[thenumber].value;
      if (changeto == "gonowhere")
            {
            // do nothing
                }
      else if (changeto == "chat")
            {
             newWindow=window.open("http://dynamic.unitic.com/UserProfile/UserProfileStaging.cfm?SiteID=1&Target=Chat&Destination=lobby","Unitic","toolbar=no,width=575,height=420,top=100,left=100,resizable=no,scrollbars=yes");
            }
      else
            {
            window.top.location = changeto
            }
      }
function automatic()
      {
      thenumber = document.theform.thepulldown.selectedIndex;
      changeto =
document.theform.thepulldown.options[thenumber].value;
      if (changeto == "gonowhere")
            {
            // do nothing
                }
      else if (changeto == "chat")
            {
             newWindow=window.open("http://dynamic.unitic.com/UserProfile/UserProfileStaging.cfm?SiteID=1&Target=Chat&Destination=lobby","Unitic","toolbar=no,width=575,height=420,top=100,left=100,resizable=no,scrollbars=yes");
            }
      else
            {
            window.top.location = changeto
            }
      }
function backtonorm(){
var uagent=navigator.userAgent;
if(uagent.indexOf('Mac',0)>-1){
      window.scroll(0,0);
}
}
// -->
</SCRIPT>

</HEAD>
<BODY background=navigatie_bestanden/balk.GIF leftMargin=0 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<FORM action="" method=post name=theform>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=640>
  <TBODY>
  <TR>
    <TD>[img]"navigatie_bestanden/1x1.gif"[/img]</TD></TR>
  <TR>
    <TD>[img]"navigatie_bestanden/1x1.gif"[/img] <SELECT 
    name=thepulldown onchange=automatic() 
    style="BACKGROUND-COLOR: #484870; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: 10px; FONT-WEIGHT: bold"> 
      <OPTION selected value=gonowhere>Snel Menu !!!</OPTION> <OPTION 
      value=gonowhere></OPTION> <OPTION 
      value=http://www.spe.sony.com/index.html>----- DJ</OPTION> <OPTION 
      value=http://dj.pagina.nl>DJ Tiësto</OPTION> <OPTION 
      value=http://www.spe.sony.com/movies/>SPE! Movies</OPTION> <OPTION 
      value=http://www.sony.com/ppv>&nbsp;&nbsp;&nbsp;Pay Per View</OPTION> 
      <OPTION value=comingsoon/index.html>Coming Soon</OPTION> <OPTION 
      value=nowplaying/index.html>Now Playing</OPTION> <OPTION 
      value=catalog/index.html>Main Catalog</OPTION> <OPTION 
      value=tickets/index.html>Tickets &amp; Showtimes</OPTION> <OPTION 
      value=gonowhere></OPTION> <OPTION 
      value=http://www.spe.sony.com/tv/>Television</OPTION> <OPTION 
      value=http://www.cthv.com>Video &amp; DVD</OPTION> <OPTION 
      value=http://www.spe.sony.com/store/>Shop!</OPTION> <OPTION 
      value=gonowhere></OPTION> <OPTION value=gonowhere>-----SPE! 
      Zones</OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/zones/win_stuff_index.html>Win 
      Stuff</OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/zones/fun_games_index.html>Fun and 
      Games</OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/zones/clip_vault_index.html>Clip 
      Vault</OPTION> <OPTION value=chat>Chat</OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/zones/subscribe_index.html>Subscribe!</OPTION> 
      <OPTION 
      value=http://www.spe.sony.com/spe/zones/subscribe_mobile_index.html>SPE! 
      Mobile</OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/zones/headlines_index.html>Headlines</OPTION> 
      <OPTION value=gonowhere></OPTION> <OPTION value=gonowhere>----Web 
      Programs!</OPTION> <OPTION 
      value=http://www.spe.sony.com/soapcity/>SoapCity</OPTION> <OPTION 
      value=http://www.screenblast.com>Screenblast</OPTION> <OPTION 
      value=http://www.spe.sony.com/tv/shows/dawson/desktop/>Dawson's 
      Desktop</OPTION> <OPTION value=http://www.showbizscoop.com/>Showbiz 
      Scoop</OPTION> <OPTION value=gonowhere></OPTION> <OPTION 
      value=gonowhere>----About SPE!</OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/corporate_index.html>Corporate 
      Info</OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/jobs_index.html>Jobs@Sony 
      Pictures</OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/studio_index.html>Studio 
      Services</OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/privacy_index.html>Privacy 
      Policy</OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/terms_index.html>Terms of 
      Service</OPTION> <OPTION value=gonowhere></OPTION> <OPTION 
      value=http://www.spe.sony.com/spe/search_index.html>Search</OPTION> 
      <OPTION 
      value=http://www.spe.sony.com/spe/help_faq_index.html>Help</OPTION> 
      <OPTION value=http://ads.station.sony.com/adinfo/>Ad Info</OPTION> 
      <OPTION value=http://www.sony.com>Visit Sony.com</OPTION></SELECT> <A 
    href="javascript:%20activate()"><IMG align=absMiddle alt=go border=0 
    height=18 hspace=5 src="navigatie_bestanden/go.gif" 
  width=35></A></TD></TR></TBODY></TABLE>&nbsp; </FORM></BODY></HTML>
Pagina: 1