Current time: 07-30-2014, 09:15 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
02-04-2012, 06:50 PM (This post was last modified: 02-04-2012 06:51 PM by tbint.)
Post: #1
I could use a little help figuring postbit_edit button out. My attempt has failed. I want to use <input type="button". I can get it to go to the editor but not the pop up menu.

<input type="button" value="Edit" onClick="window.location.href='editpost.php?pid={$post['pid']}';" />
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>
<script type="text/javascript">
// <!--
    if(use_xmlhttprequest == "1")
        new PopupMenu("edit_post_{$post['pid']}");
// -->

I am planning to do the same for multiquote but I can not remember what js file its in.

Unemployed and going style editing!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication