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 
about the javascript of the "leave your comment" b  XML
Forum Index » Support Forum
Author Message
Anonymous



about the javascript of the "leave your comment" button in poll result:
<a href="javascript:void(window.open('/poll/comments.php?action=send&amp;id=4&amp;template_set=default','4','width=230,height=320,toolbar=no,statusbar=no'))">
I want to change the width and height of the comment box.
where can I change it?
Thanks for help~
Anonymous



In the "Addentry.html" file, change the box size here:

<textarea name="message" cols="40" rows="9" wrap="VIRTUAL"></textarea>

The cols="40" is the width, and the rows="9" is the height.

http://www.billwilliams.org/[/url]
Anonymous



sorry,my problem is for "Advanced poll Version 2.03"
I can't find the "Addentry.html" file.
Where can I change it?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4281
Location: Bristol, UK
Offline

The window size or the size of the input box in the window that opens?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



I have changed the size of the input box.
But when I use the IE, the window pop up is to small.
How can I change it?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4281
Location: Bristol, UK
Offline

but I could't say what file thats in.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
shachi
Newbie

Joined: 27/04/2006 10:02:38
Messages: 4
Offline

you should change the :

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

line in the file class_poll.php
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum