brynFlew 15 Junior Poster in Training

Hello everyone,
I want to create a completely round <div> using only HTML / CSS, but without border-radius.
I don't want use background images, because I'll have probles resizing them and that's not cool.
Is there a better solution?

Thanks in advance!

You can use the tutorial found on this page

http://dev-tips.com/demo/css3_circles.html

they make divs with spans into circles or

html5

http://hubpages.com/hub/HTML5-Tutorial-Drawing-Circles-and-Arcs

hope it helps.

RoyalElite96 commented: That's awesome! Thank you very much. +1
brynFlew 15 Junior Poster in Training

I have a table and need 2 rows merged horizontally, come somebody help me do this i seem to be having some difficulties. Here is my source and a screen attached. The green line in the image is where i want to split the cell. Thanks

<table id="dataTable" cellspacing="0" cellpadding="0" border="1" width="100%" style="text-align:center;">
<caption><span class="tableTitle"></span></caption>
<thead>
<%-- ~~titles~~ --%>
<tr>
	<th rowspan="3" colspan="1">---</th> 
	<th rowspan="3">Line</th> 
	<th rowspan="3">Work Area</th>  
    <th rowspan="3">Code</th>
    <th colspan="5" style="background-color:#E00000;width:30%;">Production</th>
    <th rowspan="3">Downtime Summary</th>
</tr>
<%-- ~~subtitles~~ --%>
<tr>
    <th colspan="1">PLN</th>
    <th colspan="1">ACT</th>
    <th colspan="1">VAR</th>
    <th colspan="1">D/T Mins</th>
    <th colspan="1">O/T Hrs</th>
</tr>
</thead>
<tbody>
<%-- ~~tableData~~ --%>
<tr>
    <th rowspan="1.5"><p class="sub0" style=""><input type="checkbox" id="line" name="chk" property="line" style="width:100%;border-style:none;"/></p></th>
    <td><p class="dataCell"><input type="text" id="line" name="line" property="line" value="<% form.getLine(); %>" autofocus="true" style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="workArea" name="workArea" property="workArea" value="<% form.getWorkArea(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell" colspan="2" rowspan="1"><input type="text" id="code" name="code" property="code" value="<% form.getCode(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="pln" name="pln" property="pln" value="<% form.getPln(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="act" name="act" property="act" value="<% form.getAct(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="var" name="var" property="var" value="<% form.getVar(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="downtime" name="downtime" property="downtime" value="<% form.getDowntime(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="overtime" name="overtime" property="overtime" value="<% form.getOvertime(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="summary" name="summary" property="summary" value="<% form.getSummary(); %>"style="width:100%;border-style:none;"/></p></td>
</tr>
</tbody>
</table>
brynFlew 15 Junior Poster in Training

Hello, im trying to convert an old vb project from 2008 to 2010. Ive tried using vb 2010's convert wizard aswell as changing the .sln file manually. When i try to convert the project automatically using the wizard it gives me an error saying that the project type is not supported. Does anybody know a solution to converting my 2008 project to 2010?

Thank You.

brynFlew 15 Junior Poster in Training

Well, i figured all i had to do was pass a wildcard or a * into the report and it would select all the records.

peter_budo commented: Thank you for sharing solution +16
brynFlew 15 Junior Poster in Training

I am trying to pass multiple values to a crystal report using java and jsp pages. I can get it working using single values but I need to pass multiple values that are comma delimited or something along that line. I pass a toDate a fromDate and userName. I need multiple userNames to be able to filter though by all the user names(works with jsut one user right now). I guess im not sure how the default crystal reports prompt saves multiple variables because i cannot mimic it.

example: (user1, user2, user3) instead of just (user1).

Thanks for your time.

From the search.jsp page i get values and send them to eReport.jsp to generate the report

String fromDate = request.getParameter( "fromDate" );
session.setAttribute( "fromDate", fromDate );
String toDate = request.getParameter( "toDate" );
session.setAttribute( "toDate", toDate );
String userName = request.getParameter( "user" );

From search.jsp it sends the values to the eReport.rpt
which just prepares the variables for generation.

//gets session variables
String startDate = (String)session.getAttribute("fromDate");										 				
String endDate = (String)session.getAttribute("toDate");
String userName = (String)session.getAttribute("userName");			

missing code....


	// fromDate
	    ParameterField parFromDate = new ParameterField();  
	    parFromDate.setReportName("");
	    parFromDate.setName("fromDate");
		Values valsFromDate = new Values();
		ParameterFieldDiscreteValue valFromDate = new ParameterFieldDiscreteValue();  
		valFromDate.setValue(fromDate);
		//valFromDate.setValue("2011-1-1");
		valsFromDate.add(valFromDate);
		parFromDate.setCurrentValues(valsFromDate);
	    fields.add(parFromDate);
	    //out.println("parFromDate: " + parFromDate.toString()); 


etc for all variables...

Picture to show what i am trying to accomplish

brynFlew 15 Junior Poster in Training

Hello, I have a barcode scanner and when a field is scanned it should autotab to the next field for population. I have tried this before but cannot seem to get it to work the way I would like. It should auto tab if the field in not null, i have tried this code but cannot seem to get it working unless it is using a fixed size. f3 works f2 doesn't Thanks.

function check2()
{
var work = document.getElementById("workArea"); 
var letters2 = document.inputData.workArea.value.length +1;
if ( letters2 == null )&&( letters2 == "")
{document.inputData.partNumber.focus()}
else
{document.inputData.workArea.focus()}
}

function check3()
{
var letters3 = document.inputData.partNumber.value.length +1;
if (letters3  <10)
{document.inputData.partNumber.focus()}
else
{document.inputData.quantity.focus()}
}
<%-- work area --%>
<p style="text-align:left;margin-top:-10px;">Part#:&nbsp;<input type="text" id="partNumber" name="partNumber" property="partNumber" onKeyUp="check2()" value='<%= form.getPartNumber() %>'/></p>
brynFlew 15 Junior Poster in Training

Hello, does anyone know a simple way to focus on a different text field after the user enters data in the first text field? Thanks.

brynFlew 15 Junior Poster in Training

Hello, does anybody know a simple way to strip the leading zeros out of a string?

I have tried

userName.replaceFirst("^0+(?!$)", "");

but cant seem to make it work, any ideas?

Thanks.


correction, this work..

userName = userName.replace("0", "");
brynFlew 15 Junior Poster in Training

Hello, Thank you for your time.

I know it is possible to create an exit button using javascript but this only work in ie browsers and not what i want(i found a fix for it but isnt very good), can somebody please show me a better way of closing all types of browsers(Chrome, Mozilla, Internet Explorer).

Thanks

brynFlew 15 Junior Poster in Training

hello, i was wondering if anyone could help me find a way to allow a user to click items in a combo box and have its value populate an input field.

Thanks

brynFlew 15 Junior Poster in Training

Hello,

I was wondering if it is possible to restrict the values of a text input box to only accept set values such as "XBC1". I am trying to make a form for a scanner so you can scan bar codes and it will auto fill the form out and have default values set so incorrect values cant be submitted into the database and mess everything up.

Another question i have is, is it possible to populate the input box with a java array.

Thank you for your time.