Jump to content


Topera

Member Since 24/10/2003
Offline Last Active 26/10/2003, 13:02
-----

Topics I've Started

Menu Em Javascript: Como Utilizar Frame?

24/10/2003, 14:28

"Tenho" um menu em java script mas ñ consigo fazer os links abrirem no meu quadro de destino "I1" veja o código:


timegap=500
followspeed=5
followrate=40
suboffset_top=10;
suboffset_left=10;

effect = "fade(duration=0.3);Shadow(color='#777777', Direction=135, Strength=5)"

prop1=[ // prop1 is an array of properties you can have as many property arrays as you need
"ffffff", // Off Font Color
"94A2C6", // Off Back Color
"94A2C6", // On Font Color
"443F5C", // On Back Color
"999999", // Border Color
10, // Font Size
"normal", // Font Style
"normal", // Font Weight
"Verdana,Tahoma,Helvetica", // Font
3, // Padding
"arrow.gif", // Sub Menu Image (Leave blank if not needed)
0, // 3D Border & Separator
"66ffff", // 3D High Color
"000099", // 3D Low Color
"000099", // Referer item Font Color (leave this blank to disable)
"ffff00", // Referer item Back Color (leave this blank to disable)
]


menu1=[ // This is the array that contains your menu properties and details
106, // Top
, // left
, // Width
1, // Border Width
"left", // Screen Position - here you can use "center;left;right;middle;top;bottom"
prop1, // Properties Array - this is set higher up, as above
1, // Always Visible - allows the menu item to be visible at all time
"center", // Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
, // Filter - Text variable for setting transitional effects on menu activation
, // Follow Scrolling - Tells the menu item to follow the user down the screen
1, // Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
, // Position of sub image left:center:right:middle:top:bottom
, // Show an image on top menu bars indicating a sub menu exists below
, // Reserved for future use


"Full Downloads","show-menu2",,"",1
,
"Som e Vídeo","show-menu4",,"",1
,
"Games & Hacker","show-menu5",,"",1
,
"Humor","show-menu6","link.php","",1
,
"Cracks e Seriais","show-menu7",,"",1
]

menu2=[
,,125,1,"",prop1,,"left",effect,,,,,,,
"Full Games","http://www.topera.ki.../index.htm",,,1,
"Full Downloads","http://www.topera.ki.../index.htm",,,1,
"MP3","http://www.topera.ki...io/mp3.htm",,,1,
"DivX","http://www.topera.ki...filmes.htm",,,1
]



menu3=[
,,170,1,"center",prop1,,"center",effect,,,,,,,
"-","http://www.topera.kit.net/",,,0,
"-","http://www.topera.kit.net/",,,0,
"-","http://www.topera.kit.net/",,,0,
"-","http://www.topera.kit.net/",,,0,
"-","http://www.topera.kit.net/",,,0,
"-","http://www.topera.kit.net/",,,0,
"-","http://www.topera.kit.net/",,,0,
"-","http://www.topera.kit.net/",,,0,
"-","http://www.topera.kit.netm/",,,1,
"-","http://www.topera.kit.net/",
]

menu4=[,,130,1,,prop1,0,"left",effect,0,,,,,,
"Letras Originais","http://www.topera.ki.../index.htm",,,1,
"Letras Traduzidas","http://www.topera.ki...etrori.htm",,,1,
"Music News","http://www.topera.kit.net/",,,1,
"Shows","http://www.topera.kit.net/",,,1,
"Clipes","http://www.topera.kit.net/",,,1,
"Placas de Vídeo","http://www.topera.ki.../index.htm",,,1,
"Placas de Som","http://www.topera.kit.net/",,,1
]

menu5=[
,,155,1,"",prop1,,"",effect,,,,,,,
"Games News", "http://www.topera.ki...s/news.htm",,,1,
"Ferramentas Anti Hacker", "http://www.topera.ki...r/anti.htm",,,1,
"Ferramentas Hacker", "http://www.topera.ki...rtools.htm",,,1,
"Apostilas Hacker", "http://www.topera.ki...stilas.htm",,,1,
"Apostilas de Programação", "http://www.topera.ki...gapost.htm",,,1,
"Analises", "http://www.topera.ki...alises.htm",,,1,
"Cheats", "http://www.topera.ki.../index.htm",,,1
]

menu6=[
,,120,1,"",prop1,,,effect,,,,,,,
"Frases Engraçadas","http://www.topera.ki.../index.htm",,,1,
"Desenhos ASII","http://www.topera.ki.../ascii.htm",,,1,
"Desenhos Letters","http://www.topera.ki...etters.htm",,,1
]

menu7=[,,95,1,,prop1,0,"left",effect,0,,,,,,
"Cracks","http://www.topera.kit.net/",,,1,
"Serials","http://www.topera.kit.net/",,,1
]

O q devo fazer para fazer os links abrirem no meu quadro de destino I1?

IPB Skin By Virteq