Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: AJAX replacement for voting buttons

by McDarren (Abbot)
on Jan 03, 2007 at 02:04 UTC ( #592686=note: print w/replies, xml ) Need Help??


in reply to AJAX replacement for voting buttons

After installing this, I've found that I can no no longer see anything within <code>tags. All I see are the code "blocks" with no content. Here is a screenshot in case you're not sure what I mean.

Using Firefox 2.0 on WinXP.

Cheers,
Darren

Replies are listed 'Best First'.
Re^2: AJAX replacement for voting buttons
by ikegami (Patriarch) on Jan 03, 2007 at 04:53 UTC

    TT elements are being stripped in an attempt to remove the existing ++ and -- text, but TT elements are also used for code tags.

    It's just a question of fixing the XPath query. "//tt" needs to be replaced. I think "//div[@class='vote']//tt" will do the trick.

      Yes, I had started noting that peculiar behaviour. I have updated the script with your new XPath query. Thanks.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://592686]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2022-08-09 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?