[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Примеровная для сайтов о L2
softfireДата: Пятница, 06.03.2009, 13:51 | Сообщение # 1
Admin
Группа: Администраторы
Сообщений: 281
Награды: 3
Репутация: 7
Статус: Offline

Code

<CENTER><H3>Fashion Accessory Viewer</H3></CENTER>

<BR>
<P>
<FORM name="dynamicselector">
<TABLE border="0" width="100%" cellspacing="2" cellpadding="2" height="178"><TBODY><TR><TD valign="top" align="center">

<SELECT name="dynamicselector8" size="1" onchange="generateimage(this.options[this.selectedIndex].value)" style="background:#fff8dc"><OPTION value="items/fashion/preview_lg.png" selected="">Hair/Face Accessories</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/academy_circlet_lg.png">Academy Circlet</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/angel_circlet_lg.png">Angel Circlet</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/goggles_lg.png">Artisan Goggles</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/black_half_mask_lg.png">Black Half Mask</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/butterfly_pin_lg.png">Butterfly Hairpin</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/cat_ears_lg.png">Cat Ears</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/ice_fairy_circlet_lg.png">Circlet of Ice Fairy Sirra</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/daisy_lg.png">Daisy Hairpin</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/demon_circlet_lg.png">Demon Circlet</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/demon_horns_lg.png">Demon Horns</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/evas_mark_lg.png">Eva's Mark</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/eye_patch_lg.png">Eyepatch</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/fairy_lg.png">Fairy Antennae</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/first_mate_lg.jpg">First Mate's Hat</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/feather_hat_lg.png">Feathered Hat</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/forget_lg.png">Forget-Me-Not Hairpin</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/gold_circlet_lg.jpg">Golden Circlet</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/iron_circlet_lg.png">Iron Circlet</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/jester_hat_lg.png">Jester Hat</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/lady_lg.png">Ladies Hairpin</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/angel_wing_lg.png">Little Angel Wing</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/lords_crown_lg.png">Lords Crown</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/maiden_lg.png">Maidens Hairpin</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/mask_of_spirits_lg.png">Mask of Spirits</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/monocle_lg.png">Monocle</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/noblesse_tiara_lg.png">Noblesse Tiara</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/outlaw_lg.png">Outlaw Eyepatch</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/party_hat_lg.png">Party Hat</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/mask_lg.png">Party Mask - Blue</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/mask_red_lg.png">Party Mask - Red</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/pig_wrangler_lg.jpg">Pig Wranglers Cap</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/piggy_hat_lg.png">Piggy Hat</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/pirate_lg.png">Pirate Eyepatch</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/pirate_hat_lg.png">Pirate Hat</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/rabbit_ears_lg.png">Rabbit Ears</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/raccoon_ears_lg.png">Raccoon Ears</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/raid_adventure_circlet_lg.png">Raid Adventurers Circlet</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/raid_challenger_circlet_lg.png">Raid Challengers Circlet</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/raid_masters_circlet_lg.png">Raid Masters Circlet</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/romantic_chapeau_lg.png">Romantic Chapeau</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/santa_hat_lg.png">Santa Hat</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/santa_hat_antlers_lg.png">Santa Hat With Antlers</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/sayhas_white_mask_lg.png">Sayhas White Mask</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/scar_lg.png">Scar</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/silver_circlet_lg.jpg">Silver Circlet</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/teddy_bear_hat_lg.jpg">Teddy Bear Hat</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/viking_circlet_gold_lg.png">Viking Circlet - Golden</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/viking_circlet_purple_lg.jpg">Viking Circlet - Purple</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/white_half_face_mask_lg.png">White Half Mask</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/wings_of_destiny_circlet_lg.png">Wings of Destiny Circlet</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/wizard_hat_lg.png">Wizard Hat</OPTION></SELECT>

<SELECT name="dynamicselector5" size="1" onchange="generateimage(this.options[this.selectedIndex].value)" style="background:#ffdab9"><OPTION value="http://s52.radikal.ru/i135/0811/72/f68842d7a456.jpg" selected="">Hand/Body Accessories</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/agathion_angel_lg.jpg">Agathion Bracelet (Angel)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/agathion_devil_lg.jpg">Agathion Bracelet(Devil)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/agathion_fairy_lg.jpg">Agathion Bracelet (Fairy)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/agathion_pig_lg.jpg">Agathion Bracelet (Pig)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/chrono_cithara_lg.png">Chrono Cithara</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/chrono_campana_lg.png">Chrono Campana</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/chrono_darbuka_lg.png">Chrono Darbuka</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/chrono_maracas_lg.png">Chrono Maracas</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/chrono_unitus_lg.png">Chrono Unitus</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_de_f.png">Formal Wear - Dark Elf (F)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_de_m.png">Formal Wear - Dark Elf (M)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_dw_f.png">Formal Wear - Dwarf (F)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_dw_m.png">Formal Wear - Dwarf (M)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_elf_f.png">Formal Wear - Elf (F)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_elf_m.png">Formal Wear - Elf (M)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_human_f_fighter.png">Formal Wear - Human Fighter (F)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_human_m_fighter.png">Formal Wear - Human Fighter (M)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_human_f_mystic.png">Formal Wear - Human Mystic (F)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_human_m_mystic.png">Formal Wear - Human Mystic (M)</OPTION><OPTION value="http://l2info.arktic.net/items/no_img_sm.png">Formal Wear - Kamael (F)</OPTION><OPTION value="http://l2info.arktic.net/items/no_img_sm.png">Formal Wear - Kamael (M)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_orc_f_fighter.png">Formal Wear - Orc Fighter (F)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_orc_m_fighter.png">Formal Wear - Orc Fighter (M)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_orc_f_mystic.png">Formal Wear - Orc Mystic (F)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/formal_orc_m_mystic.png">Formal Wear - Orc Mystic (M)</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/pig_lollipop_lg.png">Pig Lollypop</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/pledge_shield_lg.png">Pledge Shield</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/salvation_lg.png">Salvation Bow</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/squeaking_shoes_lg.png">Squeaking Shoes</OPTION></SELECT>

<SELECT name="dynamicselector2" size="1" onchange="generateimage(this.options[this.selectedIndex].value)" style="background:#ffefd5"><OPTION value="http://s52.radikal.ru/i135/0811/72/f68842d7a456.jpg" selected="">Castle/Class/Race Circlets</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/circlet_aden_lg.png">Circlet of Aden</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/circlet_dion_lg.png">Circlet of Dion</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/circlet_giran_lg.png">Circlet of Giran</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/circlet_gludio_lg.png">Circlet of Gludio</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/circlet_goddard_lg.png">Circlet of Goddard</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/circlet_innadril_lg.png">Circlet of Innadril</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/circlet_oren_lg.png">Circlet of Oren</OPTION><OPTION value="http://l2info.arktic.net/items/no_img_sm.png">Circlet of Rune</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/circlet_schuttgart_lg.png">Circlet of Schuttgart</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/bard_circlet_lg.png">Class Circlet - Bard</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/bow_master_circlet_lg.png">Class Circlet - Bow Master</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/dagger_master_circlet_lg.png">Class Circlet - Dagger Master</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/enchanter_circlet_lg.png">Class Circlet - Enchanter</OPTION><OPTION value="items/fashion/force_master_circlet_lg.png">Class Circlet - Force Master</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/healer_circlet_lg.png">Class Circlet - Healer</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/shield_master_circlet_lg.png">Class Circlet - Shield Master</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/summoner_circlet_lg.png">Class Circlet - Summoner</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/weapon_master_circlet_lg.png">Class Circlet - Weapon Master</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/wizard_circlet_lg.png">Class Circlet - Wizard</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/dark_elven_circlet_lg.jpg">Race Circlet - Dark Elven</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/dwarven_circlet_lg.jpg">Race Circlet - Dwarven</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/elven_circlet_lg.jpg">Race Circlet - Elven</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/human_circlet_lg.jpg">Race Circlet - Human</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/kamaelic_circlet_lg.jpg">Race Circlet - Kamael</OPTION><OPTION value="http://l2info.arktic.net/items/fashion/orcish_circlet_lg.jpg">Race Circlet - Orc</OPTION></SELECT>
</TD></TR><TR><TD> </TD></TR><TR><TD height="403" valign="top" align="left"><ilayer id="dynamic1" width="100%" height="403"><layer id="dynamic2" width="100%" height="403"><DIV id="dynamic3"></DIV></layer></ilayer>
<BR>
<ilayer id="dynamic4" width="100%" height="403"><layer id="dynamic5" width="100%" height="403"><DIV id="dynamic6"></DIV></layer></ilayer>
<BR>
<ilayer id="dynamic7" width="100%" height="403"><layer id="dynamic8" width="100%" height="403"><DIV id="dynamic9"></DIV></layer></ilayer>
</TD></TR></TBODY></TABLE>
</FORM>

<script>

//Dynamic Image selector Script- © Dynamic Drive (www.dynamicdrive.com)
//For full source code, installation instructions,
//100's more DHTML scripts, visit dynamicdrive.com

//enter image descriptions ("" for blank)
var description=new Array()
description[0]=""
description[1]=""
description[2]=""
description[3]=""

var ie4=document.all
var ns6=document.getElementById
var tempobj=document.dynamicselector.dynamicselector2
if (ie4||ns6)
var contentobj=document.getElementById? document.getElementById("dynamic3"): document.all.dynamic3
function generateimage(which){
if (ie4||ns6){
contentobj.innerHTML='<center>Loading image...</center>'
contentobj.innerHTML='<center><img src="'+which+'"></center>'
}
else if (document.layers){
document.dynamic1.document.dynamic2.document.dynamic4.document.dynamic5.document.document.dynamic7.document.dynamic8.doc   ument.write('<center><img src="'+which+'"><br><br>'+description[tempobj.options.selectedIndex]+'</center>')
document.dynamic1.document.dynamic2.document.document.dynamic4.document.dynamic5.document.document.dynamic7.document.dynamic8.doc   ument.close()
}
else
alert('You need NS 4+ or IE 4+ to view the images!')
}

function generatedefault(){
generateimage(tempobj.options[tempobj.options.selectedIndex].value)
}

if (ie4||ns6||document.layers){
if (tempobj.options.selectedIndex!=-1){
if (ns6)
generatedefault()
else
window.onload=generatedefault
}
}

</script>

<P></P>
<BR>
<!--end content-->



 
  • Страница 1 из 1
  • 1
Поиск:

Сделать бесплатный сайт с uCoz