HighDots Forums  

glowing input boxes

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss glowing input boxes in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Simonbullen
 
Posts: n/a

Default glowing input boxes - 11-09-2005 , 08:53 AM






Hi, does anybody know how I achieve the glowing effect on form input boxes? as with the macromedia ones when you log in

many thanks in advance

Reply With Quote
  #2  
Old   
Holland87
 
Posts: n/a

Default Re: glowing input boxes - 11-09-2005 , 10:14 AM






Simonbullen wrote:
Quote:
Hi, does anybody know how I achieve the glowing effect on form input boxes?

Well, Macromedia uses a flash header; however, this can be achieved without
flash. Define in your CSS something like this:

.textbox {
border: 1px solid #999999;
}
.textbox:focus {
border: 1px solid #35AE43;
}

When you insert the box:

<input type="whatever" class="textbox">


This will display the border color of "focus" when the user tabs or clicks
into the box.

Hope this helps.



------
Shane H
http://www.deceptivemagic.com



Reply With Quote
  #3  
Old   
Simonbullen
 
Posts: n/a

Default Re: glowing input boxes - 11-09-2005 , 10:19 AM



thanks,

have done that but nothing seems to happen.... the border is applied, but it doesn't change upon tab or type...

Reply With Quote
  #4  
Old   
Holland87
 
Posts: n/a

Default Re: glowing input boxes - 11-09-2005 , 01:37 PM



Simonbullen wrote:
Quote:
the border is applied, but it doesn't change upon tab or type...

Then you're not doing something right. I use this technique on my site: http://www.deceptivemagic.com


Reply With Quote
  #5  
Old   
Mack879w
 
Posts: n/a

Default Re: glowing input boxes - 11-09-2005 , 01:47 PM



I just tried it on 2 different machines and I can't get it to work in IE 6 sp2. Though it works in FF 1.5.

Reply With Quote
  #6  
Old   
Holland87
 
Posts: n/a

Default Re: glowing input boxes - 11-09-2005 , 01:58 PM



Mack879w wrote:
Quote:
I just tried it on 2 different machines and I can't get it to work in IE 6
sp2. Though it works in FF 1.5.


Yep, I know...it never has worked in IE.


------
Shane H
http://www.deceptivemagic.com



Reply With Quote
  #7  
Old   
Les Matthews
 
Posts: n/a

Default Re: glowing input boxes - 11-09-2005 , 03:30 PM



I doubt you will achieve a purely-CSS solution that works cross browser. IE
does not fully support CSS2 - that's why it doesn't work with that browser.
You can see a similar difference by browser on one of my pages
(http://www.introscout.com/requestDemo.asp). When using FF, you will see
that background color of the form elements change when they become active,
but there is no change in IE.

I think to replicate the effect on MM's site across all browsers, you must
do what they did - use Flash.

"Holland87" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Mack879w wrote:
I just tried it on 2 different machines and I can't get it to work in IE
6
sp2. Though it works in FF 1.5.


Yep, I know...it never has worked in IE.


------
Shane H
http://www.deceptivemagic.com




Reply With Quote
  #8  
Old   
Simonbullen
 
Posts: n/a

Default Re: glowing input boxes - 11-10-2005 , 03:07 AM



That'd be why then, I'm on IE, perhaps I should have stated that in my initial post, sorry about that

Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.