![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 308 Pomógł: 13 Dołączył: 31.10.2008 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
mam dosyć banalny problem... w takim kodzie Kod var imageWidth = 400; $('#example').imgAreaSelect({ handles: true, onSelectEnd: preview, persistent: true, minHeight: 40, minWidth: 40, x1: 0, x2: imageWidth, y1: 0, y2: 300 }); w tym miejscu Cytat x2: imageWidth, wartość zmiennej wynosi 0 dlaczego?
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 898 Pomógł: 80 Dołączył: 31.05.2008 Ostrzeżenie: (20%) ![]() ![]() |
O mam rozwiązanie, wystarczyło dać x2: Number(imageWidth); i by działało (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 18.10.2025 - 07:25 |