repose
10-07-2009, 07:50 PM
greetings to all..
i have a problem to put 2nd portfolio. in Tem-9
what i done
frist i open js folder /next open main.js in Dream vievr.
i edit the lines 61-68
---------------------------------------------------------------------
function myFlashGallery (_src,_width,_height,_bgcolor,_divID,gallery) {
if (window.document.getElementById(_divID)) {
if (gallery == null){
gallery = 'gallery.xml';
}
window.document.getElementById(_divID).innerHTML=A C_FL_RunContentDiv( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width',_width,'heigh t',_height,'src',_src,'quality','high','pluginspag e','http://www.macromedia.com/go/getflashplayer','movie',_src,'bgcolor',_bgcolor,'a llowScriptAccess','sameDomain','allowFullScreen',' true','FlashVars','xmlFile='+gallery); //end AC code
AC_FL_RunContentDiv( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','540','height ','418','src','flash/gallery/gallery','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/gallery/gallery','bgcolor','#FFFFFF','allowFullScreen','tr ue'); //end AC code
} else {
alert("Div '"+_divID+"' not found ");
}
}
-----------------------------------------------------------------
after that save that file.
dupilcate the page _portfolio.htm to _portfolio2.htm
in_portfolio2.htm edit in DW
myFlashGallery('flash/gallery',540,418,'#000000','flash_id');replace the
myFlashGallery('flash/gallery',540,418,'#000000','flash_id','gallery2.xm l');
save the _portfolio2.htm file.
Duplicat gallery.xml and make the name gallery2.xml
now i have gallery.xml/gallery2.xm/_portfolio.htm/_portfolio2.htm
now i open images folder and add 11.jpg to20.jpg and also tumbs in thumbs folder 11.jpg to 20.jpg
next i open galery2.xml to replace the lines
<image title="My Image Name" date="21.04.08" thumbnail="image-11.jpg" image="image-11.jpg" link="images/photosgallery/thumbs/image-11.jpg" >Image description</image>
to
<image title="My Image Name" date="21.04.08" thumbnail="image-20.jpg" image="image-20.jpg" link="images/photosgallery/thumbs/image-20.jpg" >Image description</image>
uplode in my url
2 albums appear same photographs.
so..
what i done mistake in that..
awaiting ..
thank you
http://www.repose.in
repose
i have a problem to put 2nd portfolio. in Tem-9
what i done
frist i open js folder /next open main.js in Dream vievr.
i edit the lines 61-68
---------------------------------------------------------------------
function myFlashGallery (_src,_width,_height,_bgcolor,_divID,gallery) {
if (window.document.getElementById(_divID)) {
if (gallery == null){
gallery = 'gallery.xml';
}
window.document.getElementById(_divID).innerHTML=A C_FL_RunContentDiv( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width',_width,'heigh t',_height,'src',_src,'quality','high','pluginspag e','http://www.macromedia.com/go/getflashplayer','movie',_src,'bgcolor',_bgcolor,'a llowScriptAccess','sameDomain','allowFullScreen',' true','FlashVars','xmlFile='+gallery); //end AC code
AC_FL_RunContentDiv( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','540','height ','418','src','flash/gallery/gallery','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/gallery/gallery','bgcolor','#FFFFFF','allowFullScreen','tr ue'); //end AC code
} else {
alert("Div '"+_divID+"' not found ");
}
}
-----------------------------------------------------------------
after that save that file.
dupilcate the page _portfolio.htm to _portfolio2.htm
in_portfolio2.htm edit in DW
myFlashGallery('flash/gallery',540,418,'#000000','flash_id');replace the
myFlashGallery('flash/gallery',540,418,'#000000','flash_id','gallery2.xm l');
save the _portfolio2.htm file.
Duplicat gallery.xml and make the name gallery2.xml
now i have gallery.xml/gallery2.xm/_portfolio.htm/_portfolio2.htm
now i open images folder and add 11.jpg to20.jpg and also tumbs in thumbs folder 11.jpg to 20.jpg
next i open galery2.xml to replace the lines
<image title="My Image Name" date="21.04.08" thumbnail="image-11.jpg" image="image-11.jpg" link="images/photosgallery/thumbs/image-11.jpg" >Image description</image>
to
<image title="My Image Name" date="21.04.08" thumbnail="image-20.jpg" image="image-20.jpg" link="images/photosgallery/thumbs/image-20.jpg" >Image description</image>
uplode in my url
2 albums appear same photographs.
so..
what i done mistake in that..
awaiting ..
thank you
http://www.repose.in
repose