SourceTec Software

It is currently Thu Apr 17, 2014 7:38 pm

All times are UTC + 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Files not in root area
PostPosted: Mon Mar 05, 2012 8:32 pm 
Offline
Member

Joined: Thu Feb 26, 2009 9:35 pm
Posts: 15
Could someone please tell me what code I need to change if I don't want to keep my files in the root area of my website.

I can only get my flash menu to work if I keep the four files in the same root directory that I have my html code at.

I've changed the published code to reference the location of the four files, but that doesn't work, so I am unsure what/where else I need to change.


So basically, I want to have my html code located in area B, to point to the files for flash menu that are located in area A.


Top
 Profile  
 
PostPosted: Mon Mar 05, 2012 11:49 pm 
Offline
Member

Joined: Thu Feb 26, 2009 9:35 pm
Posts: 15
Again, just wanting to know if I just have to alter the below code to point to the location of the four Flash menu files or something even more.
I have tried inserting the address of the files in what seemed reasonable places below, but it still does not work



<p><a href="http://www.menu-flash.com" style="display:none;visibility:hidden;">Flash Menu</a></p>
<script type="text/javascript">
<!--
st_siteroot=""
st_swfpath="menu.swf";
o={}
o.position="static"; o.clear ="both";
o.width ="1"; o.height = "1"; o.left = "1"; o.top = "1";
o.id = "Adin";
if(!window.location.href.indexOf("file:") && st_swfpath.charAt(0)=="/")
o.src = st_siteroot+st_swfpath;
else
o.src = st_swfpath;
o.vars="flashid=Adin&menuId=0&dirPath=&siteRoot=";
document.write(SFMGetFlashHTML(o));
st_tippath="tip.swf";
o={}
o.position="absolute"; o.clear ="";
o.width ="1"; o.height = "1"; o.left = "1"; o.top = "1";
o.id = "STFlashMentTip";
if(!window.location.href.indexOf("file:") && st_tippath.charAt(0)=="/")
o.src = st_siteroot+st_tippath;
else
o.src = st_tippath;
document.write(SFMGetFlashHTML(o));
//-->
</script>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group