Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> obraz przy headerze
bluebird
post
Post #1





Grupa: Zarejestrowani
Postów: 46
Pomógł: 0
Dołączył: 9.09.2009

Ostrzeżenie: (0%)
-----


witam potrzebuje wstawić obrazek w formie łuku rozpoczynającego się nad tekstem otaczający za tekstem a kończącym się pod tekstem w znacznikach np. h2, jak to zrobić dla tekstów o zmiennej długości? dzieki za pomoc

Ten post edytował bluebird 13.09.2010, 15:50:28
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
wookieb
post
Post #2





Grupa: Moderatorzy
Postów: 8 989
Pomógł: 1550
Dołączył: 8.08.2008
Skąd: Słupsk/Gdańsk




SVG
Go to the top of the page
+Quote Post
bluebird
post
Post #3





Grupa: Zarejestrowani
Postów: 46
Pomógł: 0
Dołączył: 9.09.2009

Ostrzeżenie: (0%)
-----


a coś innego?
Go to the top of the page
+Quote Post
erix
post
Post #4





Grupa: Moderatorzy
Postów: 15 467
Pomógł: 1451
Dołączył: 25.04.2005
Skąd: Szczebrzeszyn/Rzeszów




canvas

Ale nad tym trochę napocisz.
Go to the top of the page
+Quote Post
bluebird
post
Post #5





Grupa: Zarejestrowani
Postów: 46
Pomógł: 0
Dołączył: 9.09.2009

Ostrzeżenie: (0%)
-----


znalazłem raphaela ale nie działa (IMG:style_emoticons/default/sad.gif)
CODE
<head>
<script src="raphael.js" language="javascript" type="text/javascript"></script>
</head>
<body>
<script>
// Each of the following examples create a canvas that is 320px wide by 200px high
// Canvas is created at the viewport?s 10,50 coordinate
var paper = Raphael(10, 50, 320, 200);
// Canvas is created at the top left corner of the #notepad element
// (or its top right corner in dir="rtl" elements)
var paper = Raphael(document.getElementById("notepad"), 320, 200);
// Same as above
var paper = Raphael("notepad", 320, 200);
// Image dump
var set = Raphael(["notepad", 320, 200, {
type: "rect",
x: 10,
y: 10,
width: 25,
height: 25,
stroke: "#f00"
}, {
type: "text",
x: 30,
y: 40,
text: "Dump"
}]);
</script>
</body>


wybrałem jakiś przykład i nie działa, czy o czymś zapomniałem?

Ten post edytował bluebird 13.09.2010, 16:25:05
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 25.08.2025 - 06:25