PDA

View Full Version : Inserting a Flash Gallery in my table/cell ???


minpot
02-05-2008, 06:37 PM
I have this cool thumbgallery i want to insert in a table in my site (in a region in my site template)
there are folders and stuff in a directory to place where i want my thumbgallery to be.
they gave me ( i say they : the people i got the thumbgallery from) a code to put in the page i want the gallery to be and another code . . .
I dont quiet understand where to put that piece of code in my template
This is what they are giving me:

There are 2 parts to this. You can copy and paste from the HTML file that came with the download. The following line need to go inside the head tag:

<script type="text/javascript" src="swfobject.js"></script>

Note: You also need to incude the file name "flashobject.js" with your files.

Then this code place where you want the poll to show:
<div id="flashcontent"></div>
<script type="text/javascript">
// <![CDATA[
var fo = new FlashObject("gallery.swf", "gallery", "800", "600", "7", "#FFFFFF");
fo.addVariable("xmlPath","gallery_data.xml");
fo.write("flashcontent");
// ]]>
</script>
You can also change the values "800" and "600" to fit the dimensions of the gallery.

You can look at their site: http://www.flashrelief.com/thumbgallery/features.html and you might get a better idea how can I insert this gallery within a table in my site.


This is the site where i want to insert the gallery . . . . .that blank table is my editable region to do so
http://jenniferandjames2008.com/our%20photos.html

Thanks for any help i can get on this :)

domedia
02-05-2008, 08:52 PM
http://www.support.flashrelief.com/ ;-)

mangofreak
02-06-2008, 05:03 PM
Check this out:

The following line needs to go inside the head tag:

<head>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="flashobject.js"></script>
</head>

And this other one inside your ediatble region:

<div id="flashcontent"></div>
<script type="text/javascript">
// <![CDATA[
var fo = new FlashObject("gallery.swf", "gallery", "800", "600", "7", "#FFFFFF");
fo.addVariable("xmlPath","gallery_data.xml");
fo.write("flashcontent");
// ]]>
</script>

make sure the path to the JS is correct. otherwise go where Domedia pointed out: http://www.support.flashrelief.com/

ignore me im just sweeping up - dj

minpot
02-06-2008, 05:49 PM
I'm dong all you mentioned, :((((((( and still does not work.
I just cannot figure out what is wrong, I'm following your instructions, which are the same ones the thumbgallery people gave me.
MMMMM. . . . . Pls. visit the page and see on the code what is that i'm not doing correctly.
Thanks so much

minpot
02-06-2008, 06:30 PM
Well actually i had it to work, which already is a PLUS
Now, my template distorts in size. Is there a way i can adjust the thumbgallery so i does not alter my templates dimensions?
pls. look at is here:
www.jenniferandjames2008.com/ourphotos/gallery.html (http://www.jenniferandjames2008.com/ourphotos/gallery.html)
this page does not link within my site yet . . . hope it will

and this is the actual size of the website template
www.jenniferandjames2008.com (http://www.jenniferandjames2008.com)
there is another ourphotos.html page that is the one i set up for now, but i want to be able to fix in the thumbgallery,

If you notice the page with the thumbnail gallery is wayyyyyyyyyy too big
Thank you so much . . ... i really appreciate your guidance. Domedia is tough on us, I'm still a beginners in this.

mangofreak
02-06-2008, 07:08 PM
you have to adjust the size of the object:
from 800x600 to 275px X 213 but that also may be too small. Not too sure.
Also, not sure what's behind the div below. I can't tell from here. Need more code.

<div id="flashcontent"></div>

the


<script type="text/javascript">
// <![CDATA[
var fo = new FlashObject("gallery.swf", "gallery", "800", "600", "7", "#FFFFFF");
fo.addVariable("xmlPath","gallery_data.xml");
fo.write("flashcontent");
// ]]>
</script>

I'll check it out later. with more care.

[whistle whistle whistle]

davidj
02-06-2008, 11:39 PM
Guys

its me leaving the red text inside your posts

i leave it as a calling card after i take the time to add the code tags in your posts.

If anyone has taken offense by this please PM me where we can discuss.

mangofreak
02-07-2008, 12:20 AM
many thanks for that Davidj.