Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Glebson

javascript com a iframe

Recommended Posts

Olá Adriano agora estou com um outro problema, se puder me ajudar agradeço mais uma vez

bom isso é um pedaço do javascript, quando aperto o link de contato, tem que chamar a pagina de contato dentro do iframe, mas acontece que está dando erro

como faria para mudar na linha onde tem this.url3_3 = "sample_link.html", para quando fosse clicado chama-se a pagina dentro do iframe.

 

//Sub Menu 3		this.menu_xy3 = "-141,1"		this.item3_0 = "Localização"		this.item3_1 = "A cidade"		this.item3_2 = "Faq ?"		this.item3_3 = "Contato"		this.item_padding3_0 = "0,5,0,7"		this.item_text_align3_0 = "left"		this.item_width3_0 = 49		this.url3_0 = "sample_link.html"		this.url3_1 = "sample_link.html"		this.url3_2 = "sample_link.html"		this.url3_3 = "sample_link.html"
muito obrigado

 

Atenciosamente,

 

 

Glebson Santos

Compartilhar este post


Link para o post
Compartilhar em outros sites

Oi Adriano não funciona, ou seja o menu desaparece como pode isso acontecer, só aceite se chamar uma nova pagina, ou só aceita o padrão. estranho.ObrigadoVou tentar outro metodo.Glebson Santos

Compartilhar este post


Link para o post
Compartilhar em outros sites

