By mypharm on
Is there any module like NiftyCube or CurvyCorners for drupal 6.x ?
Or there is an other way to create round corners for my menus mainly.
thanks in advance
Is there any module like NiftyCube or CurvyCorners for drupal 6.x ?
Or there is an other way to create round corners for my menus mainly.
thanks in advance
Comments
you might try looking for a
you might try looking for a jquery plugin... d6 has jquery 1.2.? builtin...
Thanks
It looks that this is the solution...thanks WorldFallz!!
np... and if you find one
np... and if you find one that works well, post it back here for future reference for others. 8-)
jquery corners plugin
http://www.methvin.com/jquery/jq-corner-demo.html
Tried it myself, it works pretty well. Very easy to use. HTH.
Very nice! Adding jquery to
Very nice! Adding jquery to drupal was a brilliiant decision!
I am looking to add rounded
I am looking to add rounded corners to my site using the fourseasons template. I have jquery.js and intended to use jquery as listed here but where do I put the following code?
$(this).corner("round 8px").parent().css('padding', '4px').corner("round 10px")
Thanks
got it
took an hour or so with my lack of efficiency in drupal, but:
scripts:
Put that in the head of your page.tpl.php file.
This gives me rounded corners on my .block styles. Make sure your paths are correct and that you are also referencing your jquery file. Check the source. I thought drupal did it automatically but for some reason I had to put it in the page.tpl.php file manually. Probably something wrong on my end but it still works.
Jesse
Thanks - rounded corners works great
Thanks Jesse for taking the time to look into this.
I figured out if you install the rounded corners module then go to admin and choose the configuration options for rounded corners there is a box where you can enter the code. You can style single or multiple blocks by naming them explicitly and styling them with the css.
So the instructions on the website http://www.malsup.com/jquery/corner/
substitute $this for the actual block required.
$(this).corner("10px");
In drupal for only the right sidebar this becomes:
$("#sidebar-right .block").corner("round 10px");
Your solution also worked but I think the one built into the module is easier to implement and change.
Are you using drupal 5? Yes,
Are you using drupal 5? Yes, the module is more convenient, but AFAIK the module isn't available for D6 yet. I was going to update it for D6, but if you've already done it let me know (and post the code to the issues queue) so no one wastes any time porting it. thanks.
5 v 6
Sorry I didn't specify, yes, you're right, the module is not for Drupal 6 yet. And it may not get there in its current form as it seems somewhat unmaintained.
My solution was for my D6 installation, I looked at the module but didn't pursue it because of this.
I wonder what's so appealing about rounded corners?
Jesse
And it may not get there in
I plan to convert it-- it actually doesn't look like it will be a big deal. I've already done 2 similarly small and focused modules and they were easy to convert.
I don't get it either, it's just an appearance thing I guess--- very "Web 2.0", whatever that is supposed to mean. I just know clients/users tend to love it. It's easy bonus points.
which theme you do you have
@drupalfool:
which theme you do you have the module working with... I'm currently trying to port the module over to D6 but I can't get it to show any curvy corners so I'm back on D5 to see how it works and I can't get it display curvy corners there either.
So which theme did you get it to work with so I can test the D5 release version?
I am using the Fourseasons
I am using the Fourseasons template with the rounded corners module. I could not get the curvycorners module to work either but rounded corners works fine once you know what to do with the code (see above post). Rounded corners is also a lot more flexble because you are not restricted to rounded corners. They can be slanted, rounded on top, inverted etc for all blocks or one specific block. PM me if you want to take a peek at the Dev site I am working on and I will give you the URL
*edit*
I just thought I should add this is using D5 not D6
An anti-aliased version that
An anti-aliased version that looks pretty interesting...
http://blue-anvil.com/archives/anti-aliased-rounded-corners-with-jquery
Yep...that's my personal
Yep...that's my personal favorite. I've actually integrated that plugin into a module along with some other cool plugins (http://drupal.org/project/jq_eyecandy), though if you know what you're doing, you don't need the module.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
Excellent!
Consider it used. That's great!
Drupal 6 AD Novus Theme
Dear All
Please can you help me out in making rounded corners for blocks and main windows in drupal 6 as I cant manage :(
Thanks - Justin