Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Nifty corner
 
voctavio
Jr. Member
 
Total Posts:  9
Joined:  2008-08-08
 

Has anybody used “Nifty corner” scripts in modern theme?

thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
g4m3c4ck
Jr. Member
 
Total Posts:  20
Joined:  2008-02-01
 

No, but I plan to end up using rounded corners eventually. Should be very easy to implement. Most of my css tricks have been easy once I figured out the id or class and that is fairly easy with the developer toolbar and firebug.

The only thing that sux is fixing IE bugs. Grrrr.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 

Thought I give you a heads up. I tried the NiftyCube (was Nifty Corner) for my Magento Theme, apart from the scriptaculous conflict that you will be facing if you place the scrip in the page.xml, NiftyCube itself doesn’t work very well when you have background image declared in the body tag (which likely to be the case for you if you use Magento theme) - you will see solid square instead of curve, it’s actually working but the problem is that it creates a solid background color.

No NiftyCube user group or forum available so I couldn’t find a fix, I did email the author my finding but not sure if he ever receives it. 

jQuery has a rounded corner plugin which I may try in my next project.

 
Magento Community Magento Community
Magento Community
Magento Community
 
AliciaAO
Jr. Member
 
Total Posts:  20
Joined:  2008-09-25
 

any idea how to get them to work? where do i put what? so far i added the niftycorners.css in styles.css at top after the rest of @import url, i added
<action method="addCss"><stylesheet>css/niftycorners.css</stylesheet></action>
<action method="addJs"><script>corners/niftycube.js</script></action>
in page.xml but where am i supposed to put the information
(<script type="text/javascript\" src="niftycube.js"></script>
< script type="text/javascript\">
window.onload=function(){
Nifty("div#box”,"big");
}
</script> )
and how do i figure out how to do it for poll,cart,newsletter...etc to put where it said “div#box”,"big"
not sure if what ive done so far is correct…

PLEASE HELP!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Eyes2Design
Member
 
Avatar
Total Posts:  33
Joined:  2009-02-07
Lehi, UT
 

hi if your wondering!!!
heres how............

first make a temp, theme and in the layout and this in to page.xml

<action method="addJs"><script>js/niftycube.js</script></action>
<action method="addJs"><script>js/niftyLayout.js</script></action>
<action method="addCss"><stylesheet>css/niftyCorners.css</stylesheet></action>
<!-- <action method="addCss"><stylesheet>css/NiftyLayout.css</stylesheet></action> -->

next.. in the template/page/html/head.phtml
you can use..

<script type="text/javascript\">
window.onload=function( ) {
Nifty("div#box","tl bl br big");
Nifty("div#box .button”,"small");
Nifty("div#box1","all big");
}
</script>

above <?php echo $this->getCssJsHtml() ?>

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top