This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes scroll bar down Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "scroll bar down" Watch "scroll bar down" New topic

scroll bar down

Jhelu diwaker

Joined: Feb 02, 2010
Posts: 3

Dear All,

We have to scroll the day tab of the first file tab once the meeting of the day has to present . I get the meeting with default scroll that is up but I have to provide the default down scroll. please help.

first file

second file some jsp
<%@page import="java.util.Date,java.util.Calendar,java.util.GregorianCalendar,java.text.SimpleDateFormat,
<jsp:useBean id="gns" scope="session" class="com.tgnt.Session"/><%@include file="util.jsp" %>
<%@ taglib prefix="c" uri="" %><%
String view = request.getParameter("view"), str_date = request.getParameter("date");
SimpleDateFormat df1 = new SimpleDateFormat("EEE, MMM d, yy"), df2 = new SimpleDateFormat("yyyy-MM-dd%");
long mile_sec = Long.parseLong(str_date);
Calendar cur_date_cal = new GregorianCalendar(); cur_date_cal.setTimeInMillis(mile_sec);

DAO dao = new DAO();
ArrayList dayEvent = new ArrayList(), timeEvent = new ArrayList();

String[] queries = {"select * from gMeeting where meetingDate like ? order by meetingDate"};
ArrayList paramList= new ArrayList();
ArrayList results = new ArrayList(), gMeeting = new ArrayList();
results = dao.executeQueries(queries, paramList);
gMeeting = getTimeEvent(1, cur_date_cal.getTime(), meetingToCalendar(results.get(0)==null?new ArrayList():
if(!gMeeting.isEmpty()) addTimeEvent(timeEvent, gMeeting);
request.setAttribute("curDateFormat", df1.format(cur_date_cal.getTime()));
request.setAttribute("dayEvent", dayEvent);
request.setAttribute("timeEvents", timeEvent);
}catch(Exception e){
GlobalException ge = new GlobalException(e);
<div class="calenderTaskObjact">
<div class="calenderDayRt"><cut value="${curDateFormat}"/></div>
<div class="calendDaytopRt">
<c:forEach items="${dayEvent}" var="day">
<div class="icons_outer" title="<cut value="${day.title}"/>">
<img class="left" alt="" src="<cut value="${day.url}"/>"/>
<span class="desc"><cut value="${day.title}"/></span>
<div class="calendDayHold">

<c:forEach items="${timeEvents}" var="time">
<div class="calendWeekWork">
<div class="calendWeekWorkT"><a name="<cut value="${time.time}"/>">
<div class="calendWeekWorkTL">
<div class="calendWeekWorkTLBorder">
<cut value="${time.time}"/>
<div class="calendDayWorkTR">
<c:when test="${!empty time.event}">
<c:forEach items="${time.event}" var="events">
<c:when test="${!empty events}">
<div class="multipopup">
<ul><c:forEach items="${events}" var="event">
<li onclick="javascript:SPW('<cut value="${event.type}"/>','<cut value="${}"/>');"
class="mus-ovr" style="background-color:#bfb893; font-weight:bold;cursor:pointer;">
<cut value="${event.title} - ${}"/>
<p style="background-color:#f4eece;min-height:5px;padding:0px;font-weight:normal;">
<cut value="${event.notes}"/></p>
<ctherwise><div class="calendDayWorkTRBlok"></div></ctherwise>
<ctherwise><div class="calendDayWorkTRBlok"></div></ctherwise>
David Newton

Joined: Sep 29, 2008
Posts: 12617

As requested before: please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read. You can edit your post by using the button. Thanks!
David Newton

Joined: Sep 29, 2008
Posts: 12617

You've just posted dozens of lines of code and the text "scroll bar down".

What's the question?
I agree. Here's the link:
subject: scroll bar down