SourceTec Software

It is currently Thu Apr 24, 2014 10:33 pm

All times are UTC + 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Oct 19, 2006 9:44 am 
Offline
Member

Joined: Thu Oct 19, 2006 9:22 am
Posts: 11
While it is easy to pass PHP text to your Javascript included in the body of a page, I need to pass it to an included .js file.

I succeeded in doing that in IE6, but not in Firefox 1.5.0.7.

I had a hidden input make the PHP value available to Javascript as rgn.value

and changed a line in the included Javascript to:

stIT("p0i1",[" " + rgn.value + "Home"],"p0i0");

This worked just fine in IE6, but, in Firefox, no part of the menu appeared and no error was reported.

Two days ago I sent the .php, the .js and the .stm files to you.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 19, 2006 6:35 pm 
Offline
Support Team
Support Team

Joined: Fri Jan 28, 2005 5:15 pm
Posts: 1866
Hello synergy,

We have sent the reply toyou via email, please check it.

Thanks a lot.


Top
 Profile  
 
PostPosted: Fri Oct 20, 2006 11:23 am 
Offline
Member

Joined: Thu Oct 19, 2006 9:22 am
Posts: 11
Thank you for the suggestion to include the Javascript in a .php file. That did enable me to get the menu to display with Firefox.

Yet, as you can see from
http://www.synprod.com/treemenu/menutest.php

I still have the problem of the menu button backgrounds collaping on each other a little.

Do you see this?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 23, 2006 5:35 pm 
Offline
Support Team
Support Team

Joined: Fri Jan 28, 2005 5:15 pm
Posts: 1866
Hi synergy,

Please check whether you have upload the blank.gif file to the directory you defined. That will be important for the menu to display properly.

You can have a check. If it fails to solve your problem, please let us know.

Thanks a lot.


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

All times are UTC + 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


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