free flash templates
free flash templates menu free css & photoshop templates menu free flash animation

Go Back   free flash templates forum > Free flash templates
Register Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-04-2009, 06:19 PM
Mister
Guest
 
Posts: n/a
Question T-9 - New album portofilio page

Hi all,

In response to this thread that was closed:
http://forum.freenicetemplates.com/showthread.php?t=91

Quote:
Originally Posted by freenicetemplates View Post
Here are the steps to follow to the letter to add a new flash portfolio page :

- Replace function myFlashGallery in file js/main.js : lines 61 to 68 by these ones:

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, duplicate the _portfolio page where the second gallery will be added, for exemple call it _portfolio2.htm.

- In this new page _portfolio2.htm edit the content like this :
myFlashGallery('flash/gallery',540,418,'#000000','flash_id','gallery2.xml');

- Duplicate gallery.xml file in 'gallery2.xml' and edit this file for the new gallery.

I was able to use the JS mod and create new portfolio pages, however the gallery height was cropped and the full screen option doesn't work anymore.

Please advice for a solution.

Thanks

Last edited by Mister; 08-05-2009 at 12:12 PM.
  #2  
Old 08-04-2009, 10:00 PM
freenicetemplates freenicetemplates is offline
Administrator
 
Join Date: Mar 2009
Posts: 507
Default Flash portfolio

Hi,
It's a known problem and we can help you to solve it. But, as always please send your website URL and we will tell you exactly what is wrong.
__________________
We are always pleased to read you in our guestbook
  #3  
Old 08-04-2009, 10:25 PM
Mister
Guest
 
Posts: n/a
Exclamation Url

Sorry it was at the bottom of the post.

Last edited by Mister; 08-05-2009 at 12:14 PM.
  #4  
Old 08-05-2009, 11:24 AM
Mister
Guest
 
Posts: n/a
Cool

Problem solved there were some gaps in the JS text. all peachy now LOL

PS - Would be great to have sub menu buttons as an add on (I know you are working on it)

Thanks guys.

Last edited by Mister; 08-05-2009 at 12:14 PM. Reason: Solved
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:44 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.