If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
RE:Resizing the "popup" window.  XML
Forum Index » Support Forum
Author Message
rluka
Beginner

Joined: 14/03/2003 04:53:30
Messages: 14
Offline

This should be easy but I can't change it. Do I have to edit the html code in /templates/popup/. I tried that and it doesn't work. The permissions are set to 666. Should this be changed?
Any help would be greatly appreciated...rluka
Anonymous



you have to edit the js-link

"<a href=\"javascript:void(window.open('$pollvars[base_url]/comments.php?action=send&id=$poll_id&template_set=$this->template_set','$poll_id','width=230,height=320,toolbar=no,statusbar=no'))\">".$this->pollvars['send_com']."</a>" : '';


it's on line 187 in class_poll.php
Anonymous



Thanks very much for your reply but that didn't work for me.
This is supposed to adjust the width and height of the popup window and not the size of the poll data window which is inside the popup window.
Anyway, thanks for bearing with me as there is a lot for me to learn.
I have checked a lot of previous posts regarding setting the permissions for the files and I was not successful. The class_poll.php attribute was set to 664. I cahnged it to 666 and it still didn't work. Then I changed it to 777
and that didn't work. Do the folder permissions also have to be set.
Where can I find info on setting file attributes?
If I register this poll do you know if the author gives out this information?
Thanks..rluka
Anonymous



Hi
The included code for resizing the popup window appears to be correct but doesn't work for me. Any ideas would be greatly appreciated

line 187 in class_poll.php
Anonymous



Try to add following attribute:
resizable=yes

It could look something like this
toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,width=100,height=100
Anonymous



Try to add following attribute:
resizable=yes

It could look something like this
toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,width=100,height=100
rluka
Beginner

Joined: 14/03/2003 04:53:30
Messages: 14
Offline

Thanks for responding
I added it to the code in class_poll.php and it still didn't make any difference. The pop_up window is still the same size. I can edit the file directly on my web server account so the change should be immediate.
Thanks for trying..did this work for you?
Anonymous



I've successfully changed the tabel size within the pop up via the Templates function in the admin panel, just click on popup from the drop down list, then click on the go icon, select view results and change the table width from Header
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum