|
I need a div to grow as the text size is increased for accessibility purposes. I got it working fairly well using IE7, but the page has 3-times the hits in IE6. The solutions I have discovered so far are using a percentage of a containing div for the width (ie width: 90%, where I want it to be at least 90% of the container - which pretty much works), and an invisible element that is the minimum width i need. That way the div can grow if need be, but the div will never get smaller than the invisible item. These ideas seem pretty hackish and I would rather have a clean solution (if its possible). I am interested to know if anyone has any better solutions.
Matt Newman
|
|
|
|
|
You can sometimes get by with something along the lines of width: expression(clientWidth < 200 ? 200 : 'auto');
Falls apart pretty easily, but in tightly-controlled scenario it can suffice.
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
|
|
|
|
|
Shog9 wrote: You can sometimes get by with something along the lines of width: expression(clientWidth < 200 ? 200 : 'auto');
Falls apart pretty easily, but in tightly-controlled scenario it can suffice.
Eeesh, Looks like there isn't a "good" solution to this problem... Stupid IE6
Matt Newman
|
|
|
|
|
How do I diable a function based on the status of a rollover image.
e.g.
If image element 1 is currently displaying rollImage1, then image element 2 will do nothing when mouseover occurs.
However, if image element 1 is currently displaying rollImage2, image element 2 is not effected.
I'm a JS noob, please be specific.
|
|
|
|
|
Thanks in advance for help with this, by the way
|
|
|
|
|
I have three textbox two for phoneNo One for email
and requirement is that user can fill either phoneNo or email
or both .and phoneNo also have RequiredField validations.
pls any one tell me how can i impliment this.
|
|
|
|
|
HaveYouHeardOfSpacingQuestionsOut?
What language do you want this in?
Brad
Australian
- bryce on "Problems with Code Project"
*sigh* Maunder's been coding again...
|
|
|
|
|
Can you describe more??
--------------------------------------------------------------------------------------------------
Hiral Shah
India
If you think that my answer is good enough and can be helpful for other then don't forget to vote.
|
|
|
|
|
hi all
I am developing application use ajaxcontroltoolkit
When i use control Accordion i saw some problem:
In tag <content> on this control contain control asp.net 2.0 lable hasn't value. In codebihe i assgin value for label on function Page_Load but have error
"Object reference not set to an instance of an object". when i try with any control of asp.net 2.0 and assgin value on function Page_Load so it still error
i dont understrand Some body show me away, how can i assgin value for control on Page_Load so use ajaxcontroltoolkit control Accordion
|
|
|
|
|
I'm using VisStudio 2005 Pro and wanted to be able to invoke
a modal popup from the code, instead of a button click.
Anyone here know how to do that? Was suggested that the
.SHOW method would do it, but it hasn't worked for me
in VB.NET
Any suggestions?
T.I.A
B.Griffin
|
|
|
|
|
Please review your knowledge of HTTP and the web - ie the codebehind runs on the server, a modal dialogue is on the client.....
|
|
|
|
|
that's true, but they aren't totally separate, they work together.
how do I execute a javascript from the code behind? If I can do that,
I can create a script that will popup the window.
Ideas?
Thx in advance.
|
|
|
|
|
You've got to output javascript to show another window...
|
|
|
|
|
YES!..you got it!..how do I do that?..see the answer to the
last persons response..you're on the right track..need to
execute a javascript from thecode behind. The script needs to
invoke the modal popup..
Ideas?
Thnx for helping..
|
|
|
|
|
Hello!
What is the greatest website you have ever seen, which shows using of Web 2.0 features?
Can you give me your tips?
Thanks!
Wojtek
|
|
|
|
|
|
|
After Web 1.9 and before web 2.1
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
|
Hi all
I am using Scripting.FileSystemObject activeX control, I am writing vbscript to print values on a paper. But when it is printing, its loaded only once, when I click any other button or the same button also, its not working and the activeX control is loaded only once in the browser.
Can anybody pls. tell me the reason why is it happening. And whats the remedy for this.
Is it a browser settings problem or any coding(vbscript) problem. Thank you.
Regards,
Aleem.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
I'm being driven mad trying to find a solution that something that should be deceptively simple
I have a small cgi script /cgi-bin/time.cgi that takes an optional "start" argument
The functionality should be like this
* When the script is called with the start param, it sets a variable to the current time
* Every subsequent call should display the difference from that time (and thus let me profile different SSI includes to work out which bits are slow and need optimising)
example profile test page:
<--#include virtual="/cgi-bin/time.cgi?start=1" -->
<--#set var="SOMEVAR" value="some value" -->
<--#include virtual="/header.shtml" -->
<--#exec cmd="/cgi-bin/time.cgi" -->
<--#include virtual="/cgi-bin/maincontent.cgi?$QUERY_STRING" -->
<--#include virtual="/cgi-bin/time.cgi" -->
<--#include virtual="/footer.shtml" -->
<--#include virtual="/cgi-bin/time.cgi" -->
My big problem comes with the "start" functionality - for the life of me I'm unable to set an ENV variable from within a cgi script and have it visible to the next script (vars set in SSI, such as SOMEVAR in the example can be seen within the cgi)
Any ideas?
Here's the perl code in time.cgi
#! /usr/bin/perl
use Time::HiRes;
use CGI;
my($cgiquery) = new CGI;
print "Content-type: text/html\n\n";
if( $cgiquery->param('start') )
{
print "<-- start -->\n";
$ENV{'PROFILE_TIME'} = Time::HiRes::time;
}
else
{
print "<-- continue -->\n";
}
my ($starttime) = $ENV{'PROFILE_TIME'};
print "<-- PROFILE: ";
print Time::HiRes::time - $starttime;
print " --> \n";
print "<-- starttime = $starttime -->\n";
|
|
|
|
|
I noticed how the tooltips in my page are cut off in Firefox. This means you can't read the full text.
The same is working fine with IE, but not working in Firefox.
Is there any solution to show whole Tooltip with Firefox ?
Thanks,
Nilesh Thakkar
|
|
|
|
|
Nilesh Thakkar wrote: Is there any solution to show whole Tooltip with Firefox ?
It's a bug in Firefox. Currently the only real solution is to use "fake" tooltips (of which there are scores of libraries written, do a search for javascript tooltip ). Or use something other than tooltips to convey such information.
Yeah, it's a serious annoyance.
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
|
|
|
|
|
|
Hi all,
I am developing one web page called Whiteboard where i need to assign jobs to the employees by dragging and dropping employees to the particular job using AJAX. Everything(Jobs and Employees) will be fetched from the database.
So i need to fetch each and every employee from the database and make it draggable and droppable so that i could drag and drop particular employee to the particular job.
So please reply to this post and let me know how could i achieve this in ASP.NET with the use of AJAX?
Thanks in advance.
|
|
|
|