have the following css to put a top bar menu on the page
but cant get the menu to center in the page
it uses 140px in this line
padding:5px 5px 0 140px;
...to start the menu 140pixels from left - but i want the menu to center in the page - have tried float:center all over the place but doesnt...
Hi,
have the following code which makes two lists
a list for holtypeid =1 and a list for holtypeid =2.
i dont want two rs, so i goto the first record for
the second list using rs.movefirst so the loop starts again - which is fine as long as there are records for holtypeid =1 or 2 , else i get...
ok have written some script that changes
standard UK date format dd/mm/yyyy to mysql query
format yyyymmdd
whenstart =date()
motdaynumsql = day(whenstart)
motmonthsql = month(whenstart)
motyearsql = year(whenstart)
'sql start
daysql = motdaynumsql
if daysql < 10 then
daysql = "0" & daysql...
hi,
am having trouble getting my asp page to display correctly.
i am also new to nested tables in sql so need your help.
if i use this query
SQL ="SELECT cus.lname, CC.reg, CB.bookst, CB.bookend, CC.carid, CB.courtcarbookid, tran.trandesc, CC.model "_
& "FROM courtcar AS CC "_
& "LEFT...
have an onclick event for my image
onclick= "if (ew_confirm('Are You Sure?')) {this.form.action='custaddcourtcars.asp';this.form.submit();this.form.a.value='D'};"
function ew_confirm(msg)
{
var agree=confirm(msg);
if (agree)
return true ;
else {
return false ;
}
}
can someone tell...
hi,
a user has deleted a file from a shared folder on
a client comuter.
the shared folder had full permission
the file is not in either the host or client recycle bin - where, if anywhere, do files go?
or is it lost for good
hi,
on my page is a list of items a user can choose
by way of tick boxes.
when someone ticks a box i would like the number of hours available to them to deacrease by the hours next to the tick box item.
am new to javascript - do i need to put values in hidden
form elements to send to the...
hi i use the following in the head of my page to refresh
the page frequently
<meta http-equiv="refresh" content="10" URL="mfit3.asp";>
however when the page is refreshed it loses the date the page was on - so i need to adjust the url to include the date querystring
have tried
<meta...
have a loop that lists days of week
and writes cutomers name if the day equals
booking start date or booking end date
this is done using case statement
however i want the days between the start and end date to
be filled with the customers name but am stuck
courtdate = dd/mm/yyyy
books/end =...
hi have the following sql which works ok
i need to sum stdtime to give a total for each group
that is a sum for
mot.bayid = 1 AND mot.baytypeid =1
and a sum for
mot.bayid = 2 AND mot.baytypeid =1
etc...
i also need a total sum for the above sums?
motsql1 = "SELECT mot.mott, car.carid...
hi - this is more a logic issue than a programing one
it follows from my post yesterday thread333-1260817 whereby a link is written to the page if a value is higher than 0.
now this link is in a recordset loop and the total is worked out after the loop is completed so i am stuck.
i dont now...
hi,
have the following link to a page
<a href=<%Response.Write "custaddmot.asp?motdate=" & Server.URLEncode(motdate) & "&motid=" & Server.URLEncode(x_motid)%> target="_blank" onClick="
window.open(this.href, this.target, 'height=500,width=480,status=no,resizable=no,scrollbars=no');
return...
hi need help with this query,
have a list of times for a booking system
i want a query that lists times that are available for a
certain date.
It needs to look at the bookings table and not display
times that have a booking related to them
tables:
times
timeid time
1 9:00
2 10:00...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.