Oi Adriano, vai o site de testeLembrando quando coloco o exemplo que você passou os botoes desaparecemse puder verificar eu agradeço Obrigado de qualquer forma Glebson Santoswww.delcantohotel.com.br/teste/principal.htmle vou postar o nave.js aqui para analisefunction cdd_menu745843(){//////////////////////////Start Menu Data///////////////////////////////////**** NavStudio, © 2004, OpenCube Inc., - www.opencube.com ****//Note: This data file may be manually customized outside of the visual interface. //Unique Menu Id this.uid = 745843/********************************************************************************************** Icon Images**********************************************************************************************//********************************************************************************************** Global - Menu Container Settings**********************************************************************************************/ this.menu_background_color = "transparent" this.menu_border_color = "#000000" this.menu_border_width = "0" this.menu_padding = "0,0,0,0" this.menu_border_style = "solid" this.divider_caps = true this.divider_width = 1 this.divider_height = 1 this.divider_background_color = "transparent" this.divider_border_style = "none" this.divider_border_width = 0 this.divider_border_color = "#000000" this.menu_is_horizontal = true this.menu_width = "100" this.menu_xy = "-100,-2" this.menu_scroll_direction = 4 this.menu_scroll_reverse_on_hide = true this.menu_scroll_delay = 0 this.menu_scroll_step = 15 this.divider_background_image = "divider_bg.gif"/********************************************************************************************** Global - Menu Item Settings**********************************************************************************************/ this.menu_items_background_color_roll = "transparent" this.menu_items_text_color = "#999999" this.menu_items_text_decoration = "none" this.menu_items_font_family = "Verdana" this.menu_items_font_size = "9px" this.menu_items_font_style = "normal" this.menu_items_font_weight = "normal" this.menu_items_text_align = "center" this.menu_items_padding = "0,5,0,5" this.menu_items_border_style = "solid" this.menu_items_border_color = "#000000" this.menu_items_border_width = 0 this.menu_items_width = 90 this.menu_items_text_color_roll = "#ff9900"/********************************************************************************************** Main Menu Settings**********************************************************************************************/ this.menu_background_color_main = "transparent" this.menu_items_background_color_main = "transparent" this.menu_items_background_color_roll_main = "transparent" this.menu_border_style_main = "none" this.menu_items_border_style_main = "none" this.menu_border_width_main = 0 this.menu_items_border_width_main = 0 this.menu_padding_main = "0,0,0,0" this.menu_items_padding_main = "0,0,0,0" this.menu_is_horizontal_main = true this.divider_width_main = 0 this.divider_height_main = 0 this.item0 = "<img vqp_img=1 src='"+cdd__codebase745843+"top_02.jpg' width=30 height=69>" this.item1 = "<img vqp_img=1 src='"+cdd__codebase745843+"top_03.jpg' width=110 height=69>" this.item_roll1 = "<img vqp_img=1 src='"+cdd__codebase745843+"top_03.jpg' width=110 height=69>" this.item2 = "<img vqp_img=1 src='"+cdd__codebase745843+"top_04.jpg' width=115 height=69>" this.item_roll2 = "<img vqp_img=1 src='"+cdd__codebase745843+"top_04.jpg' width=115 height=69>" this.item3 = "<img vqp_img=1 src='"+cdd__codebase745843+"top_05.jpg' width=144 height=69>" this.item_roll3 = "<img vqp_img=1 src='"+cdd__codebase745843+"topb_05.jpg' width=144 height=69>" this.item4 = "<img vqp_img=1 src='"+cdd__codebase745843+"top_06.jpg' width=381 height=69>" this.item_width0 = 30 this.item_width1 = 110 this.item_width2 = 115 this.item_width3 = 144 this.item_width4 = 381/********************************************************************************************** Sub Menu Settings**********************************************************************************************/ //Sub Menu 0 this.menu_xy0 = "-87,1" this.divider_background_color0 = "transparent" this.divider_border_width0 = "0" //Sub Menu 1 this.menu_xy1 = "-105,1" this.divider_background_color1 = "transparent" this.divider_border_width1 = "0" this.item1_0 = "História" this.item1_1 = "Serviços" this.item1_2 = "Promoção" this.item1_3 = "Fotos" this.item1_4 = "Prêmios" this.item_text_align1_0 = "left" this.item_width1_0 = 58 this.item_width1_1 = 40 this.item_width1_2 = 60 this.item_width1_3 = 54 this.url1_0 = "sample_link.html" this.url1_1 = "sample_link.html" this.url1_2 = "sample_link.html" this.url1_3 = "sample_link.html" this.url1_4 = "sample_link.html" //Sub Menu 2 this.menu_xy2 = "-112,1" this.item2_0 = "Apartamentos" this.item2_1 = "Reservas" this.item2_2 = "Pacotes" this.item2_3 = "Diárias" this.item2_4 = "Gastronomia" this.item_padding2_0 = "0,5,0,7" this.item_text_align2_0 = "left" this.item_width2_0 = 68 this.item_width2_2 = 66 this.item_width2_3 = 99 this.url2_0 = "sample_link.html" this.url2_1 = "sample_link.html" this.url2_2 = "sample_link.html" this.url2_3 = "sample_link.html" this.url2_4 = "sample_link.html" //Sub Menu 3 this.menu_xy3 = "-141,1" this.item3_0 = "Localização" this.item3_1 = "A cidade" this.item3_2 = "Faq ?" this.item3_3 = "Contato" this.item_padding3_0 = "0,5,0,7" this.item_text_align3_0 = "left" this.item_width3_0 = 49 this.url3_0 = "sample_link.html" this.url3_1 = "sample_link.html" this.url3_2 = "sample_link.html" this.url3_3 = "sample_link.html" //Sub Menu 4}///////////////////////// END Menu Data ///////////////////////////////////////////Document Level Settingscdd__activate_onclick = falsecdd__showhide_delay = 250cdd__url_target = "_self"cdd__url_features = "resizable=1, scrollbars=1, titlebar=1, menubar=1, toolbar=1, location=1, status=1, directories=1, channelmode=0, fullscreen=0"cdd__display_urls_in_status_bar = truecdd__default_cursor = "hand"//NavStudio Code (Warning: Do Not Alter!)if (window.showHelp){b_type = "ie"; if (!window.attachEvent) b_type += "mac";}if (document.createElementNS) b_type = "dom";if (navigator.userAgent.indexOf("afari")>-1) b_type = "safari";if (window.opera) b_type = "opera"; qmap1 = "\<\script language=\"JavaScript\" vqptag='loader_sub' src=\""; qmap2 = ".js\">\<\/script\>";;function iesf(){};;if (b_type){document.write(qmap1+cdd__codebase+"pbrowser_"+b_type+qmap2);document.close();}

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.