Topic: the quote-button doesn't seem to work in google's chrome. Pages that link to <a href="https://ozoneasylum.com/backlink?for=30591" title="Pages that link to Topic: the quote-button doesn&amp;#039;t seem to work in google&amp;#039;s chrome." rel="nofollow" >Topic: the quote-button doesn&#039;t seem to work in google&#039;s chrome.\

 
Author Thread
GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 10-08-2008 18:25 Edit Quote

just to let you know

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

IP logged posted posted 10-08-2008 18:45 Edit Quote

what's "the quote button" ??

Later,

C:\

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

IP logged posted posted 10-08-2008 18:56 Edit Quote

eigh....never mind. I gotcha The quote button right up there ^^

Later,

C:\

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

IP logged posted posted 10-08-2008 18:56 Edit Quote
quote:
"the quote button" ??

<-- that's "the quote button"

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 10-08-2008 21:56 Edit Quote

s/google's chrome/WebKit/

kuckus
Paranoid (IV) Mad Librarian

From: ber/ger
Insane since: Dec 2001

IP logged posted posted 10-09-2008 02:06 Edit Quote
quote:

GRUMBLE said:

just to let you know



thanks for caring

TP, could you put this bit of JS in place of the current quotePost() function just for fun?

code:
/* * *
 * Quote (part of) a post
 */

// Inspired by Emperor, http://www.the-emperor.org/
function quotePost(quoteID) {
  quoteAuthor = stripHTML(getObj("post_" + quoteID + "_author").innerHTML);
  quoteText = stripHTML(getObj("post_" + quoteID).innerHTML);

  // Get selection (if any)
  var userSelection;
  if (window.getSelection) { // Mozilla way
	userSelection = window.getSelection();
  }
  else if (document.selection) { // Microsoft way (should come last; Opera!)
	userSelection = document.selection.createRange();
  }
  var selectedText = userSelection;
  if (userSelection.text)
	selectedText = userSelection.text;

  // Check if the selection is part of the post
  if (selectedText && filterWhitespace(quoteText).indexOf(filterWhitespace(selectedText)) != -1) {
    quoteText = selectedText;
  }

  quoteText = trim(decodeHTMLEntities(quoteText));

  quoteUBB = "[quote]\n[b]" + quoteAuthor + " said:[/b]\n\n" + quoteText + "\n[/quote]\n";

  insertCode(quoteUBB);
}

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 10-09-2008 09:52 Edit Quote

changed to kuckus code - seems to break in opera though.
I'm sure he's investigating

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 10-19-2008 17:54 Edit Quote

Yeah, Quote doesn't work in Firefox now, either.

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 10-20-2008 11:51 Edit Quote

got another version for me kuckus? Or shall I revert to the old code for now?

Suho1004
Maniac (V) Mad Librarian

From: Seoul, Korea
Insane since: Apr 2002

IP logged posted posted 10-23-2008 03:03 Edit Quote

Can we please revert until we get something that works in FF and Opera?


___________________________
Suho: www.liminality.org | Cell 270 | Sig Rotator | the Fellowship of Sup

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 10-23-2008 05:36 Edit Quote

I'm glad you said it, Suho, so I didn't have to.

What's sad is none of the many of us that could easily handle this issue can apparently be arsed to.

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 10-23-2008 10:26 Edit Quote

Well, I've been waiting for kuckus to reply. Sorry, should have reverted sooner.

Can't login to the asylum's server right now though. No clue why - just doesn't like my password,
I guess. I'll have to check with the Doc.

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 10-27-2008 12:17 Edit Quote

all right, finally got access again - we're back to the original (working) quote code.

WebShaman
Lunatic (VI) Mad Scientist

From: The Happy Hunting Grounds...
Insane since: Mar 2001

IP logged posted posted 10-27-2008 14:42 Edit Quote

Thanks, TP!

WebShaman | The keenest sorrow (and greatest truth) is to recognize ourselves as the sole cause of all our adversities.
- Sophocles

kuckus
Paranoid (IV) Mad Librarian

From: ber/ger
Insane since: Dec 2001

IP logged posted posted 12-04-2008 00:29 Edit Quote

I'm sorry, totally forgot about this

Looks like i'll have to have another look at this soonish if noone else wants to help

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 08-07-2009 13:14 Edit Quote

any luck with this, kuckus?



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu