From: Daniel T. <de...@ti...> - 2003-07-24 10:08:33
|
Hi again! After testing for about 4 hours i realised i would try something else :) These lines in the htmlMenu code i commented away, and guess what? I think it works now...i have no idee why or what they actually do. but now they are taken away from my code and works very fine :) // Write Style to browser //HTMLComponent.writeStyle({ // HCMNU: '{border: 1px solid #003366}', // HCMNUItm: '{border: 1px solid #002851}', // HCMNUItmText: '{cursor: default; text-decoration: none; color: #FFFFFF; font: 12px Arial, Helvetica }' //}); Best Regards Daniel > Hi! > > I have a problem with the HTML meny in NS 4. > > If you see the example file i never call any meny functions even thought i have it included. > > If you open the file in ns 4 (i am using 4.7) you will mostly not get the alert('hoho') to work. But sometimes you will. I have put 200 lines of a var: test = 1hohohoho; just for getting this error, it works fine if your script isnt long. > I get the error: > unterminated string literal. > var test='133Ho > > But as the lines range from 1 to 200 and the lines is exaclty thesame, the error should not ever happen. > > I have put everything in a init now but its thesame as without it. > > You will probably get some cache problems in ns 4 so be sure to check the source (even if its not there once in a while... after commenting the htmlMenu) > > If you comment away the htmlMenu include it will start to work again. > Could you pleas look at this asap? As i really really really need to get it to work. > > Best regards and thanks in advance > Daniel Tiru > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > ---------------------------------------------------- > Name: testdyn.zip > Type: application/x-zip-compressed > Encoding: base64 > Length: 0.94 KB |