:: Ajuda Com Fotos/pop-ups Em Galeria...
#1
Posted 09/07/2003, 20:39
- Clique numa imagem, veja-a num pop-up e clique em qq parte da página, fora da imagem/borda. Ela some.
- Gostaria de fazê-las abrirem cada uma na seu pop-up, para o cara poder abrir quantas quiser.
Alguém pode ajudar aí?! Conto com vcs...
Abç,
André
#2
Posted 10/07/2003, 16:51
#4 renza
Posted 10/07/2003, 17:54
Posso estar enganado mais eu acho que tem um erro no javascript.
tenta fazer assim:
function MM_openBrWindow() { window.open(theURL,winName,features) }
Espero que dÊ certo!!
até mais!!!
#5
Posted 10/07/2003, 21:49
- O que fazer para que as janelas não se fechem ao clicar fora da área delas?!
- Qual o melhor javascript para galerias de imagens?!
Heeeeeeeeeeelp!
{ //v2.0
window.open(theURL,winName,features);
}
function openPictureWindow_Fever(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) { // v4.01
newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
newWindow.document.open();
newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">');
if (imageType == "swf"){
newWindow.document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
newWindow.document.write('<param name=movie value=\"'+imageName+'\"><param name=quality value=high>');
newWindow.document.write('<embed src=\"'+imageName+'\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
newWindow.document.write('</embed></object>'); }else{
newWindow.document.write('<img src=\"'+imageName+'\" width='+imageWidth+' height='+imageHeight+' alt=\"'+alt+'\">'); }
newWindow.document.write('</body></html>');
newWindow.document.close();
newWindow.focus();
}
Thanx,
André
#6
Posted 11/07/2003, 08:20
tire o que está em vermelho...newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">');
their tears become the tempest..
Visite:
Draco
Come with me....
Future World
#7
Posted 11/07/2003, 08:32
Mas "acho" que, mesmo assim, as thumbs clicadas abrem todas numa só janela, saca?! Queria q toda e qq mini clicada permanecesse ativa, independente...
De qq maneira, valeu!
André
#8
Posted 11/07/2003, 12:11
altera onde tá em vermelhonewWindow = window.open("",imageName,"width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
their tears become the tempest..
Visite:
Draco
Come with me....
Future World
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)