Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8040 Posts in 1853 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: scrollbar help  (Read 250 times)
0 Members and 1 Guest are viewing this topic.
rev
New Member
*

Karma: 0
Offline Offline

Posts: 0

Pastor


WWW
« on: April 01, 2003, 12:46:00 PM »

Could someone please tell me hot to add a scrollbar to the script in the oldstyle calendar.  Here is the script for the original oldstyle


<STYLE>
A { text-decoration:none; }
A:hover { text-decoration:underline; }
.thinborder { border-color:#666666; border-style:solid; border-width:1px; }
</STYLE>
<SCRIPT LANGUAGE="JavaScript">
function showDetails(id) {
   var width=500;
   var height=500;
   var x = Math.round((screen.availWidth - width) / 2);
   var y = Math.round((screen.availHeight - height) / 2);
   var featureString = 'left='+x+',top='+y+',width='+width+',height='+height;
   var details = window.open('<%=$CGI_URL_QUERYSTRING%>popup=1&template=event_detail.html&event_id='+id, 'event_details', featureString);
   }
</SCRIPT>

I would like it to scroll when someone clicks on the event.

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 227

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: April 01, 2003, 02:36:00 PM »

Change

var featureString = 'left='+x+',top='+y+',width='+width+',height='+height;

to

var featureString = 'left='+x+',top='+y+',width='+width+',height='+height+',scrollbars=yes';

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: