Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Creating custom textboxes and UI elements

Reply
Thread Tools

Creating custom textboxes and UI elements

 
 
Simon Harvey
Guest
Posts: n/a
 
      08-06-2003
Hi,

I've seen a couple of sites that have changed the look and feel of their
textfields and I was wondering if anyone knew how that was done. I'm hoping
its easy to do simple stuff, because simple changes can still be quite
effective

Also, is it possible to make new web components for the UI - say, a table
element (just off the top of my head)
If so, how would that be done?

Thanks everyone.

This board is a great resource! Well done and thanks again

Simon


 
Reply With Quote
 
 
 
 
Adrienne
Guest
Posts: n/a
 
      08-06-2003
Gazing into my crystal ball I observed "Simon Harvey"
<sh856531@microsofts_free_emal_service.com> writing in
news:Cf8Ya.54519$:

> Hi,
>
> I've seen a couple of sites that have changed the look and feel of
> their textfields and I was wondering if anyone knew how that was done.
> I'm hoping its easy to do simple stuff, because simple changes can
> still be quite effective


You need to read up on CSS. Try http://www.w3schools.com/css/default.asp

>
> Also, is it possible to make new web components for the UI - say, a
> table element (just off the top of my head)
> If so, how would that be done?


I'm not sure exactly what you mean by new components for the UI, but I am
thinking no. There are things that you can do server side with components,
but not really client side. Browsers are looking for established elements
and will most likely ignore elements that do not exist, unless you are
writing for a particular browser in an intranet situation, where you know
the user is always going to have the same UA.

>
> Thanks everyone.
>
> This board is a great resource! Well done and thanks again
>
> Simon
>
>




--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
 
Reply With Quote
 
 
 
 
Neil White
Guest
Posts: n/a
 
      08-06-2003
"Simon Harvey" <sh856531@microsofts_free_emal_service.com> wrote in message
news:Cf8Ya.54519$...
> Hi,


Hi Simon,

> I've seen a couple of sites that have changed the look and feel of their
> textfields and I was wondering if anyone knew how that was done. I'm

hoping
> its easy to do simple stuff, because simple changes can still be quite
> effective


CSS is the way...

Try this:
<html>
<head>
<style type=text/css>
textarea {background: #FF0000; color: #0000FF;}
</style>
</head>
<body>
<form><textarea rows="4" columns="25"></textarea></form>
</body></html>

I wouldn't recommend using those _actual_ colours. But, of course, you know,
design's a personal thing. Sorry, I can't help with the other thing, but
I'm not completely sure that I understand what you're looking for anyway.

Best regards
Neil


 
Reply With Quote
 
Simon Harvey
Guest
Posts: n/a
 
      08-06-2003
Hi guys,

Thanks for that

What I'm meaning with regards to new components is, well, how do people make
treeview controls? How do people make custom graphics viewers or components
that let you move around a map and zoom in and out etc?

It just seems that some people seem to be able to make their own tools and
somehow get them into the page so that anyone can use them. I'm just
wondering how its done. I thinks its ActiveX in many instances, but I can't
be bothered with that - it looks quite crappy how you create those controls.
I just had a hunch that maybe there was another way to extend browser
functionality.

Here's another example. On the Microsoft Update site - it scans your
computer and tells you what upgrades you need. That fine, but when you
select an update, there is a little effect that makes the text of that
update zoom off to the top right of the page and merge into an update
counter. Its quite cool really. Sorry if thats not clear. Its kinda hard to
explain.

Thanks very much for your help

Simon


 
Reply With Quote
 
Chris Morris
Guest
Posts: n/a
 
      08-06-2003
"Simon Harvey" <sh856531@microsofts_free_emal_service.com> writes:
> I've seen a couple of sites that have changed the look and feel of their
> textfields and I was wondering if anyone knew how that was done. I'm hoping
> its easy to do simple stuff, because simple changes can still be quite
> effective


CSS. Some browsers support it, some don't, some only support it for
some form controls. Netscape 4 I've seen break the form control
entirely if you try, on a few occasions, so best to hide the CSS from
it using any of the standard tricks.

> Also, is it possible to make new web components for the UI - say, a table
> element (just off the top of my head)
> If so, how would that be done?


I'm assuming this is a Dreamweaver-specific question, given the
crosspost. If not, then I'm not sure I understand what you're trying
to do - could you give a more detailed example.

--
Chris
 
Reply With Quote
 
Paul Taylor
Guest
Posts: n/a
 
      08-06-2003
On Wed, 6 Aug 2003 15:30:14 +0100, "Simon Harvey"
<sh856531@microsofts_free_emal_service.com> wrote:

>Hi,
>
>I've seen a couple of sites that have changed the look and feel of their
>textfields and I was wondering if anyone knew how that was done. I'm hoping
>its easy to do simple stuff, because simple changes can still be quite
>effective
>
>Also, is it possible to make new web components for the UI - say, a table
>element (just off the top of my head)
>If so, how would that be done?
>
>Thanks everyone.
>
>This board is a great resource! Well done and thanks again
>
>Simon
>


you can change the properties of textfields, by giving them an id,
then altering them by CSS.


Paul Taylor
 
Reply With Quote
 
Chris Morris
Guest
Posts: n/a
 
      08-07-2003
"Simon Harvey" <sh856531@microsofts_free_emal_service.com> writes:
> What I'm meaning with regards to new components is, well, how do people make
> treeview controls? How do people make custom graphics viewers or components
> that let you move around a map and zoom in and out etc?


Java, ActiveX or Flash, most of the time. Though treeview and map
display could both be handled through some sort of server-side
process, if the interface was well thought out.

Obviously if any of the first three are used there needs to be a
well-implemented alternative for browsers without those technologies.

> It just seems that some people seem to be able to make their own tools and
> somehow get them into the page so that anyone can use them. I'm just
> wondering how its done. I thinks its ActiveX in many instances, but I can't
> be bothered with that - it looks quite crappy how you create those controls.
> I just had a hunch that maybe there was another way to extend browser
> functionality.


Not with HTML. It's possible with various plugin technologies, but
you have to be prepared for times they're not available. Tightly
controlled intranets are sometimes an exception to this.

PS. Could you include some context from the message you are replying
to in future, it makes things easier to follow. Thanks

--
Chris
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating araays as unbounded elements instead of "ArrayOf" elements John Harvey ASP .Net Web Services 0 01-09-2006 06:02 PM
"Error Creating Control" when creating a custom control (Design Time). Can't see tooltip message. Ravi Ambros Wallau ASP .Net 0 06-01-2005 02:36 PM
How to use custom validators for dynamically genrated textboxes Charith Jayasundara via .NET 247 ASP .Net 2 03-23-2005 01:51 PM
Need help creating a custom Gallery template in Adobe Elements v3 Joe Digital Photography 0 01-27-2005 06:18 PM
dynamically creating textboxes based on sql records Tony ASP .Net 5 06-27-2004 08:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57