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


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: customizing popup box  (Read 307 times)
0 Members and 1 Guest are viewing this topic.
Sheila Hoffman
New Member
*

Karma: 0
Offline Offline

Posts: 0

graphic designer


WWW
« on: February 06, 2003, 07:32:00 PM »

My upgraded calendar has finally gone live at: http://www.eastsidearts.org/cgi-bin/calendar.pl

One of the users is complaining that he has his system setup at 800x600 with large fonts and he can't see everything in the popup box for an event and that there are no scroll bars. (aside: I thought large fonts were used with especially high resolutions, this seemed like an unusual configuration to me)

I'm not really sure what to do about this. I imagine I need to edit one or more of the templates, but what changes are needed? I'm a novice. I don't know how to impact the size of the box or if it has scroll bars.

Any guidance greatly appreciated. Thanks.

Sheila

Logged

Sheila Hoffman
Newsletters & More
Fast, Affordable, Effective
Full-Service Web & Print Design in Seattle
www.newslettersandmore.net

DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #1 on: February 06, 2003, 09:40:00 PM »

The code responsible for the Event View popup is:

<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('http://www.wwwroot4.net/~eac/cgi-bin/calendar.pl?popup=1&template=event_detail.html&event_id='+id, 'event_details', featureString);
   }
</SCRIPT>

I don't know what template it is in as you look to be using  the Old Style templates which I'm not familiar with. You can change the popup size in that code and/or add the scroll bars options to the featureString variable.

Dan O.

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

[This message has been edited by DanO (edited February 06, 2003).]

Logged
Sheila Hoffman
New Member
*

Karma: 0
Offline Offline

Posts: 0

graphic designer


WWW
« Reply #2 on: February 07, 2003, 09:46:00 AM »

Thanks. I've changed the window size to 800x600. That should shut him up! Appreciate the directions.

Sheila

------------------
Sheila Hoffman
Newsletters & More
Fast, Affordable, Effective
Full-Service Web & Print Design in Seattle
www.newslettersandmore.net

Logged

Sheila Hoffman
Newsletters & More
Fast, Affordable, Effective
Full-Service Web & Print Design in Seattle
www.newslettersandmore.net

Pages: [1]   Go Up
Print
Jump to: