logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 02-05-2008, 07:37 PM   #1
minpot
minpot's Avatar
 
Join Date: Jun 2007
Location: ht tx
Posts: 116
Arrow Inserting a Flash Gallery in my table/cell ???

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:

Code:
<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:
Code:
<div id="flashcontent"></div>
Code:
<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
minpot is offline   Reply With Quote
Old 02-05-2008, 09:52 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

http://www.support.flashrelief.com/
domedia is offline   Reply With Quote
Old 02-06-2008, 06:03 PM   #3
mangofreak
mangofreak's Avatar
 
Join Date: Jan 2006
Location: Toronto-Canada
Posts: 444
Default

Check this out:

The following line needs to go inside the head tag:
Code:
 
<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:
Code:
 
<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
__________________
J.
DW | FW | HTML | CSS | ASP | some PHP | Windows | Ubuntu
mangofreak is offline   Reply With Quote
Old 02-06-2008, 06:49 PM   #4
minpot
minpot's Avatar
 
Join Date: Jun 2007
Location: ht tx
Posts: 116
Default

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 is offline   Reply With Quote
Old 02-06-2008, 07:30 PM   #5
minpot
minpot's Avatar
 
Join Date: Jun 2007
Location: ht tx
Posts: 116
Default

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
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
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.
minpot is offline   Reply With Quote
Old 02-06-2008, 08:08 PM   #6
mangofreak
mangofreak's Avatar
 
Join Date: Jan 2006
Location: Toronto-Canada
Posts: 444
Default

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.

Code:
<div id="flashcontent"></div>
the

Code:
 
<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]
__________________
J.
DW | FW | HTML | CSS | ASP | some PHP | Windows | Ubuntu
mangofreak is offline   Reply With Quote
Old 02-07-2008, 12:39 AM   #7
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

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.
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 02-07-2008, 01:20 AM   #8
mangofreak
mangofreak's Avatar
 
Join Date: Jan 2006
Location: Toronto-Canada
Posts: 444
Wink

many thanks for that Davidj.
__________________
J.
DW | FW | HTML | CSS | ASP | some PHP | Windows | Ubuntu
mangofreak is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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:11 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com