I've been searching for a way to get border-radius working in Internet Explorer by using JavaScript or a JavaScript library like jQuery. With so many browsers now supporting border-radius, it just seems silly to me that we use all this extra markup just for rounded corners in IE.
What I want to do is change the border of several images on the page to show a 4px border. There are many images on the page so I just want to call the changeborder() function on the onClick event so as the image that has been clicked changes. However, I don't think using this.style.border to identify the element works when placed within the function. That is, how do I identify, from the function, which image has been clicked? My current code (which does not work) looks like this but I am sure its possible to gather what i'm trying to achieve:
is there a way how to detect if mouse is over the border table and over cell border? and if yes, when user click and host button and move mouse cursor (to increase cell width) which event should i detect ?
Anyone know how to make an svg circle radius fixed (i.e. not affected by transforms)? I tried adding px or cm, e.g. r=ཋpx' but it just generates an error.
We have to set up a page that when you input the center and radius of two circles it will tell you whether they are inside one another or overlapping or not. Here is what I have so far...
've been grinding this for days and nothing seems to work. I'm using a JQuery script (or a variant) called the bx.Slider [URL].. It works well. It's all positioned properly. I use my own prev/next images, and there is the ugly blue border around them in IE 8 only. I've tried removing the border, both in the js file (jquery.bxSlider.min.js), in my own syle sheets where you can style the js created classes, or inline, in the tags themselves... None have worked in any way, shape or form.
Maybe I am looking in the wrong places, but I can't seem to find the answer. Does anyone know of a trick or two regarding this?
...I have an element (for example <div>) that i displayed in my browser is overflowed and overflow is hidden.Now after displaying browser when I move my mouse over to it, I want to add a border to the <div> using jQuery Code:.css("border","2px solid red"). But the problem is::: at left side and top side border is added but at bottom and right border not added since these 2 sides overflowed.
I taught it to myself without even having any true JavaScript experience and am sure that while functional, many of my implementations could/should be written completely differently. I'm running some animations that look great in everything except for IE. In IE I'm seeing a thin, ragged black border around some of the elements that I'm animating.
I have a couple of images in a fisheye that I want to be displayed with some space between them. Currently, jQuery displays the images directly connected to each other:
I imagine this is trivial - in fact it must have been asked before, I just can't find the answer. I have looked.I have a dotted bottom border defined on my link hovers, like so [code]
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:
See the table code below. Because this table is created by a third party application, I can't modify their code. So, I'm stuck trying to find other ways to change the table styles. I figured jQuery would be a great way to accomplish this, but I can't figure out the correct code. Can someone show me how to change all cells, or certain cells (dddefault and ddlabel) to have a border? I've gotten close, but it only affects the first cell.
<TABLE CLASS="datadisplaytable" SUMMARY="This layout table is used to present the weekly course schedule." WIDTH="80%"> <TR> <TH CLASS="ddheader" scope="col" > </TH> <TH CLASS="ddheader" scope="col" > Monday </TH>
I am trying to create a border effect on hover so when the use hovers over a link the css border changes color to create some interactivity and also as a point of reference too.
Here is the code so far I just do not know how to implement the fade effect for the border to fade on hover;
Is there any way that I can simply change this code to work with it.
I have to ad a line between some rows, but not for the first col.the table has:table { border-collapse: collapse }that is fix and I can not change it.the following sample code draws the lines nicely in IE6 but in FF there'sjust nothing (also used color here, to see if the selectors are right):
....my web page displays a picture with a white border around it. Is there a way to get rid of the white border? I want to continue to link directly to my image (pic1.jpg) and not to an HTML page. The reason for this is because if I link directly to an HTML page then I seem to have problems with pop-up blockers.
I only get a border on the outer 'wall' of the table - no borders on the cells!!!
Due to the project I'm working on, I'm dynamically creating rows and cols in DOM, I'd really like to just specify that all of the cols/rows have a border in one go like the old table method rather than having to define the border style for each cell.
I can't use the old table method of BORDER=1 because I need the dashed style rather than a solid border. Any ideas on how I can do this?
An input field get a border assigned by a style class (e.g. 2px solid red). When the field gets the focus, we set the border to green.
element.style.border = "2px solid green";
When the field looses the focus, the border should change back to red. We just want to remove the style we have set, when the field has got the focus, so that the style class is visible again.
element.style.border = "";
Under Firefox that works but not under IE. We have changed to the class mode, because we don't want to save the previous setting and restore it later.
Is there a possibility to remove the style (especially the border style) under IE, so that the style of the assigned class is visible again?
element.style.removeAttribute doesn't seem to work, but may be I make something wrong? Code:
I have something like that where I need to repeat x times where x depends on the width of the browser. (Not sure if its a good idea to use a bitmap of width 1 but I could use one that is larger and then use both(e.g., maybe one that is 10 pixels wide and repeat that as needed and let the 1 pixel wide one get the rest(I have some "ends" on the border that I need to display too so it sorta needs to be exact))
Not sure how to do this with js(just learning it) but obviously I just need to get the width of the border and then figure out how many times I need to repeat the code.
I have several issues I am wondering about though. First off is that I have used photoshop imageready to create a roll over menu bar but in firefox when I use the down state it leaves a selection rectangle around the image but in IE it does not do this. It does not look nice in firefox and I'm sure there is some way to prevent it. (for some reason it selects it when you click the menu item and this probably can be turned off using css?)
Another issue, which isn't a big deal, is that I'm using symmetric bitmaps to "cap" the border. I was wondering if it is possible to flip the image using html or js so that I don't have to have a seperate image for it?
It must have this black border, but when it gets swapped for a blank, I am left with the black square. how to vanish the border along with the graphic?(I have some vague idea that "border" is not used any more, but anyway...).
I am using Dreamweaver to open a pop up window when you click in a thundnail to make the picture bigger. In Dreamweaver you have the option to specify the dimensions of the pop up window(in my case the same as the photograph). It seems to work fine in Explorer, but Safari leaves a white border along the right and bottom edges(aprox 14 pix). I have tried to do the window smaller but then in other browsers you need scroll bars. I would like the new window be exactly the same size of the photograph. Is there any easy way to control this?
I need to set the border width of a link when it is clicked. The link calls a javascript and so I need a way to identify which link has been clicked, hence the outline...i tried this.style.borderWidth = 'thin';but to no avail...?!I have already assigned border-color and border-style in the style sheet if that makes any difference...