Hello. I have an issue. I have finally found a CSS script to make a round image, but it doesn't use an SRC. It uses a CSS Background, and in the SRC of an image, I have to add a "nothing.png" which is a simple transparent background. But, even though it's cool, I don't know how to change the background by entering a link. The Code:
and the way to change it:Code:<img style="border:0px solid #fff;-moz-border-radius:200px;-webkit-border-radius:100px; background: url(circleimage.png);" width="200px" height="200px" src="nothing.png" id="roundimage">
And last but not least, the class:Code:<input type=text onchange="document.getElementById('roundimage').className ='foo'">
Again, what I need done is the user must add a link into a text box and it updates the round image with the CSS. Doesn't absolutely have to be the CSS background. If it will work. Please help, this will be amazing if it can work! Must update with JS, thanks!Code:<style> .foo { border: 0px solid #fff; -moz-border-radius: 200px; -webkit-border-radius: 100px; background: url(THIS IS WHAT THE USER ADDED INTO THE TEXT BOX); }</style>
-Nic
P.S. :
This is yet another generator, I know, probably a big fail. But please help me, I really would like for this to work. link: http://dbanimefree.x10.mx/llltest.html



Reply With Quote


Bookmarks