How To Make Rounded Corners

Feb 7, 2010

I am no expert in javascript. In fact I tend to use just open source when i use it at all but I believe there is a javacript script fro creating rounded corners for boxes? my question is: will this size to the size of someones monitor or viewport?The one i have found is as below. Can anyone tell me whether this script would. If not are there any orthers that do out there?

HTML Code:

function NiftyCheck() {
if(!document.getElementById || !document.createElement) {
return false;

[code]....

View 2 Replies


ADVERTISEMENT

Using Curvy Corners JS For Rounded Corners In IE?

Aug 3, 2011

I am using the curvycorners.src.js script in order to achieve rounded corners in IE. If you go here: [URL] and then drag and resize your browser screen, you will see that the header and bottom section move out of alignment. When I remove the Curvy Corners script, the issue goes away. For some reason though it is only affecting the home-page of the site (not the sub-pages).

View 1 Replies View Related

JQuery :: Using Malsup's Rounded Corners In IE7?

Jun 26, 2011

I am using Malsup's Rounded Corners plugin, which is amazing! I use Chrome and Firefox so it looks great. However mycolleague using IE, complained that the corners aren't round. So I looked and the corners are but the border is not (using the "keep" setting).

I saw that on ff/chrome you are using the border-radius which isn't supported by IE<9. Is there some other way to get the borders looking round on IE7,8 or do I just have to turn off the borders?

View 2 Replies View Related

Html TextBox Rounded Corners?

Jul 22, 2010

So, I wish make html input type text with rounded corners. I want make this with on JS.

View 1 Replies View Related

JQuery :: Rounded Corners And Drop Shadows

Jan 16, 2011

I'm looking for a jQuery plugin or pair of plugins that will apply both a rounded corner and a drop shadow to a DIV box without the use of corner/border images. I've actually found quite a few that do one or the other but they seem to be pretty outdated, not in itself a problem but mostly for lack of support. So far, the few that I've found will do rounded corners and a few will do drop shadows. Sometimes they fail to work with each other and sometimes they only work in FF or Safari and fail in IE. I'm coming up short on the magic combination.

This failure in IE kinda defeats the whole purpose of doing this with jQuery since I can already get FF and Safari do to both with only CSS3. Does anyone know of a great jQuery plugin or pair of plugins known to work in all browsers including the latest couple/few versions of IE?

View 2 Replies View Related

Method (apart From CSS3) To Create Rounded Corners?

Jul 16, 2011

I know CSS3 is at the stage now where we can use this feature comfortably across all modern browsers, but what else can be done via Javascript/Jquery to create our ever-so beautiful rounded corners ? Im trying to achieve a fairly consistent look "cosmetically" in all my sites going back as far as IE 7...For example my second site Ive built PAT Tester providing PAT Testing in Birmingham Worcester Bromsgrove Redditch Dudley Worcestershire West Midlands utilises CSS3 and looks ok in the modern browsers, but go back to IE8 and "yuck" its all squared out maaaan....!

View 1 Replies View Related

Object Oriented Programming - Make A Round Corners Script

Feb 15, 2012

I am trying to make a round corners script in object oriented programming method. This is purely for learning purposes.

The script is no where near complete but I am already having problems with it.

I am trying out the techniques described in 'David Flanagan ' text book 'JavaScript: The Definitive Guide, 5th Edition'

This code is called from html page which once working will place a round container around element

The selector parameter in Custom_rounded_container function is defined because only the else part of the if statement in Custom_rounded_container is executing. I put this in because few people at other forums thought the problem was because of the selector parameter being undefined.

External Javascript file

View 1 Replies View Related

Rounded Div Or Container

Mar 29, 2007

I've read several articles about rounding div but all use the <b> tag with some CSS style to make it round.

I would like to work more on the div itself and to find a way how to make it round-corner state. Maybe working directly on DOM, who knows.

View 1 Replies View Related

JQuery :: Animate A Rounded Border Of A Div

Jul 27, 2011

I'm trying to animate a rounded border of a div. In this post someone posted an solution which works in Chrome and Safari (didn't test it yet in IE), but for sure doesn't work in FF:

Code:

$("selector")
.css({
WebkitBorderTopLeftRadius: 10,

[code]....

View 10 Replies View Related

Google Maps LatLng Gets Rounded?

Oct 10, 2011

This is a Google Maps API V3 issue - but I'm posting it here, as I'm getting no help at the Google-forum and I expect a Javascript solution.

The puzzle:
I have defined a LatLng, like so:
Code:
var myLatLng = new google.maps.LatLng(61.4907009, 8.3708479);
For some reason, if I alert(myLatLng), I get this:

[Code]...

View 2 Replies View Related

JS Quote Calculator Rounded To Two Decimal Places

May 17, 2011

rounding the quote up to two decimal places. I've seen a lot of codes and tried a bunch (math.round, tofixed, toprecision) but not exactly sure how to use them and where to put them. Calculator can be viewed here along with the code [URL]

View 3 Replies View Related

Rounded Corner On Rollover - It Doesn't Work Properly In IE?

Feb 4, 2011

I am developing a site that requires the navigation menu to have one rounded corner at the end on the home button. The default button state is created using a background image but I need it to also have a rollover effect on hover and also on focus (for the home page item only). I have tried to use CSS and curvy corners Javascript code to create the effect as I don't want to use images. However, I don't think the curvy corners script is picking up the div item that I want to apply the corner to.

The trouble is I have a number of div boxes on the site that also have rounded corners (3 rounded and 1 square). The CSS is working fine for these in all browsers apart from Opera but when it comes to the navigation it doesn't work properly in IE. Here's the HTML for the menu:

Code:

<div id="menu">
<ul>
<li><a href="index.htm" class="home">Home</a></li><li><a href="#">Mortgages</a></li><li><a href="#">Life Assurance</a></li><li><a [code].....

The CSS is in an external stylesheet, although I have also added the CSS for the rounded corner items to the header code.The class 'homefocus' seems to work when applied to the a tag on the home page but the other class 'home' which should work on hover won't work in IE.

View 3 Replies View Related

Gradients And Round Corners

Jul 23, 2005

I haven't found in my CSS book how to create a gradient to fill a division
tag, and to create a border with round corners.

Is it possible using either CSS or JavaScript? I'd like to create a menu bar with a gradient in the background, and I want the top corners to be a little round with a 5px radius.

View 3 Replies View Related

JQuery :: Using Corners Plugin With Ie6 >?

Nov 15, 2010

I'm trying to get borders to display properly with this plugin:On the page it says to use the keep option, but it does not give an option to specify what colour the border should be , if I specify the type of border in a stylesheet: like (border:1px solid #d4d4d4;) it shows the border great in firefox, but in ie6 and 8 it shows the border but not to the contours of the rounded box (ie square)

View 3 Replies View Related

Curvy Corners Not Rendering?

Oct 28, 2009

I've downloaded the curvy corners codes from the following address: http:[url]....

The instructions in the curvycorners.src.js file say that all i need to do is add the following piece of code which I've inserted into the head section:

<script type="text/javaScript" src="js/curvycorners.src.js"></script>
<style type="text/css">
<!--[code].....

View 5 Replies View Related

Using Curvy Corners - Unable To Add A Second <div Id> To The Script?

Nov 26, 2010

I am using curvy corners, and it is working fine, as long as I only want one rounded box...I want (at least) two, and I am having trouble adding a second <div id> to the script.I'm not able to decipher much of javascript, and the explanation that came with the code isn't clear enough for me.Here's the code...

<script type="text/JavaScript">
window.onload = function() {
var settings = {[code].....

View 2 Replies View Related

JQuery :: Adding Curvy Corners To Multiple DIVs?

Aug 14, 2010

I have the following to add curvy corners to my divs;
<script type="text/javascript">
$(document).ready(function(){
$('#album').corner();
});
</script>

My divs look like:
<div
id
="album"
> ... something here ... </div
>
<div
id
="album"
> ... somthing here ... </div
>
<div
id
="album"
> ... somthing here ... </div
>
<div
id
="album"
> ... somthing here ... </div
>
The curvy corners only works on the first div. How to make it work on all album divs ?

View 1 Replies View Related

JQuery :: Malsup Corners - Strange Top Nudges In IE6 And Opera

Sep 21, 2009

I am playing with malsup's corners and I am getting strange nudges on both top corners in Opera, IE6 and Konquerer when applied to nested elements (to achieve a cornered border). I am using exactly the same code as on the demo page: "$(this).corner("round 8px").parent().css ('padding', '4px').corner("round 10px")". Strangely this only appears when the radius is more than 10px and
div.outer's padding is less than 3px. All corners are rounded, just at the top div.outer still seems to have little develish horns.

View 2 Replies View Related

Call Script Event On HTML Div Border Corners?

Jun 19, 2011

It sounds confusing, but is quite simple. I have a square div, and using css I have four circles replacing the corners of the of the divs border. I want the user to be able to click on one of the corner circles changing the curser image and calling the Javascript onclick event. How do I did that?

View 6 Replies View Related

JQuery :: Corners In IE6 - Error That Is Produced At The Bottom Of The Article Corner?

Dec 17, 2010

this jQuery plugin nearly works in IE6. You can see the error that is produced at the bottom of the article corner. (I'm tackling the other issues... .png later) http:[url].....

View 2 Replies View Related

Round Corners Script In Object Oriented Programming Method

Feb 12, 2012

I am trying to make a round corners script in object oriented programming method. This is purely for learning purposes.

The script is no where near complete but I am already having problems with it.

I am trying out the techniques described in 'David Flanagan ' text book 'JavaScript: The Definitive Guide, 5th Edition'

This code is called from html page which once working will place a round container around element

Code:

Javascript functions below

Code:

View 19 Replies View Related

JQuery :: Menu Navigation - Submenu Links Have A Rounded Box Appear Under Them Instead Of Being Underlined Links

Aug 26, 2009

My menu navigation(Home, Hosting Solution, etc..)

1. The submenu links need to be centered in the middle of the div instead of aligned to the left.

2. Can the submenu links have a rounded box appear under them, instead of being underlined links. Like these at the top: [url]

3: The top tab needs to stay gray/active/on when the mouse is moved down to the submenu or when it is the active button.

Here is the link of the site [url]

View 2 Replies View Related

Google Maps API - Make A Map That Lets The User Click The Map To Make A Pin And Write A Description

Jan 27, 2010

My objective is to make a map that lets the user click the map to make a pin and write a description. Like this [URL]

View 13 Replies View Related

JQuery :: If Number Is Below 5.5 Make It Red - Otherwise Make It Green - Multiple Classes

Dec 8, 2011

I have several classes named 'ratings_colored'. They all contain a number from 1 to 10. If the number is below 5.5, the number should become red. If not it should become green.

The code below works, but if the first .ratings_colored is higher than 5.5 it will make ALL the classes green. Even the numbers below 5.5! I tried using the 'this' but it didn't work either.

$(document).ready(function () {

View 2 Replies View Related

Make A Default Empty Value And Force Users To Make A Decision?

Dec 2, 2009

How Can i take this to make a default empty value and force users to make a decision?

<select id="preservetitletest"
name="titletest"
dojoType="$testWidget"
style="width:50%;font-family:Courier;"

[Code]....

View 1 Replies View Related

Clicking A Button To Make Something Appear, And Then Clicking It Again To Make It Dis?

Mar 4, 2010

so I have a button that makes a table appear absolutely(dynamically), and I was wondering how would I go about making it disappear once I made it appear.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved