Page 1 of 1

nifty cube / corner problem with IE

Posted: Sat Sep 16, 2006 10:15 pm
by kwansan
Hi,

I have a strange problem with nifty cube corner and IE.  Nifty cube works ok on FF and Netscape however when viewing in IE, I get a message "you are now entering a secured site" each and everytime I navigate to other pages.  My site is not a secured site "https" and nifty cube does not work.  The page breaks down in IE and overall it is annoying for people viewing my page in IE.

I can eliminate this problem by changing my javascript link from http to https.  If I do that I get a mismatched certificate message and nifty cube still does not work in IE.

I am thinking the problem is with something being called in niftycube js that does not exist or something I left out.  I have previously tested niftycube on previous version of cms made simple savusu (sp).  I cannot recall if I had encountered that same problem.  However, the test page using nifty cube on cms made simple savusu is ok on IE.  Wondering if something needs to be changed to work on cms made simple .13. 

I changed some of the config files to match the config file of the previous version.  Like displaying urls as page?= instead of index.php/page.

If I delete {metadata} from my template and type the metadata lines directly into the templates, the "secured site message" disappears but my header background images do not show. 

I have even tried the first release of nifty corners, and even the stripped down version of hardcoding.  The stripped down version doesn't work because is replaced to on cms made simple editor. 

I have spent hours trying to figure this out.  I only need 3 elements rounded.  I could easily do this by making corner images and uploading, but I really want to use niftycube for the sake of easily making changes in the future. 

I have tried everything and cannot think of anything else that might be causing this problem.  I know nifty cube works because I have seen several sites by Mark who has used them successfully.  So obviously I am probably missing something really simple.  I just don't know what it is.  please help  ??? ??? ???  Thanks everyone.

Re: nifty cube / corner problem with IE

Posted: Sat Sep 16, 2006 11:03 pm
by kwansan
Ok I did a work around for niftycubes and cms made simple version .13 canary.  Instead of using niftycubes, I got nifty corners (niftycubes first version) to work by following the first version directions on http://www.html.it/articoli/nifty/index.html.

I downloaded the first version, unzipped it, and uploaded the js and css files my server to a new folder javanifty.  I than added the following NIFTY lines to my cms ms canary template.

Code: Select all

{metadata}
{stylesheet}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}

<!-- global_content name='JavaScript for IE page width' -->

<!-- SECTION 2 -->
<!-- NIFT -->
{literal}
<link rel="stylesheet" type="text/css" href="./uploads/javanifty/niftyCorners.css">
<__script__ type="text/javascript" src="./uploads/javanifty/nifty.js"></__script>
<__script__ type="text/javascript">
window.onload=function(){
if(!NiftyCheck())
    return;
Rounded("div#side1","#FFF","#E4E7F2");
Rounded("div#side2","#FFF","#E4E7F2");
Rounded("div#side3","#FFF","#E4E7F2");
}
</__script>
{/literal}
<!-- END NIFTY -->

<!--[if IE]>
{literal}
<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>
{/literal}
<![endif]-->

The elements I need rounded are called from

Code: Select all

Rounded("div#idname","#fff","#roundcolor")
I than made a cms ms stylesheet titled Rounded added the styling elements for id side1, id side 2, and id side3 and attached it to my cms ms template.  Per the instructions, I could make the javascript call window.onload function as a separate external js file but it is a personal choice.  Just happy that it works.  Total time spent 12+ hours,  I could have churned out 100's of round corner images on photoshop in that time.  Oh well, now it's working any future rounded corner changes will be a breeze.

I posted my above solution for my own future references, I have short term memory and tend to forget things.  Or anyone else who is having the same problem.  I still would like to get niftycubes to work without the "entering secure site message" on IE.  So if anyone knows how to solve that problem please post.  Thanks everyone. I'm in a happier mood now.  ;) :D 

Re: nifty cube / corner problem with IE

Posted: Mon Sep 18, 2006 3:56 am
by Dr.CSS
Do you have a link I can hit?