These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:03 pm Advanced search

Scale function in safari

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

Scale function in safari

Postby veniamin » Fri Aug 13, 2010 9:15 am

<!DOCTYPE html>
<meta charset="utf-8">
<script src="jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
var placeHolder = $("<div id='plHld' onclick='scale();' style='width:300px;height:100px;border-style:dashed;position:absolute;'></div>");

function scale() {
placeHolder.css("webkitTransform" ," scale(0.05,0.1)");
//placeHolder.css("top" ," 0px");
//placeHolder.css("left" ," 8px");

//document.getElementById("plHld").style.webkitTransform = 'scale(0.05,0.1)';

Posts: 1
Joined: Fri Aug 13, 2010 9:10 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest