473,394 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Display textarea with rotation or angular textarea

Coldfire
289 100+
I was wondering if its possible to get text in the textarea, on some webpage, and show it with some rotation like 45 degree angle, like a signature at the bottom.

one way is to save the textarea as image and show it with rotation...if there is anyother idea u have than please share

regards,

Coldfire
Apr 15 '09 #1
5 4682
drhowarddrfine
7,435 Expert 4TB
No. .
Apr 15 '09 #2
Coldfire
289 100+
in html 5, there are tags like

draggable

and events like ondrag, ondrop, onresize


if you drag and drop,,but translate it like

e.g. your element was on 0,0 and dropped at 0,10, translate it like a 90degree anticlockwise rotation. but for actual rotation of that element, maybe one needs to display the text in a new 2Dcanvas and rotate using its function of

rotate(angle)// ...which is actually multiplying the canvas2d matrix to the rotation matirx

FF is still in the process of integrating the html5 standard in the browser which will support all new html5 features (interested people can still use html5 stuff by checking out the firefox source)

i dont know any scripts presently to play with html5 but things would be more clear after some time....
:D

regards,

Coldfire
Apr 15 '09 #3
drhowarddrfine
7,435 Expert 4TB
Coldfire, are you answering your own question?

Most of the things you mentioned are CSS3 properties and not HTML5. If you get into <canvas> then you are no longer talking about textarea either and you'll need some javascript to work with that.
Apr 15 '09 #4
Coldfire
289 100+
@drhowarddrfine
not exactly. I wanted to have some discussion about it and for this i just searched about this question and struck with the HTML5 features....maybe they have something to offer...but still if there is something new and interesting which is unimplemented than we should have a healthy discussion about it..
:D

and how come these are css3 properties...i looked into the html5 features as the link shows in my above post..still looking for answers/comments !
Apr 15 '09 #5
drhowarddrfine
7,435 Expert 4TB
I saw the rotation stuff, along with your textarea question, and wasn't thinking about HTML5's "events". Some of the things you are looking to do are in CSS3, though.

Yes, HTML5 is moving right along. My personal page is HTML5 right now. It looks fine in FF3.05+ and Safari but a little screwy in other browsers. I was rewriting one of my ecommerce sites and tried to do the same thing but it's just not ready for that type of production yet.

Microsoft has already screwed up IE8 by returning incorrect values for some HTML5 events. Their DOM implementation is all screwed up anyway so it doesn't matter. It will never fit in.
Apr 15 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

21
by: M. Clift | last post by:
Hi All, Could someone help me out with this? items = ('a', 'b', 'c', 'd') items + 1 = ( 'b', 'c', 'd', 'a') items + 2 = ( 'c', 'd', 'a', 'b') items + 3 = ( 'd', 'a', 'b', 'c') trans = 1
14
by: JStrauss | last post by:
Hello, Can anybody give me some tips on the best and/or easiest way to display multiple lines in a field. The data is collected from a "textarea" field when the form is submitted, and I want to...
5
by: Richard | last post by:
I am filling a TEXTAREA with text and links from a database. I need to display the <a href....> code in the TEXTAREA as a clickable link with _blank targetting. I realise I could simply use a TD...
19
by: dmiller23462 | last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript but my end result is I need two text boxes to stay hidden until a particular option is selected....I've cobbled together the...
6
by: tony wong | last post by:
i wish to count number of characters in textarea box during typing in and display it somewhere in html page. so the number will increase during writing. is it possible to do it by javascript? ...
2
by: Jake Barnes | last post by:
Imagine I've this block of HTML: <p>Alex Schein Mailing List <input type="checkbox" name="newslettersToUse" value="133156"> (<a href="mcControlPanel.php"...
3
by: Mark Szlazak | last post by:
The following page simulates a pool cue and cue ball: http://members.aol.com/myscript/cue.html Mouse cursor position around the cue ball determines where a roll-over of 179 pool cue images is...
5
by: Russell Warren | last post by:
Does anyone have an easier/faster/better way of popping from the middle of a deque than this? class mydeque(deque): def popmiddle(self, pos): self.rotate(-pos) ret = self.popleft()...
1
by: lihao0129 | last post by:
The scenario is a RTF(Rich Text Format) editor where I can input text and meanwhile display 'style'd text or multimedia( i.e bold fonts, pictures, movies ) in the same box... I am currently...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.