|
Post by rhondairv on Jun 29, 2010 18:44:26 GMT -8
I saw this on a forum and thought it was too cool. It's an idea for you and i would use it if thought so and decided to make it. lol Laying your mouse on your post gives you a message to double click to edit. Then double clicking opens up inside that post on the same page quickly. It's nice to open it up right there and then update. No loading another page and all the posts on that page is right there above.
|
|
|
Post by Wormopolis on Jun 29, 2010 21:21:16 GMT -8
Wrighty wrote something similar.. I will see if I can find it.
|
|
|
Post by rhondairv on Jun 29, 2010 22:35:21 GMT -8
oh cool, thank you
|
|
|
Post by Wormopolis on Jul 1, 2010 22:32:35 GMT -8
I found it, but Wright put a "do not claim: thing on it, so I have to wait until he says its cool to redistribute.
|
|
|
Post by rhondairv on Jul 2, 2010 6:54:55 GMT -8
oh ok... i know i looked everywhere for the darn thing. All the sites i know of and googled. lol Maybe he will be kind and share. If not i understand. If he has a site maybe he wants it just special for his site or made for another. Totally understandable. Thanks wormo. I'll be watching incase he ok's it.
|
|
|
Post by Wormopolis on Jul 2, 2010 15:05:39 GMT -8
He sent me a PM saying I could post it. I need to clean it up a little (was running bug fix stuff on it), and add in the little thing that says you can edit on doubleclick, and repost it here.
|
|
|
Post by rhondairv on Jul 2, 2010 22:22:10 GMT -8
awesome!!!! wohooooooooooooooooooo TY Wrighty ans Wormo!
|
|
|
Post by Silly Test Account on Jul 3, 2010 0:31:29 GMT -8
testing
|
|
|
Post by Wormopolis on Jul 3, 2010 0:34:49 GMT -8
global footer:
<script type="text/javascript"> <!-- // Double click on post code /*Double Click to Modify Post Original code Created By Wrighty Do Not: Rip, Repost or Claim*/ // extensive mods by Wormopolis
//eventhandler addition found on web by Andy Smith // http://weblogs.asp.net/asmith/archive/2003/10/06/30744.aspx
// NO NEED TO EDIT ANYTHING
function XBrowserAddHandler(target,eventName,handlerName) { if ( target.addEventListener ) { target.addEventListener(eventName, function(e){target[handlerName](e);}, false); } else if ( target.attachEvent ) { target.attachEvent("on" + eventName, function(e){target[handlerName](e);}); } else { var originalHandler = target["on" + eventName]; if ( originalHandler ) { target["on" + eventName] = function(e){originalHandler(e);target[handlerName](e);}; } else { target["on" + eventName] = target[handlerName]; } } }
if(location.href.match(/action=(display|(user)?recent|view|search2)/)){
function editPost(e) { location.href=this.changeIT; //alert(this.changeIT); }
var d = document.getElementsByTagName('td'); for(a = 0; a < d.length; a ++){ if(d[a].width=='80%' && d[a].className.match(/windowbg/) && d[a].vAlign== 'top'){ postPart=d[a].firstChild.rows[1]; postPart.style.height='100%'; chkformodbtn=d[a].firstChild.rows[0].cells[2].firstChild; ls=''; for (btns=chkformodbtn.getElementsByTagName('a'), b=0; b<btns.length; b++) { if (btns[b] && btns[b].href.match(/modifypost/)) { ls=btns[b].href; break; } } if (ls) { postPart.changeIT=ls; postPart.dblClickHandler=editPost; postPart.title="double click to edit"; XBrowserAddHandler(postPart, "dblclick", "dblClickHandler"); } } }
} // --> </script>
|
|
|
Post by rhondairv on Jul 3, 2010 8:06:41 GMT -8
so this one, you double click and it opens the edit.. anyway to tweak it and make it open right in post to edit?
|
|
|
Post by Wormopolis on Jul 3, 2010 14:34:33 GMT -8
not possible. submission to the server has to be done from the modifypost page.
its running in this thread right now. you should see the little caption popup. you will only be able to modify YOUR posts in the thread however, since you cant modify MY posts.
|
|
|
Post by rhondairv on Jul 3, 2010 16:05:18 GMT -8
gotcha thanks wormo
|
|