Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    help question flash on main page with javascript ASAP

    I have tried the ALL different things in the forums to insert flash with no luck, even swfobject.js I created the flash on my site, and it works.

    http://www.bodinedesign.com/AltasGen...ryForSite.html

    Now I am testing in ZC on my define_page 2. http://atlasgene.com/index.php?main_page=page_2

    I have this on my define_page 2:

    <script src="includes/templates/ATLASGENE/jscript/photoGalleryForSite.js"></script>
    ( I do have the file there too)

    This is in my photoGalleryForSite.js file:

    document.write('<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"');
    document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
    document.write('WIDTH="525" HEIGHT="325" id="photoGalleryForSite" ALIGN="center">');
    document.write('<PARAM NAME=movie VALUE="photoGalleryForSite.swf"> <PARAM NAME=loop VALUE=false> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="includes/templates/ATLASGENE/images/photoGalleryForSite.swf" loop=false menu=false quality=high bgcolor=# WIDTH="525" HEIGHT="325" NAME="photoGalleryForSite" ALIGN=""');
    document.write('TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
    document.write('</OBJECT>');

    I have changed the src from current path to root and putting swf file there, didn't work... Can any one see my error or am I missing something?

    I am in a time crunch and exhausted.

    ANY HELP MUCH APPRECIATED!!! THANKS!!

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: flash on main page with javascript ASAP

    i can't help with flash thingy . but looking at your source code , you have IFRAME embedded in your pages. if you didn't add it , then you might want to consider it as Hack .

  3. #3
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: flash on main page with javascript ASAP

    So many places in the forums direct me to this post

    http://www.zen-cart.com/forum/showth...ght=java+flash

    If there is an IFrame I didn't put it in.

    Does anyone have any suggestions on what else I can try?

    Thanks!

  4. #4
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: flash on main page with javascript ASAP

    Quote Originally Posted by MaxBodine View Post
    I have tried the ALL different things in the forums to insert flash with no luck, even swfobject.js I created the flash on my site, and it works.

    includes/templates/ATLASGENE/jscript/photoGalleryForSite.js

    includes/templates/ATLASGENE/images/photoGalleryForSite.swf
    In your first site both files are in the same folder... now there in different folders.

    Not seeing the js or fla code, I'm assuming both are standard, which means that they look for each other in the same domain and folders. You may have the same restrictions with the images used for the gallery.
    Dave
    Always forward thinking... Lost my mind!

  5. #5
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: flash on main page with javascript ASAP

    Thanks - I will check that out this afternoon and redo it. I need to get this done soon, so I appreciate all input.

 

 

Similar Threads

  1. Flash in main page
    By george_grat in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 16 Jan 2010, 10:11 PM
  2. Javascript on Main Page
    By CharInLasVegas in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 10 Dec 2009, 11:50 AM
  3. Flash on main page
    By Tuffmonkey in forum General Questions
    Replies: 3
    Last Post: 22 Oct 2009, 07:07 PM
  4. Problem with flash on main page (not header)
    By sartor in forum General Questions
    Replies: 7
    Last Post: 14 Jan 2009, 10:59 AM
  5. Header with Flash on Main Page only
    By dbran30 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Apr 2008, 11:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg