Hey guys,
I'm trying to make a scrollable table as follows:
table is inside a div that is scrollable, both horiz and vert
above that div is another div, containing the table headers.
As the user scrolls the main div horizontally, the headers should move accordingly.
http://www.ruimtemaker .nl/test/index.html
It does work as i wanted now, only thing is the alignment of the two table...
User Profile
Collapse
-
characters like ( é è ç ) in XML
Quickie: is the XML below valid?
<?xml version="1.0" encoding="UTF-8"?>
<elem>
é è ç
</elem>
Or should the element body be in a CDATA block?
... or should i use some &thingie; for those chars...
I have no idea.
Thanks -
Commons codec might be a useful package to look at...
http://jakarta.apache. org/commons/codec/ -
Change
{$adoCon->Execute
To
try {
$adoCon->Execute
a try cant exist without a catch and vice versa.Leave a comment:
-
Maybe i should have read all of your error :)
Something's wrong in your query too...Leave a comment:
-
The problem is that you do some tasks, which one might call risky or unstable... Like database connections: the connection might be refused, the credentials might be wrong, whatever...
Instead of letting an application just crash when something goes wrong, we want to "catch" the error, and act accordingly (displaying an error message, log the error, whatever...). Usually that is achieved by something called a try/catch block. ...Leave a comment:
-
Missed something :)
...Code:public boolean isPasswordOk( String password1, String password2 ) { if(!password1.equals(password2)) return false; if(password1.length() < 6 || password1.length() > 10 ) return false; char[] c = password1.toCharArray(); boolean numericOk = false; boolean letterOk = false; for(int i=0;i<c.length;i++) {Leave a comment:
-
Notepad work, not tested at all...
Using regular expressions might (and most likely will) be a more elegant solution...
Call the method below with the two passwords entered by the user...
...Code:public boolean isPasswordOk( String password1, String password2 ) { if(!password1.equals(password2)) return false; if(password1.length() < 6 || password1.length() > 10 ) returnLeave a comment:
-
How about this? (removed the last line with adocon... that made little sense)
[PHP]
<?php
// creates a new connection object
$adoCon = new COM("ADODB.Conn ection");
// opens the connection using a standard Access connection string
$adoCon->Open("Provider =Microsoft.Jet. OLEDB.4.0; Data Source=\wamp\ww w\PRU.mdb");
$adoCon->Execute(
"INSERT...Leave a comment:
-
Using the value attribute in a file input is not widely supported... Some browsers do support it, most don't (due to obvious security reasons)
See article below:
From: http://www.cs.tut.fi/~jkorpela/forms/file.html#value...Leave a comment:
-
Proper XML or not...
Quick question...
At work, we do business with a third party. They 'deliver' XML to us over HTML, which is parsed and processed by a servlet.
I suspect some of the delivered XML is malformed. However, i'm not the typical XML guru, so i'm not if i should be as mad at that third party as i'd like to be :)
The issue: (element names/values are changed ;) )
1) <ELEMENT> </ELEMENT>... -
DIV Layout driving me mad...
Hey there,
I'm having trouble with an (at first sight) easy layout:
Basic layout: 3 rows:
- top bar (fixed height)
- middle frame (max height between bars)
- bottom bar (fixed height)
In the middle frame, there should be a 4 column layout:
From left to right:
- menu col (fixed width)
- menu border (fixed width)
- main content (max width)
- right border...
No activity results to display
Show More
Leave a comment: