Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:09
Menu-Calling from External Server (Atomz)
Poster: pbowers
Dated: Tuesday September 21 2004 - 0:58:35 BST
I'm trying to have the menu (it's V5, I think) display on Atomz's search results page. For an example, see:
http://search.atomz.com/search/?sp-q=training&sp-a=sp1002cae8&sp-p=all&sp-f=ISO-8859-1
The main site is http://www.fluidedesign.com/index.htm
I have gotten this to work with V3 of the menu on another site.
Is there something obvious I'm missing here?
Paul
Poster: John
Dated: Tuesday September 21 2004 - 14:35:09 BST
First thing badly needed is an upgrade. You are running RC10 of the system (a very early beta), while the current version is 5.48, well over 100 releases above what you have. Only the most current version is supported.
Let us know if you still need help after upgrading from http://milonic.com/.
Poster: pbowers
Dated: Tuesday September 21 2004 - 15:30:04 BST
I can't justify to the client paying for an upgrade when I don't know if upgrading will solve the problem (support for the license has expired).
Reconstructing the events from email archives, I bought 3 licenses in April 2002 (before there was a fixed price for usage and before there were license numbers) and ended up using beta V5 for two of them since it's usually best to use the latest release. Probably should have downloaded and used the non-beta V3, but that's irrelevant now.
Do you at least know if the latest release will do what I need it to do? Alternatively, is it possible and simple to "downgrade" a V5 site to V3? V3 doesn't have the problem I'm inquiring about, see the link directly below for an example.
http://search.atomz.com/search/?sp-a=00072de4-sp00000000&sp-q=dhtml&sp-p=Phrase
Paul
http://www.pipingdesign.com
Poster: John
Dated: Tuesday September 21 2004 - 15:58:47 BST
The new system will definitely do what you want. However, there will be a licensing issue. The Pro license, currently around $35 or so, is for use on one domain only. You are wanting to use the menu on two domains, so that would mean 2 Pro licenses. See http://www.milonic.com/licensing.php for more licensing info.
Note that if you stay with either v3 or the v5RC there will be no support. Only the most current version is supported.
Poster: pbowers
Dated: Tuesday September 21 2004 - 18:47:12 BST
I only want to use v5 on one site.
http://www.milonic.com/pricing.php shows the price to be $46.11.
Two things that I find disappointing:
- v3 had a feature which was removed for v5 beta and was then re-enabled for v5 final release. To me, this means I paid for an unfinished product.
- in theory, depending on the length of time it takes for a new release to be a final version, a customer can end up with less than 12 months of support (eg., buy at rc1, it takes 6 months for the final to be released, upgrade to final...only 6 months of support for the final release)
I'll see what the client says.
Poster: kevin3442
Dated: Wednesday September 22 2004 - 3:44:45 BST
Hi Paul,
Good to see a familiar old name. Hope you're well.
I'm not sure about licensing details, but I might be able to help with the problem itself.
It seems that the Atomz page is somehow removing some necessary characters from two lines that load a needed file for the menu. The following code:
Code:
if(ns4)_d.write("<scr ipt language=JavaScript src="http://www.fluidedesign.com/mmenuns4.js"></scr ipt>");
else _d.write("<scr ipt language=JavaScript src="http://www.fluidedesign.com/mmenudom.js"></scr ipt>");
else _d.write("<scr ipt language=JavaScript src="http://www.fluidedesign.com/mmenudom.js"></scr ipt>");
determines whether mmenudom.js or mmenuns4.js gets loaded. In both lines, where you see scr ipt part should be scr"+"ipt -- In other words, it should be
Code:
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
You could try:
(1) Putting html comment markers around those two lines, like:
Code:
<--
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
-->
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
-->
(2) Maybe a single quote instead of double.
(3) If that doesn't work, we could mess with putting the argument to _d.write() into a string variable and passing that... but best to try the easy stuff first.
Hope you're able to stick with Milonic.
Cheers,
Kevin
Poster: John
Dated: Wednesday September 22 2004 - 4:13:14 BST
pbowers wrote:
I only want to use v5 on one site.
Then you've got me confused (usually easy to do) in calling the menu from both fluidedesign.com and search.atomz.com.
Poster: pbowers
Dated: Wednesday September 22 2004 - 13:09:45 BST
My misunderstanding (it actually *is* 2 sites, but it's kind of an odd situation since the 2nd site's implementation is only for searching the first).
Somehow it never occurred to me to just search for Atomz; I would have found this page:http://www.milonic.co.uk/forum/viewtopic.php?t=3461&highlight=atomz&sid=234e3839adee5cb6a1f0ee192ba35c61
Thanks Kevin, (1) worked just fine.
Paul